carnival 0.0.44 → 0.0.45

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. data/app/controllers/carnival/base_admin_controller.rb +6 -30
  2. data/app/datatable/carnival/generic_datatable.rb +4 -4
  3. data/app/models/carnival/field.rb +2 -1
  4. data/app/models/carnival/model_helper.rb +6 -5
  5. data/app/views/carnival/{shared/form → base_admin}/edit.html.haml +0 -0
  6. data/app/views/carnival/{index.html.haml → base_admin/index.html.haml} +0 -0
  7. data/app/views/carnival/{index.pdf.haml → base_admin/index.pdf.haml} +0 -0
  8. data/app/views/carnival/{shared/form → base_admin}/new.html.haml +0 -0
  9. data/app/views/carnival/{shared/form → base_admin}/show.html.haml +0 -0
  10. data/app/views/carnival/shared/form/_inner_form.html.haml +3 -3
  11. data/lib/carnival/version.rb +1 -1
  12. data/test/dummy/app/models/admin/credit_card.rb +4 -0
  13. data/test/dummy/app/views/admin/cities/edit.html.haml +3 -0
  14. data/test/dummy/app/views/admin/cities/new.html.haml +3 -0
  15. data/test/dummy/app/views/admin/cities/show.html.haml +3 -0
  16. data/test/dummy/db/development.sqlite3 +0 -0
  17. data/test/dummy/log/bullet.log +30 -0
  18. data/test/dummy/log/development.log +1264 -0
  19. data/test/dummy/tmp/cache/assets/development/sprockets/39d34c0caaa6f36d684fac1898a7f88f +0 -0
  20. data/test/dummy/tmp/cache/assets/development/sprockets/3d8100b6e405407290dcf994ef05e0b7 +0 -0
  21. data/test/dummy/tmp/cache/assets/development/sprockets/6d806eaa317f200bbf2832a0abf1c1cc +0 -0
  22. data/test/dummy/tmp/cache/assets/development/sprockets/e0352d0f97751491adbe6a94832772af +0 -0
  23. data/test/dummy/tmp/cache/assets/development/sprockets/e9c81ca91323dab8977ffd8a459cab06 +0 -0
  24. data/test/dummy/tmp/cache/assets/development/sprockets/f5c9348795319821f3309d4e03bb9fdb +0 -0
  25. data/test/dummy/tmp/pids/server.pid +1 -0
  26. metadata +15 -7
@@ -19,11 +19,7 @@ module Carnival
19
19
 
20
20
  respond_to do |format|
21
21
  format.html do |render|
22
- # begin
23
- # render 'index'
24
- # rescue
25
- render '/carnival/index'
26
- # end
22
+ render 'index'
27
23
  end
28
24
  format.json do |render|
29
25
  render(json: @datatable)
@@ -41,11 +37,7 @@ module Carnival
41
37
  @model_presenter = instantiate_presenter
42
38
  show! do |format|
43
39
  format.html do |render|
44
- # begin
45
- # render 'show'
46
- # rescue
47
- render '/carnival/shared/form/show'
48
- # end
40
+ render 'show'
49
41
  end
50
42
  end
51
43
  end
@@ -55,11 +47,7 @@ module Carnival
55
47
  new! do |format|
56
48
  @model = instance_variable_get("@#{controller_name.classify.underscore}")
57
49
  format.html do |render|
58
- # begin
59
- # render 'new'
60
- # rescue
61
- render '/carnival/shared/form/new'
62
- # end
50
+ render 'new'
63
51
  end
64
52
  end
65
53
  end
@@ -69,11 +57,7 @@ module Carnival
69
57
  edit! do |format|
70
58
  @model = instance_variable_get("@#{controller_name.classify.underscore}")
71
59
  format.html do |render|
72
- #begin
73
- # render 'edit'
74
- #rescue
75
- render '/carnival/shared/form/edit'
76
- #end
60
+ render 'edit'
77
61
  end
78
62
  end
79
63
  end
@@ -84,11 +68,7 @@ module Carnival
84
68
  success.html{ redirect_to @model_presenter.model_path(:index), :notice => I18n.t("messages.created") }
85
69
  failure.html do |render|
86
70
  @model = instance_variable_get("@#{controller_name.classify.underscore}")
87
- #begin
88
- # render 'edit'
89
- #rescue
90
- render '/carnival/shared/form/new'
91
- #end
71
+ render 'new'
92
72
  end
93
73
  end
94
74
  end
@@ -99,11 +79,7 @@ module Carnival
99
79
  success.html{ redirect_to @model_presenter.model_path(:index), :notice => I18n.t("messages.updated") }
100
80
  failure.html do |render|
101
81
  @model = instance_variable_get("@#{controller_name.classify.underscore}")
102
- #begin
103
- # render 'edit'
104
- #rescue
105
- render '/carnival/shared/form/edit'
106
- #end
82
+ render 'edit'
107
83
  end
108
84
  end
109
85
  end
@@ -88,20 +88,20 @@ module Carnival
88
88
 
89
89
  if render_type == RENDER_CSV
90
90
  @presenter.fields_for_action(:csv).each do |key, field|
91
- data_item[i.to_s] = ac.render_to_string :formats => [:html] , :partial => '/carnival/shared/list_cel', :locals => {:presenter => @presenter,:field=> key, :record=> record, :only_render_fields => true}
91
+ data_item[i.to_label] = ac.render_to_string :formats => [:html] , :partial => '/carnival/shared/list_cel', :locals => {:presenter => @presenter,:field=> key, :record=> record, :only_render_fields => true}
92
92
  i = i + 1
93
93
  end
94
94
  elsif render_type == RENDER_PDF
95
95
  @presenter.fields_for_action(:pdf).each do |key, field|
96
- data_item[i.to_s] = ac.render_to_string :formats => [:html] , :partial => '/carnival/shared/list_cel', :locals => {:presenter => @presenter,:field=> key, :record=> record, :only_render_fields => true}
96
+ data_item[i.to_label] = ac.render_to_string :formats => [:html] , :partial => '/carnival/shared/list_cel', :locals => {:presenter => @presenter,:field=> key, :record=> record, :only_render_fields => true}
97
97
  i = i + 1
98
98
  end
99
99
  else render_type == RENDER_TABLE
100
100
  @presenter.fields_for_action(:index).each do |key, field|
101
- data_item[i.to_s] = ac.render_to_string :formats => [:html] , :partial => '/carnival/shared/list_cel', :locals => {:presenter => @presenter,:field=> key, :record=> record, :only_render_fields => false}
101
+ data_item[i.to_label] = ac.render_to_string :formats => [:html] , :partial => '/carnival/shared/list_cel', :locals => {:presenter => @presenter,:field=> key, :record=> record, :only_render_fields => false}
102
102
  i = i + 1
103
103
  end
104
- data_item[i.to_s] = ac.render_to_string :formats => [:html], :partial => '/carnival/shared/item_buttons', :locals => {:record=>record, :presenter => @presenter}
104
+ data_item[i.to_label] = ac.render_to_string :formats => [:html], :partial => '/carnival/shared/item_buttons', :locals => {:record=>record, :presenter => @presenter}
105
105
  i = i + 1
106
106
  end
107
107
  data << data_item
@@ -70,7 +70,8 @@ module Carnival
70
70
  end
71
71
 
72
72
  def nested_form_modes? (mode)
73
- @params[:nested_form_modes].include?(mode)
73
+ return @params[:nested_form_modes].include?(mode) unless @params[:nested_form_modes].nil?
74
+ return false
74
75
  end
75
76
 
76
77
  def sortable?
@@ -1,7 +1,7 @@
1
1
  module Carnival::ModelHelper
2
2
 
3
- def to_s
4
- self.name
3
+ def to_label
4
+ self.respond_to? :name ? self.name : self.to_s
5
5
  end
6
6
 
7
7
  def self.included mod
@@ -20,9 +20,10 @@ module Carnival::ModelHelper
20
20
  select
21
21
  end
22
22
 
23
- def to_label_options
24
- label = column_names.select { |column| column.eql?("name")}
25
- label.empty? ? column_names.fetch(1).to_sym : label.first.to_sym
23
+ def list_for_checkbox
24
+ list = []
25
+ all.each {|object| list << [object.id, object.to_label] }
26
+ list
26
27
  end
27
28
  end
28
29
  end
@@ -9,7 +9,7 @@
9
9
  - nested_in = nil unless nested_in
10
10
  - if field.nested_form?
11
11
  .nested-form{:class => field.name}
12
-
12
+
13
13
  %h3.nested-form-title
14
14
  = t("activerecord.attributes.#{@model_presenter.full_model_name}.#{field.name}")
15
15
  .nested-form-actions
@@ -18,7 +18,7 @@
18
18
  - if field.nested_form_modes?(:new)
19
19
  = " | "
20
20
  = link_to_function t("nested_form.new"), "createNewForm('.nested-form-list.#{field.name}', '#{field.name}')"
21
-
21
+
22
22
  - if field.nested_form_modes?(:associate)
23
23
  = " | "
24
24
  = link_to_function t("nested_form.existing_option"), "renderSelectOptions('.existing-options.#{field.name}')"
@@ -27,7 +27,7 @@
27
27
  %h4.existing-options-title
28
28
  = t("nested_form.existing_option_title")
29
29
  - field_presenter = model_presenter.presenter_to_field(field, nil)
30
- = f.collection_check_boxes "#{field.name.singularize.to_sym}_ids".to_sym, field_presenter.model_class.send("all"), :id, field_presenter.model_class.to_label_options
30
+ = f.collection_check_boxes "#{field.name.singularize.to_sym}_ids".to_sym, field_presenter.model_class.list_for_checkbox, :first, :last
31
31
 
32
32
  %ul.nested-form-list{:class => field.name}
33
33
  %h4.nested-form-subtitle
@@ -1,3 +1,3 @@
1
1
  module Carnival
2
- VERSION = "0.0.44"
2
+ VERSION = "0.0.45"
3
3
  end
@@ -5,5 +5,9 @@ module Admin
5
5
 
6
6
  has_many :installments_credit_cads
7
7
  has_many :installments, through: :installments_credit_cads
8
+
9
+ def to_label
10
+ name
11
+ end
8
12
  end
9
13
  end
@@ -0,0 +1,3 @@
1
+ %p
2
+ teteteteteteet
3
+
@@ -0,0 +1,3 @@
1
+ %p
2
+ teteteteteteet
3
+
@@ -0,0 +1,3 @@
1
+ %p
2
+ teteteteteteet
3
+
Binary file
@@ -1528,6 +1528,36 @@ N+1 Query method call stack
1528
1528
  N+1 Query method call stack
1529
1529
  N+1 Query method call stack2014-04-19 15:14:27[WARN] user: vagrant
1530
1530
  127.0.0.1:2201http://127.0.0.1:2201/admin/countries/1/edit
1531
+ N+1 Query detected
1532
+ Admin::City => [:country]
1533
+ Add to your finder: :include => [:country]
1534
+ N+1 Query method call stack
1535
+ N+1 Query method call stack
1536
+ N+1 Query method call stack
1537
+ N+1 Query method call stack
1538
+ N+1 Query method call stack
1539
+ N+1 Query method call stack2014-04-27 22:04:55[WARN] user: vagrant
1540
+ 127.0.0.1:3020http://127.0.0.1:3020/admin/countries/1/edit
1541
+ N+1 Query detected
1542
+ Admin::State => [:country]
1543
+ Add to your finder: :include => [:country]
1544
+ N+1 Query method call stack
1545
+ N+1 Query method call stack
1546
+ N+1 Query method call stack
1547
+ N+1 Query method call stack
1548
+ N+1 Query method call stack
1549
+ N+1 Query method call stack2014-04-27 22:04:55[WARN] user: vagrant
1550
+ 127.0.0.1:3020http://127.0.0.1:3020/admin/countries/1/edit
1551
+ N+1 Query detected
1552
+ Admin::City => [:state]
1553
+ Add to your finder: :include => [:state]
1554
+ N+1 Query method call stack
1555
+ N+1 Query method call stack
1556
+ N+1 Query method call stack
1557
+ N+1 Query method call stack
1558
+ N+1 Query method call stack
1559
+ N+1 Query method call stack2014-04-27 22:04:55[WARN] user: vagrant
1560
+ 127.0.0.1:3020http://127.0.0.1:3020/admin/countries/1/edit
1531
1561
  N+1 Query detected
1532
1562
  Admin::City => [:country]
1533
1563
  Add to your finder: :include => [:country]
@@ -57121,3 +57121,1267 @@ Processing by Admin::CountriesController#index as JSON
57121
57121
  Rendered /project/app/views/carnival/shared/_action_delete.html.haml (0.5ms)
57122
57122
  Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (159.4ms)
57123
57123
  Completed 200 OK in 827ms (Views: 641.8ms | ActiveRecord: 13.0ms)
57124
+ ActiveRecord::SchemaMigration Load (2.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
57125
+ Migrating to CreateInstallments (20140424142748)
57126
+  (0.2ms) begin transaction
57127
+  (7.3ms) CREATE TABLE "installments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) 
57128
+ SQL (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140424142748"]]
57129
+  (3.7ms) commit transaction
57130
+ Migrating to CreateCreditCards (20140424142805)
57131
+  (0.2ms) begin transaction
57132
+  (6.8ms) CREATE TABLE "credit_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) 
57133
+ SQL (2.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140424142805"]]
57134
+  (3.8ms) commit transaction
57135
+ Migrating to CreateInstallmentsCreditCads (20140424142835)
57136
+  (0.2ms) begin transaction
57137
+  (4.5ms) CREATE TABLE "installments_credit_cads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "installment_id" integer, "credit_card_id" integer, "created_at" datetime, "updated_at" datetime) 
57138
+  (0.2ms) CREATE INDEX "index_installments_credit_cads_on_installment_id" ON "installments_credit_cads" ("installment_id")
57139
+  (2.0ms) CREATE INDEX "index_installments_credit_cads_on_credit_card_id" ON "installments_credit_cads" ("credit_card_id")
57140
+ SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140424142835"]]
57141
+  (3.1ms) commit transaction
57142
+ ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
57143
+
57144
+
57145
+ Started GET "/admin/countries" for 10.0.2.2 at 2014-04-27 22:01:45 +0000
57146
+ ActiveRecord::SchemaMigration Load (2.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
57147
+ Processing by Admin::CountriesController#index as HTML
57148
+ Completed 401 Unauthorized in 99ms
57149
+
57150
+
57151
+ Started GET "/admin/sessions/sign_in" for 10.0.2.2 at 2014-04-27 22:01:46 +0000
57152
+ Processing by Carnival::SessionsController#new as HTML
57153
+ Rendered /project/app/views/admin_users/shared/_links.html.haml (5.2ms)
57154
+ Rendered /project/app/views/admin_users/sessions/new.html.haml within layouts/carnival/admin (189.4ms)
57155
+ Rendered /project/app/views/layouts/carnival/_menu.html.haml (4.2ms)
57156
+ Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (29.1ms)
57157
+ Completed 200 OK in 1211ms (Views: 1180.1ms | ActiveRecord: 1.7ms)
57158
+
57159
+
57160
+ Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-27 22:01:48 +0000
57161
+
57162
+
57163
+ Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-27 22:01:48 +0000
57164
+
57165
+
57166
+ Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-27 22:01:48 +0000
57167
+
57168
+
57169
+ Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-27 22:01:49 +0000
57170
+
57171
+
57172
+ Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-27 22:01:49 +0000
57173
+
57174
+
57175
+ Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-27 22:01:49 +0000
57176
+
57177
+
57178
+ Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-27 22:01:49 +0000
57179
+
57180
+
57181
+ Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-27 22:01:50 +0000
57182
+
57183
+
57184
+ Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-27 22:01:50 +0000
57185
+
57186
+
57187
+ Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-27 22:01:50 +0000
57188
+
57189
+
57190
+ Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-27 22:01:50 +0000
57191
+
57192
+
57193
+ Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-27 22:01:50 +0000
57194
+
57195
+
57196
+ Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:01:51 +0000
57197
+
57198
+
57199
+ Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-27 22:01:51 +0000
57200
+
57201
+
57202
+ Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:01:51 +0000
57203
+
57204
+
57205
+ Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-27 22:01:51 +0000
57206
+
57207
+
57208
+ Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-27 22:01:52 +0000
57209
+
57210
+
57211
+ Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:01:52 +0000
57212
+
57213
+
57214
+ Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:01:52 +0000
57215
+
57216
+
57217
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:01:52 +0000
57218
+
57219
+
57220
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:01:52 +0000
57221
+
57222
+
57223
+ Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-27 22:01:53 +0000
57224
+
57225
+
57226
+ Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:01:53 +0000
57227
+
57228
+
57229
+ Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:01:53 +0000
57230
+
57231
+
57232
+ Started GET "/assets/carnival/header-bg.png" for 10.0.2.2 at 2014-04-27 22:02:15 +0000
57233
+
57234
+
57235
+ Started GET "/assets/carnival/fonts/opensans-regular-webfont.woff" for 10.0.2.2 at 2014-04-27 22:02:15 +0000
57236
+
57237
+
57238
+ Started GET "/assets/carnival/overlay.png" for 10.0.2.2 at 2014-04-27 22:02:16 +0000
57239
+
57240
+
57241
+ Started GET "/assets/favicon.ico" for 10.0.2.2 at 2014-04-27 22:02:21 +0000
57242
+
57243
+ ActionController::RoutingError (No route matches [GET] "/assets/favicon.ico"):
57244
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
57245
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
57246
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
57247
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
57248
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
57249
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
57250
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
57251
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
57252
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
57253
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
57254
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
57255
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
57256
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
57257
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
57258
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
57259
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
57260
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
57261
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
57262
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
57263
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
57264
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
57265
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
57266
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
57267
+
57268
+
57269
+ Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
57270
+ Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (8.9ms)
57271
+ Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (14.4ms)
57272
+ 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 (112.6ms)
57273
+
57274
+
57275
+ Started POST "/admin/sessions/sign_in" for 10.0.2.2 at 2014-04-27 22:02:25 +0000
57276
+ Processing by Carnival::SessionsController#create as HTML
57277
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"eKh0/5onCN3pcz3kZyT+63t1Cg/FqRkxAcnDkokf6bA=", "admin_user"=>{"email"=>"antonioams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Fazer login"}
57278
+ Carnival::AdminUser Load (3.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."email" = 'antonioams@gmail.com' ORDER BY "admin_users"."id" ASC LIMIT 1
57279
+  (0.1ms) begin transaction
57280
+ SQL (86.6ms) 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", Sat, 19 Apr 2014 13:53:29 UTC +00:00], ["current_sign_in_at", Sun, 27 Apr 2014 22:02:25 UTC +00:00], ["sign_in_count", 9], ["updated_at", Sun, 27 Apr 2014 22:02:25 UTC +00:00]]
57281
+  (19.9ms) commit transaction
57282
+ Redirected to http://127.0.0.1:3020/admin
57283
+ Completed 302 Found in 254ms (ActiveRecord: 110.0ms)
57284
+
57285
+
57286
+ Started GET "/admin" for 10.0.2.2 at 2014-04-27 22:02:25 +0000
57287
+ Processing by Carnival::AdminUsersController#index as HTML
57288
+ Carnival::AdminUser Load (3.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
57289
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (2.7ms)
57290
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (1.0ms)
57291
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (0.6ms)
57292
+ Rendered /project/app/views/carnival/shared/_advanced_search.html.haml (139.6ms)
57293
+ Rendered /project/app/views/carnival/shared/_scope.html.haml (4.9ms)
57294
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (1.8ms)
57295
+ Rendered /project/app/views/carnival/shared/_period_filter.html.haml (30.7ms)
57296
+ Rendered /project/app/views/carnival/base_admin/index.html.haml within layouts/carnival/admin (378.9ms)
57297
+ Carnival::AdminUserNotification Load (2.6ms) 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]]
57298
+ 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]]
57299
+ 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]]
57300
+ Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (189.1ms)
57301
+ Rendered /project/app/views/layouts/carnival/_menu.html.haml (13.4ms)
57302
+ Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.2ms)
57303
+ Completed 200 OK in 1223ms (Views: 1062.0ms | ActiveRecord: 10.6ms)
57304
+
57305
+
57306
+ Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-27 22:02:27 +0000
57307
+
57308
+
57309
+ Started GET "/assets/carnival/data_tables_functions.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:28 +0000
57310
+
57311
+
57312
+ Started GET "/assets/carnival/advanced_search.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:28 +0000
57313
+
57314
+
57315
+ Started GET "/assets/carnival/sprites.png" for 10.0.2.2 at 2014-04-27 22:02:28 +0000
57316
+
57317
+
57318
+ Started GET "/assets/carnival/novo.png" for 10.0.2.2 at 2014-04-27 22:02:28 +0000
57319
+
57320
+
57321
+ Started GET "/assets/carnival/sort_both.png" for 10.0.2.2 at 2014-04-27 22:02:29 +0000
57322
+
57323
+
57324
+ Started GET "/assets/carnival/sort_asc.png" for 10.0.2.2 at 2014-04-27 22:02:29 +0000
57325
+
57326
+
57327
+ Started GET "/assets/carnival/search.png" for 10.0.2.2 at 2014-04-27 22:02:29 +0000
57328
+
57329
+
57330
+ Started GET "/assets/carnival/datatables-loading.gif" for 10.0.2.2 at 2014-04-27 22:02:30 +0000
57331
+
57332
+
57333
+ 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&_=1398636147678" for 10.0.2.2 at 2014-04-27 22:02:30 +0000
57334
+ Processing by Carnival::AdminUsersController#index as JSON
57335
+ 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", "_"=>"1398636147678"}
57336
+ Carnival::AdminUser Load (5.6ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
57337
+  (1.8ms) SELECT COUNT(*) FROM "admin_users"
57338
+ Carnival::AdminUser Load (2.9ms) SELECT "admin_users".* FROM "admin_users" ORDER BY admin_users.id asc LIMIT 50 OFFSET 0
57339
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (56.2ms)
57340
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.1ms)
57341
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.3ms)
57342
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.7ms)
57343
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (34.7ms)
57344
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (1.3ms)
57345
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.3ms)
57346
+ Rendered /project/app/views/carnival/shared/_action_delete.html.haml (2.2ms)
57347
+ Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (189.6ms)
57348
+ Completed 200 OK in 646ms (Views: 630.9ms | ActiveRecord: 10.3ms)
57349
+
57350
+
57351
+ Started GET "/admin/countries" for 10.0.2.2 at 2014-04-27 22:02:35 +0000
57352
+ Processing by Admin::CountriesController#index as HTML
57353
+ Carnival::AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
57354
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (3.6ms)
57355
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (0.7ms)
57356
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (0.6ms)
57357
+ Rendered /project/app/views/carnival/shared/_advanced_search.html.haml (133.3ms)
57358
+ Rendered /project/app/views/carnival/shared/_scope.html.haml (0.2ms)
57359
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.5ms)
57360
+ Rendered /project/app/views/carnival/shared/_period_filter.html.haml (0.1ms)
57361
+ Rendered /project/app/views/carnival/base_admin/index.html.haml within layouts/carnival/admin (337.2ms)
57362
+ 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]]
57363
+ 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]]
57364
+ 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]]
57365
+ Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (10.4ms)
57366
+ Rendered /project/app/views/layouts/carnival/_menu.html.haml (9.3ms)
57367
+ Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.1ms)
57368
+ Completed 200 OK in 797ms (Views: 774.2ms | ActiveRecord: 7.4ms)
57369
+
57370
+
57371
+ Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:37 +0000
57372
+
57373
+
57374
+ Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:37 +0000
57375
+
57376
+
57377
+ Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:37 +0000
57378
+
57379
+
57380
+ Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:37 +0000
57381
+
57382
+
57383
+ Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:38 +0000
57384
+
57385
+
57386
+ Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:38 +0000
57387
+
57388
+
57389
+ Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:38 +0000
57390
+
57391
+
57392
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:38 +0000
57393
+
57394
+
57395
+ Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:38 +0000
57396
+
57397
+
57398
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:39 +0000
57399
+
57400
+
57401
+ Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:39 +0000
57402
+
57403
+
57404
+ Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:39 +0000
57405
+
57406
+
57407
+ Started GET "/assets/carnival/data_tables_functions.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:39 +0000
57408
+
57409
+
57410
+ Started GET "/assets/carnival/advanced_search.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:40 +0000
57411
+
57412
+
57413
+ Started GET "/assets/carnival/sprites-active.png" for 10.0.2.2 at 2014-04-27 22:02:40 +0000
57414
+
57415
+
57416
+ Started GET "/admin/countries.json?sEcho=1&iColumns=8&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&mDataProp_7=7&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&sSearch_7=&bRegex_7=false&bSearchable_7=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&bSortable_7=false&_=1398636158609" for 10.0.2.2 at 2014-04-27 22:02:40 +0000
57417
+ Processing by Admin::CountriesController#index as JSON
57418
+ Parameters: {"sEcho"=>"1", "iColumns"=>"8", "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", "mDataProp_7"=>"7", "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", "sSearch_7"=>"", "bRegex_7"=>"false", "bSearchable_7"=>"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", "bSortable_7"=>"false", "_"=>"1398636158609"}
57419
+ Carnival::AdminUser Load (2.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
57420
+  (1.7ms) SELECT COUNT(*) FROM "countries"
57421
+ Admin::Country Load (1.8ms) SELECT "countries".* FROM "countries" ORDER BY countries.id asc LIMIT 50 OFFSET 0
57422
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (38.1ms)
57423
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.0ms)
57424
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (2.3ms)
57425
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (39.5ms)
57426
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (33.0ms)
57427
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.0ms)
57428
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.5ms)
57429
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.3ms)
57430
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.2ms)
57431
+ Rendered /project/app/views/carnival/shared/_action_delete.html.haml (0.4ms)
57432
+ Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (177.1ms)
57433
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (36.6ms)
57434
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.3ms)
57435
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.3ms)
57436
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (2.1ms)
57437
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (3.7ms)
57438
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.8ms)
57439
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (0.9ms)
57440
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.3ms)
57441
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.2ms)
57442
+ Rendered /project/app/views/carnival/shared/_action_delete.html.haml (0.6ms)
57443
+ Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (177.7ms)
57444
+ Completed 200 OK in 1204ms (Views: 1195.0ms | ActiveRecord: 5.6ms)
57445
+
57446
+
57447
+ Started GET "/admin/countries/1" for 10.0.2.2 at 2014-04-27 22:02:44 +0000
57448
+ Processing by Admin::CountriesController#show as HTML
57449
+ Parameters: {"id"=>"1"}
57450
+ Carnival::AdminUser Load (1.5ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
57451
+ Admin::Country Load (1.7ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", "1"]]
57452
+ Rendered /project/app/views/carnival/base_admin/show.html.haml within layouts/carnival/admin (98.1ms)
57453
+ Carnival::AdminUserNotification Load (1.6ms) 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]]
57454
+ 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]]
57455
+ 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]]
57456
+ Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (9.8ms)
57457
+ Rendered /project/app/views/layouts/carnival/_menu.html.haml (9.7ms)
57458
+ Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.2ms)
57459
+ Completed 200 OK in 549ms (Views: 537.3ms | ActiveRecord: 6.7ms)
57460
+
57461
+
57462
+ Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:45 +0000
57463
+
57464
+
57465
+ Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:45 +0000
57466
+
57467
+
57468
+ Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:45 +0000
57469
+
57470
+
57471
+ Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:45 +0000
57472
+
57473
+
57474
+ Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:46 +0000
57475
+
57476
+
57477
+ Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:46 +0000
57478
+
57479
+
57480
+ Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:46 +0000
57481
+
57482
+
57483
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:46 +0000
57484
+
57485
+
57486
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:47 +0000
57487
+
57488
+
57489
+ Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:47 +0000
57490
+
57491
+
57492
+ Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:47 +0000
57493
+
57494
+
57495
+ Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:02:47 +0000
57496
+
57497
+
57498
+ Started GET "/assets/carnival/voltar.png" for 10.0.2.2 at 2014-04-27 22:02:48 +0000
57499
+
57500
+
57501
+ Started GET "/admin/countries.json?sEcho=1&iColumns=8&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&mDataProp_7=7&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&sSearch_7=&bRegex_7=false&bSearchable_7=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&bSortable_7=false&_=1398636169694" for 10.0.2.2 at 2014-04-27 22:02:50 +0000
57502
+ Processing by Admin::CountriesController#index as JSON
57503
+ Parameters: {"sEcho"=>"1", "iColumns"=>"8", "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", "mDataProp_7"=>"7", "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", "sSearch_7"=>"", "bRegex_7"=>"false", "bSearchable_7"=>"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", "bSortable_7"=>"false", "_"=>"1398636169694"}
57504
+ Carnival::AdminUser Load (3.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
57505
+  (3.2ms) SELECT COUNT(*) FROM "countries"
57506
+ Admin::Country Load (4.2ms) SELECT "countries".* FROM "countries" ORDER BY countries.id asc LIMIT 50 OFFSET 0
57507
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (60.8ms)
57508
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.2ms)
57509
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.0ms)
57510
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (4.5ms)
57511
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (4.4ms)
57512
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.6ms)
57513
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.9ms)
57514
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.5ms)
57515
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.2ms)
57516
+ Rendered /project/app/views/carnival/shared/_action_delete.html.haml (0.4ms)
57517
+ Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (247.3ms)
57518
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (43.1ms)
57519
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.2ms)
57520
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (0.8ms)
57521
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (2.1ms)
57522
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (2.2ms)
57523
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.9ms)
57524
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (2.4ms)
57525
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.5ms)
57526
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.3ms)
57527
+ Rendered /project/app/views/carnival/shared/_action_delete.html.haml (0.6ms)
57528
+ Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (281.5ms)
57529
+ Completed 200 OK in 1579ms (Views: 1562.2ms | ActiveRecord: 10.9ms)
57530
+
57531
+
57532
+ Started GET "/admin/countries/1/edit" for 10.0.2.2 at 2014-04-27 22:02:53 +0000
57533
+ Processing by Admin::CountriesController#edit as HTML
57534
+ Parameters: {"id"=>"1"}
57535
+ Carnival::AdminUser Load (2.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
57536
+ Admin::Country Load (1.6ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", "1"]]
57537
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (23.2ms)
57538
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (3.8ms)
57539
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (2 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:16)
57540
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (226.9ms)
57541
+ Rendered /project/app/views/carnival/shared/form/_form.html.haml (936.5ms)
57542
+ Rendered /project/app/views/carnival/base_admin/edit.html.haml within layouts/carnival/admin (979.8ms)
57543
+ Completed 500 Internal Server Error in 1118ms
57544
+
57545
+ NoMethodError - undefined method `include?' for nil:NilClass:
57546
+ /project/app/models/carnival/field.rb:73:in `nested_form_modes?'
57547
+ /project/app/views/carnival/shared/form/_inner_form.html.haml:18:in `block (2 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130'
57548
+ /project/app/views/carnival/shared/form/_inner_form.html.haml:8:in `block in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130'
57549
+ /project/app/views/carnival/shared/form/_inner_form.html.haml:6:in `__project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130'
57550
+ actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render'
57551
+ activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument'
57552
+ actionpack (4.0.4) lib/action_view/template.rb:141:in `render'
57553
+ actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
57554
+ actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
57555
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
57556
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
57557
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
57558
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
57559
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
57560
+ actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
57561
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
57562
+ actionpack (4.0.4) lib/action_view/helpers/rendering_helper.rb:27:in `render'
57563
+ haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
57564
+ haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
57565
+ haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
57566
+ /project/app/views/carnival/shared/form/_form.html.haml:2:in `block in __project_app_views_carnival_shared_form__form_html_haml__983455444__619800508'
57567
+ haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
57568
+ haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
57569
+ haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
57570
+ actionpack (4.0.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
57571
+ actionpack (4.0.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
57572
+ haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
57573
+ actionpack (4.0.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
57574
+ haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
57575
+ actionpack (4.0.4) lib/action_view/helpers/form_helper.rb:435:in `form_for'
57576
+ haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
57577
+ haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
57578
+ simple_form (3.0.1) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for'
57579
+ simple_form (3.0.1) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc'
57580
+ simple_form (3.0.1) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for'
57581
+ /project/app/views/carnival/shared/form/_form.html.haml:1:in `__project_app_views_carnival_shared_form__form_html_haml__983455444__619800508'
57582
+ actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render'
57583
+ activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument'
57584
+ actionpack (4.0.4) lib/action_view/template.rb:141:in `render'
57585
+ actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
57586
+ actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
57587
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
57588
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
57589
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
57590
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
57591
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
57592
+ actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
57593
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
57594
+ actionpack (4.0.4) lib/action_view/helpers/rendering_helper.rb:27:in `render'
57595
+ haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
57596
+ haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
57597
+ haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
57598
+ /project/app/views/carnival/base_admin/edit.html.haml:6:in `__project_app_views_carnival_base_admin_edit_html_haml___665934466__619362538'
57599
+ actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render'
57600
+ activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument'
57601
+ actionpack (4.0.4) lib/action_view/template.rb:141:in `render'
57602
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
57603
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
57604
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
57605
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
57606
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
57607
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
57608
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
57609
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
57610
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
57611
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
57612
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
57613
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
57614
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
57615
+ actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
57616
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
57617
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
57618
+ actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
57619
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
57620
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
57621
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
57622
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
57623
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
57624
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
57625
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
57626
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
57627
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
57628
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
57629
+ wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf'
57630
+ /project/app/controllers/carnival/base_admin_controller.rb:60:in `block (2 levels) in edit'
57631
+ actionpack (4.0.4) lib/action_controller/metal/responder.rb:231:in `default_render'
57632
+ actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html'
57633
+ responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html'
57634
+ actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond'
57635
+ actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call'
57636
+ actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with'
57637
+ inherited_resources (1.4.1) lib/inherited_resources/actions.rb:25:in `edit'
57638
+ /project/app/controllers/carnival/base_admin_controller.rb:57:in `edit'
57639
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
57640
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
57641
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
57642
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
57643
+ activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__911925656__process_action__callbacks'
57644
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
57645
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
57646
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
57647
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
57648
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
57649
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
57650
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
57651
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
57652
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
57653
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
57654
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
57655
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
57656
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
57657
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
57658
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
57659
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
57660
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
57661
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
57662
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
57663
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
57664
+ bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
57665
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
57666
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
57667
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
57668
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
57669
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
57670
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
57671
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
57672
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
57673
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
57674
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
57675
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
57676
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
57677
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
57678
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
57679
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__338585036__call__callbacks'
57680
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
57681
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
57682
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
57683
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
57684
+ better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
57685
+ better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
57686
+ better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call'
57687
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
57688
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
57689
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
57690
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
57691
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
57692
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
57693
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
57694
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
57695
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
57696
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
57697
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
57698
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
57699
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
57700
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
57701
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
57702
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
57703
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
57704
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
57705
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
57706
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
57707
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
57708
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
57709
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
57710
+
57711
+
57712
+
57713
+ Started POST "/__better_errors/92570320/variables" for 10.0.2.2 at 2014-04-27 22:02:55 +0000
57714
+
57715
+
57716
+ Started POST "/__better_errors/92570320/eval" for 10.0.2.2 at 2014-04-27 22:03:17 +0000
57717
+
57718
+
57719
+ Started GET "/admin/countries/1/edit" for 10.0.2.2 at 2014-04-27 22:04:50 +0000
57720
+ Processing by Admin::CountriesController#edit as HTML
57721
+ Parameters: {"id"=>"1"}
57722
+ Carnival::AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
57723
+ Admin::Country Load (2.5ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", "1"]]
57724
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (21.1ms)
57725
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (2.0ms)
57726
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (2 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:16)
57727
+ Admin::State Load (2.3ms) SELECT "states".* FROM "states"
57728
+  (1.7ms) SELECT "states".id FROM "states" WHERE "states"."country_id" = ? [["country_id", 1]]
57729
+ CACHE (0.0ms) SELECT "states".id FROM "states" WHERE "states"."country_id" = ? [["country_id", 1]]
57730
+ CACHE (0.0ms) SELECT "states".id FROM "states" WHERE "states"."country_id" = ? [["country_id", 1]]
57731
+ CACHE (0.0ms) SELECT "states".id FROM "states" WHERE "states"."country_id" = ? [["country_id", 1]]
57732
+ CACHE (0.0ms) SELECT "states".id FROM "states" WHERE "states"."country_id" = ? [["country_id", 1]]
57733
+ CACHE (0.0ms) SELECT "states".id FROM "states" WHERE "states"."country_id" = ? [["country_id", 1]]
57734
+ CACHE (0.0ms) SELECT "states".id FROM "states" WHERE "states"."country_id" = ? [["country_id", 1]]
57735
+ CACHE (0.0ms) SELECT "states".id FROM "states" WHERE "states"."country_id" = ? [["country_id", 1]]
57736
+ CACHE (0.0ms) SELECT "states".id FROM "states" WHERE "states"."country_id" = ? [["country_id", 1]]
57737
+ CACHE (0.0ms) SELECT "states".id FROM "states" WHERE "states"."country_id" = ? [["country_id", 1]]
57738
+ CACHE (0.0ms) SELECT "states".id FROM "states" WHERE "states"."country_id" = ? [["country_id", 1]]
57739
+ CACHE (0.0ms) SELECT "states".id FROM "states" WHERE "states"."country_id" = ? [["country_id", 1]]
57740
+ Admin::State Load (1.7ms) SELECT "states".* FROM "states" WHERE "states"."country_id" = ? [["country_id", 1]]
57741
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (3 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:39)
57742
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (20.2ms)
57743
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (3.8ms)
57744
+ Admin::Country Load (2.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
57745
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (265.6ms)
57746
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (3 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:39)
57747
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (18.1ms)
57748
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (4.0ms)
57749
+ CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
57750
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (111.5ms)
57751
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (3 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:39)
57752
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (24.3ms)
57753
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (2.7ms)
57754
+ CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
57755
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (111.5ms)
57756
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (3 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:39)
57757
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (22.7ms)
57758
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (2.9ms)
57759
+ CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
57760
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (145.9ms)
57761
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (3 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:39)
57762
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (24.8ms)
57763
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (2.8ms)
57764
+ CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
57765
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (126.6ms)
57766
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (3 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:39)
57767
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (23.7ms)
57768
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (3.1ms)
57769
+ CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
57770
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (119.4ms)
57771
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (3 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:39)
57772
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (21.7ms)
57773
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (3.7ms)
57774
+ CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
57775
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (126.5ms)
57776
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (3 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:39)
57777
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (21.9ms)
57778
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (4.5ms)
57779
+ CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
57780
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (124.1ms)
57781
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (3 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:39)
57782
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (22.9ms)
57783
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (3.9ms)
57784
+ CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
57785
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (121.6ms)
57786
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (3 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:39)
57787
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (22.3ms)
57788
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (3.7ms)
57789
+ CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
57790
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (120.9ms)
57791
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (2 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:16)
57792
+ Admin::City Load (2.7ms) SELECT "cities".* FROM "cities"
57793
+  (1.6ms) SELECT "cities".id FROM "cities" WHERE "cities"."country_id" = ? [["country_id", 1]]
57794
+ CACHE (0.0ms) SELECT "cities".id FROM "cities" WHERE "cities"."country_id" = ? [["country_id", 1]]
57795
+ Admin::City Load (1.9ms) SELECT "cities".* FROM "cities" WHERE "cities"."country_id" = ? [["country_id", 1]]
57796
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (3 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:39)
57797
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (26.2ms)
57798
+ Admin::State Load (1.6ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]]
57799
+ CACHE (0.0ms) SELECT "states".* FROM "states"
57800
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (70.1ms)
57801
+ CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
57802
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (245.2ms)
57803
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (3 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:39)
57804
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (21.5ms)
57805
+ CACHE (0.0ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]]
57806
+ CACHE (0.0ms) SELECT "states".* FROM "states"
57807
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (6.4ms)
57808
+ CACHE (0.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
57809
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (122.6ms)
57810
+ DEPRECATION WARNING: link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript. (called from block (3 levels) in __project_app_views_carnival_shared_form__inner_form_html_haml__680704840_92059130 at /project/app/views/carnival/shared/form/_inner_form.html.haml:39)
57811
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (24.2ms)
57812
+ CACHE (0.0ms) SELECT "states".* FROM "states"
57813
+ Rendered /project/app/views/carnival/shared/form/_field.html.haml (5.0ms)
57814
+ CACHE (0.1ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
57815
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (119.5ms)
57816
+ Rendered /project/app/views/carnival/shared/form/_inner_form.html.haml (3078.5ms)
57817
+ 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__983455444__619800508 at /project/app/views/carnival/shared/form/_form.html.haml:5)
57818
+ Rendered /project/app/views/carnival/shared/form/_form.html.haml (3134.1ms)
57819
+ Rendered /project/app/views/carnival/base_admin/edit.html.haml within layouts/carnival/admin (3180.1ms)
57820
+ 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]]
57821
+ 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]]
57822
+ 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]]
57823
+ Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (49.3ms)
57824
+ Rendered /project/app/views/layouts/carnival/_menu.html.haml (7.3ms)
57825
+ Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.1ms)
57826
+ Completed 200 OK in 3810ms (Views: 3629.2ms | ActiveRecord: 38.1ms)
57827
+
57828
+
57829
+ Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-27 22:04:55 +0000
57830
+
57831
+
57832
+ Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-27 22:04:56 +0000
57833
+
57834
+
57835
+ Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-27 22:04:56 +0000
57836
+
57837
+
57838
+ Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-27 22:04:56 +0000
57839
+
57840
+
57841
+ Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-27 22:04:56 +0000
57842
+
57843
+
57844
+ Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-27 22:04:56 +0000
57845
+
57846
+
57847
+ Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-27 22:04:57 +0000
57848
+
57849
+
57850
+ Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-27 22:04:57 +0000
57851
+
57852
+
57853
+ Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-27 22:04:57 +0000
57854
+
57855
+
57856
+ Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-27 22:04:57 +0000
57857
+
57858
+
57859
+ Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-27 22:04:58 +0000
57860
+
57861
+
57862
+ Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-27 22:04:58 +0000
57863
+
57864
+
57865
+ Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:04:58 +0000
57866
+
57867
+
57868
+ Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-27 22:04:58 +0000
57869
+
57870
+
57871
+ Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-27 22:04:58 +0000
57872
+
57873
+
57874
+ Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:04:59 +0000
57875
+
57876
+
57877
+ Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-27 22:04:59 +0000
57878
+
57879
+
57880
+ Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:04:59 +0000
57881
+
57882
+
57883
+ Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:04:59 +0000
57884
+
57885
+
57886
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:05:00 +0000
57887
+
57888
+
57889
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:05:00 +0000
57890
+
57891
+
57892
+ Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-27 22:05:00 +0000
57893
+
57894
+
57895
+ Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:05:00 +0000
57896
+
57897
+
57898
+ Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:05:00 +0000
57899
+
57900
+
57901
+ Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-27 22:05:01 +0000
57902
+
57903
+
57904
+ Started GET "/assets/carnival/bg_button.png" for 10.0.2.2 at 2014-04-27 22:05:01 +0000
57905
+
57906
+
57907
+ Started GET "/assets/carnival/chosen-sprite.png" for 10.0.2.2 at 2014-04-27 22:05:10 +0000
57908
+
57909
+
57910
+ Started GET "/admin/cities" for 10.0.2.2 at 2014-04-27 22:06:58 +0000
57911
+ Processing by Admin::CitiesController#index as HTML
57912
+ Carnival::AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
57913
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (0.9ms)
57914
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (0.7ms)
57915
+ Admin::State Load (1.4ms) SELECT "states".* FROM "states"
57916
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (4.8ms)
57917
+ Admin::Country Load (1.6ms) SELECT "countries".* FROM "countries"
57918
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (3.6ms)
57919
+ Rendered /project/app/views/carnival/shared/_advanced_search.html.haml (180.2ms)
57920
+  (2.3ms) SELECT COUNT(*) FROM "cities"
57921
+ 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:
57922
+
57923
+ Post.includes(:comments).where("comments.title = 'foo'")
57924
+
57925
+ 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:
57926
+
57927
+ Post.includes(:comments).where("comments.title = 'foo'").references(:comments)
57928
+
57929
+ 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:56)
57930
+  (1.9ms) SELECT COUNT(DISTINCT "cities"."id") FROM "cities" LEFT OUTER JOIN "countries" ON "countries"."id" = "cities"."country_id" WHERE (countries.code = 'BR')
57931
+ 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:
57932
+
57933
+ Post.includes(:comments).where("comments.title = 'foo'")
57934
+
57935
+ 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:
57936
+
57937
+ Post.includes(:comments).where("comments.title = 'foo'").references(:comments)
57938
+
57939
+ 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:56)
57940
+  (2.1ms) SELECT COUNT(DISTINCT "cities"."id") FROM "cities" LEFT OUTER JOIN "countries" ON "countries"."id" = "cities"."country_id" WHERE (countries.code <> 'BR')
57941
+ Rendered /project/app/views/carnival/shared/_scope.html.haml (95.6ms)
57942
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.3ms)
57943
+ Rendered /project/app/views/carnival/shared/_period_filter.html.haml (36.3ms)
57944
+ Rendered /project/app/views/carnival/base_admin/index.html.haml within layouts/carnival/admin (465.4ms)
57945
+ 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]]
57946
+ 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]]
57947
+ 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]]
57948
+ Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (9.6ms)
57949
+ Rendered /project/app/views/layouts/carnival/_menu.html.haml (6.0ms)
57950
+ Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.1ms)
57951
+ Completed 200 OK in 873ms (Views: 840.1ms | ActiveRecord: 14.4ms)
57952
+
57953
+
57954
+ Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:00 +0000
57955
+
57956
+
57957
+ Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:00 +0000
57958
+
57959
+
57960
+ Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:00 +0000
57961
+
57962
+
57963
+ Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:00 +0000
57964
+
57965
+
57966
+ Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:01 +0000
57967
+
57968
+
57969
+ Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:01 +0000
57970
+
57971
+
57972
+ Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:01 +0000
57973
+
57974
+
57975
+ Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:01 +0000
57976
+
57977
+
57978
+ Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:01 +0000
57979
+
57980
+
57981
+ Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:02 +0000
57982
+
57983
+
57984
+ Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:02 +0000
57985
+
57986
+
57987
+ Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:02 +0000
57988
+
57989
+
57990
+ Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:02 +0000
57991
+
57992
+
57993
+ Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:02 +0000
57994
+
57995
+
57996
+ Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:03 +0000
57997
+
57998
+
57999
+ Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:03 +0000
58000
+
58001
+
58002
+ Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:03 +0000
58003
+
58004
+
58005
+ Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:03 +0000
58006
+
58007
+
58008
+ Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:03 +0000
58009
+
58010
+
58011
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:04 +0000
58012
+
58013
+
58014
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:04 +0000
58015
+
58016
+
58017
+ Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:04 +0000
58018
+
58019
+
58020
+ Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:04 +0000
58021
+
58022
+
58023
+ Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:04 +0000
58024
+
58025
+
58026
+ Started GET "/assets/carnival/data_tables_functions.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:05 +0000
58027
+
58028
+
58029
+ Started GET "/assets/carnival/advanced_search.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:05 +0000
58030
+
58031
+
58032
+ Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-27 22:07:05 +0000
58033
+
58034
+
58035
+ 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&_=1398636423022" for 10.0.2.2 at 2014-04-27 22:07:06 +0000
58036
+ Processing by Admin::CitiesController#index as JSON
58037
+ 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", "_"=>"1398636423022"}
58038
+ Carnival::AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
58039
+  (1.8ms) SELECT COUNT(*) FROM "cities" WHERE (cities.created_at between '2014-04-01 00:00:00' and '2014-04-30 23:59:59')
58040
+ Admin::City Load (1.5ms) 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
58041
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (39.9ms)
58042
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.1ms)
58043
+ Admin::State Load (1.3ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]]
58044
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (5.4ms)
58045
+ Admin::Country Load (2.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
58046
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (5.9ms)
58047
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.1ms)
58048
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.8ms)
58049
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.4ms)
58050
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.2ms)
58051
+ Rendered /project/app/views/carnival/shared/_action_delete.html.haml (0.4ms)
58052
+ Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (176.2ms)
58053
+ Completed 200 OK in 550ms (Views: 537.1ms | ActiveRecord: 8.4ms)
58054
+
58055
+
58056
+ Started GET "/assets/carnival/images/ui-bg_flat_75_ffffff_40x100.png" for 10.0.2.2 at 2014-04-27 22:07:06 +0000
58057
+
58058
+
58059
+ Started GET "/admin/cities/2" for 10.0.2.2 at 2014-04-27 22:07:08 +0000
58060
+ Processing by Admin::CitiesController#show as HTML
58061
+ Parameters: {"id"=>"2"}
58062
+ Carnival::AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
58063
+ Admin::City Load (1.9ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "2"]]
58064
+ Rendered admin/cities/show.html.haml within layouts/carnival/admin (1.3ms)
58065
+ Carnival::AdminUserNotification Load (1.9ms) 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]]
58066
+ 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]]
58067
+ 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]]
58068
+ Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (9.4ms)
58069
+ Rendered /project/app/views/layouts/carnival/_menu.html.haml (8.1ms)
58070
+ Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.1ms)
58071
+ Completed 200 OK in 423ms (Views: 411.0ms | ActiveRecord: 7.2ms)
58072
+
58073
+
58074
+ Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:09 +0000
58075
+
58076
+
58077
+ Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:09 +0000
58078
+
58079
+
58080
+ Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:10 +0000
58081
+
58082
+
58083
+ Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:10 +0000
58084
+
58085
+
58086
+ Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:10 +0000
58087
+
58088
+
58089
+ Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:10 +0000
58090
+
58091
+
58092
+ Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:10 +0000
58093
+
58094
+
58095
+ Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:11 +0000
58096
+
58097
+
58098
+ Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:11 +0000
58099
+
58100
+
58101
+ Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:11 +0000
58102
+
58103
+
58104
+ Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:11 +0000
58105
+
58106
+
58107
+ Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:11 +0000
58108
+
58109
+
58110
+ Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:12 +0000
58111
+
58112
+
58113
+ Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:12 +0000
58114
+
58115
+
58116
+ Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:12 +0000
58117
+
58118
+
58119
+ Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:12 +0000
58120
+
58121
+
58122
+ Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:12 +0000
58123
+
58124
+
58125
+ Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:13 +0000
58126
+
58127
+
58128
+ Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:13 +0000
58129
+
58130
+
58131
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:13 +0000
58132
+
58133
+
58134
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:13 +0000
58135
+
58136
+
58137
+ Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:13 +0000
58138
+
58139
+
58140
+ Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:14 +0000
58141
+
58142
+
58143
+ Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:14 +0000
58144
+
58145
+
58146
+ Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-27 22:07:14 +0000
58147
+
58148
+
58149
+ 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&_=1398636471844" for 10.0.2.2 at 2014-04-27 22:07:52 +0000
58150
+ Processing by Admin::CitiesController#index as JSON
58151
+ 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", "_"=>"1398636471844"}
58152
+ Carnival::AdminUser Load (2.5ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
58153
+  (2.0ms) SELECT COUNT(*) FROM "cities" WHERE (cities.created_at between '2014-04-01 00:00:00' and '2014-04-30 23:59:59')
58154
+ Admin::City Load (2.6ms) 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
58155
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (37.1ms)
58156
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.9ms)
58157
+ Admin::State Load (1.8ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]]
58158
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (6.5ms)
58159
+ Admin::Country Load (2.2ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
58160
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (9.6ms)
58161
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.6ms)
58162
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.2ms)
58163
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.3ms)
58164
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.2ms)
58165
+ Rendered /project/app/views/carnival/shared/_action_delete.html.haml (0.4ms)
58166
+ Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (181.6ms)
58167
+ Completed 200 OK in 586ms (Views: 570.7ms | ActiveRecord: 11.2ms)
58168
+
58169
+
58170
+ Started GET "/admin/cities/new" for 10.0.2.2 at 2014-04-27 22:07:53 +0000
58171
+ Processing by Admin::CitiesController#new as HTML
58172
+ Carnival::AdminUser Load (1.6ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
58173
+ Rendered admin/cities/new.html.haml within layouts/carnival/admin (1.0ms)
58174
+ 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]]
58175
+ 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]]
58176
+ 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]]
58177
+ Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (9.3ms)
58178
+ Rendered /project/app/views/layouts/carnival/_menu.html.haml (7.7ms)
58179
+ Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.2ms)
58180
+ Completed 200 OK in 382ms (Views: 373.0ms | ActiveRecord: 5.1ms)
58181
+
58182
+
58183
+ Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:54 +0000
58184
+
58185
+
58186
+ Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:54 +0000
58187
+
58188
+
58189
+ Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:55 +0000
58190
+
58191
+
58192
+ Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:55 +0000
58193
+
58194
+
58195
+ Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:55 +0000
58196
+
58197
+
58198
+ Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:55 +0000
58199
+
58200
+
58201
+ Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:55 +0000
58202
+
58203
+
58204
+ Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:56 +0000
58205
+
58206
+
58207
+ Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:56 +0000
58208
+
58209
+
58210
+ Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:56 +0000
58211
+
58212
+
58213
+ Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:56 +0000
58214
+
58215
+
58216
+ Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-27 22:07:56 +0000
58217
+
58218
+
58219
+ Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:57 +0000
58220
+
58221
+
58222
+ Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:57 +0000
58223
+
58224
+
58225
+ Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:57 +0000
58226
+
58227
+
58228
+ Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:57 +0000
58229
+
58230
+
58231
+ Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:58 +0000
58232
+
58233
+
58234
+ Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:58 +0000
58235
+
58236
+
58237
+ Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:58 +0000
58238
+
58239
+
58240
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:58 +0000
58241
+
58242
+
58243
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:58 +0000
58244
+
58245
+
58246
+ Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:59 +0000
58247
+
58248
+
58249
+ Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:59 +0000
58250
+
58251
+
58252
+ Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:07:59 +0000
58253
+
58254
+
58255
+ Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-27 22:07:59 +0000
58256
+
58257
+
58258
+ 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&_=1398636481281" for 10.0.2.2 at 2014-04-27 22:08:01 +0000
58259
+ Processing by Admin::CitiesController#index as JSON
58260
+ 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", "_"=>"1398636481281"}
58261
+ Carnival::AdminUser Load (1.5ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
58262
+  (2.7ms) SELECT COUNT(*) FROM "cities" WHERE (cities.created_at between '2014-04-01 00:00:00' and '2014-04-30 23:59:59')
58263
+ Admin::City Load (1.7ms) 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
58264
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (44.3ms)
58265
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.8ms)
58266
+ Admin::State Load (2.0ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]]
58267
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (10.1ms)
58268
+ Admin::Country Load (1.7ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
58269
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (5.6ms)
58270
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.0ms)
58271
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (0.9ms)
58272
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.2ms)
58273
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.2ms)
58274
+ Rendered /project/app/views/carnival/shared/_action_delete.html.haml (0.4ms)
58275
+ Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (168.9ms)
58276
+ Completed 200 OK in 577ms (Views: 564.0ms | ActiveRecord: 9.7ms)
58277
+
58278
+
58279
+ Started GET "/admin/cities/2/edit" for 10.0.2.2 at 2014-04-27 22:08:03 +0000
58280
+ Processing by Admin::CitiesController#edit as HTML
58281
+ Parameters: {"id"=>"2"}
58282
+ Carnival::AdminUser Load (1.9ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
58283
+ Admin::City Load (1.7ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "2"]]
58284
+ Rendered admin/cities/edit.html.haml within layouts/carnival/admin (1.0ms)
58285
+ 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]]
58286
+ 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]]
58287
+ 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]]
58288
+ Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (9.5ms)
58289
+ Rendered /project/app/views/layouts/carnival/_menu.html.haml (7.1ms)
58290
+ Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.2ms)
58291
+ Completed 200 OK in 392ms (Views: 379.9ms | ActiveRecord: 6.8ms)
58292
+
58293
+
58294
+ Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-27 22:08:04 +0000
58295
+
58296
+
58297
+ Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-27 22:08:04 +0000
58298
+
58299
+
58300
+ Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-27 22:08:04 +0000
58301
+
58302
+
58303
+ Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-27 22:08:04 +0000
58304
+
58305
+
58306
+ Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-27 22:08:05 +0000
58307
+
58308
+
58309
+ Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-27 22:08:05 +0000
58310
+
58311
+
58312
+ Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-27 22:08:05 +0000
58313
+
58314
+
58315
+ Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-27 22:08:05 +0000
58316
+
58317
+
58318
+ Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-27 22:08:06 +0000
58319
+
58320
+
58321
+ Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-27 22:08:06 +0000
58322
+
58323
+
58324
+ Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-27 22:08:06 +0000
58325
+
58326
+
58327
+ Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-27 22:08:06 +0000
58328
+
58329
+
58330
+ Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:08:06 +0000
58331
+
58332
+
58333
+ Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-27 22:08:07 +0000
58334
+
58335
+
58336
+ Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:08:07 +0000
58337
+
58338
+
58339
+ Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-27 22:08:07 +0000
58340
+
58341
+
58342
+ Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-27 22:08:07 +0000
58343
+
58344
+
58345
+ Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-27 22:08:07 +0000
58346
+
58347
+
58348
+ Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:08:08 +0000
58349
+
58350
+
58351
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:08:08 +0000
58352
+
58353
+
58354
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-27 22:08:08 +0000
58355
+
58356
+
58357
+ Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-27 22:08:08 +0000
58358
+
58359
+
58360
+ Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:08:08 +0000
58361
+
58362
+
58363
+ Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-27 22:08:09 +0000
58364
+
58365
+
58366
+ Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-27 22:08:09 +0000
58367
+
58368
+
58369
+ 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&_=1398636490921" for 10.0.2.2 at 2014-04-27 22:08:11 +0000
58370
+ Processing by Admin::CitiesController#index as JSON
58371
+ 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", "_"=>"1398636490921"}
58372
+ Carnival::AdminUser Load (2.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
58373
+  (2.5ms) SELECT COUNT(*) FROM "cities" WHERE (cities.created_at between '2014-04-01 00:00:00' and '2014-04-30 23:59:59')
58374
+ Admin::City Load (3.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
58375
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (45.0ms)
58376
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (0.9ms)
58377
+ Admin::State Load (1.7ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]]
58378
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (5.4ms)
58379
+ Admin::Country Load (1.4ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]]
58380
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (5.6ms)
58381
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (0.8ms)
58382
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (0.9ms)
58383
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.3ms)
58384
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.3ms)
58385
+ Rendered /project/app/views/carnival/shared/_action_delete.html.haml (0.4ms)
58386
+ Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (169.7ms)
58387
+ Completed 200 OK in 586ms (Views: 570.4ms | ActiveRecord: 10.9ms)