carnival 0.0.11 → 0.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. data/app/assets/images/carnival/blank.gif +0 -0
  2. data/app/assets/images/carnival/fancybox_loading.gif +0 -0
  3. data/app/assets/images/carnival/fancybox_loading@2x.gif +0 -0
  4. data/app/assets/images/carnival/fancybox_overlay.png +0 -0
  5. data/app/assets/images/carnival/fancybox_sprite.png +0 -0
  6. data/app/assets/images/carnival/fancybox_sprite@2x.png +0 -0
  7. data/app/assets/javascripts/carnival/admin.js +1 -0
  8. data/app/assets/javascripts/carnival/external/jquery.fancybox.js +2020 -0
  9. data/app/assets/stylesheets/carnival/admin.css +1 -0
  10. data/app/assets/stylesheets/carnival/datatable.css +2 -2
  11. data/app/assets/stylesheets/carnival/jquery.fancybox.css +274 -0
  12. data/app/assets/stylesheets/carnival/main.css +1 -1
  13. data/app/controllers/carnival/admin_users_controller.rb +1 -1
  14. data/app/controllers/carnival/base_admin_controller.rb +26 -4
  15. data/app/datatable/carnival/generic_datatable.rb +5 -3
  16. data/app/helpers/carnival/base_admin_helper.rb +8 -2
  17. data/app/models/carnival/action.rb +4 -4
  18. data/app/models/carnival/admin_user.rb +4 -5
  19. data/{test/dummy/app/models/admin/association_common.rb → app/models/carnival/model_helper.rb} +1 -1
  20. data/app/presenters/carnival/admin_user_presenter.rb +2 -3
  21. data/app/presenters/carnival/base_admin_presenter.rb +10 -2
  22. data/app/views/carnival/index.html.haml +1 -1
  23. data/app/views/carnival/shared/_advanced_search.html.haml +1 -1
  24. data/app/views/carnival/shared/_list_cel.pdf.haml +2 -2
  25. data/config/initializers/devise.rb +0 -4
  26. data/{test/dummy/config/locales/carnival.pt.yml → config/locales/carnival.pt-br.yml} +16 -12
  27. data/{test/dummy/config/locales/devise.pt.yml → config/locales/devise.pt-br.yml} +1 -1
  28. data/lib/carnival.rb +2 -2
  29. data/lib/carnival/config.rb +2 -4
  30. data/lib/carnival/routes.rb +3 -3
  31. data/lib/carnival/version.rb +1 -1
  32. data/lib/generators/carnival/install_generator.rb +2 -2
  33. data/test/dummy/app/models/admin/city.rb +1 -1
  34. data/test/dummy/app/models/admin/company.rb +1 -1
  35. data/test/dummy/app/models/admin/country.rb +1 -1
  36. data/test/dummy/app/models/admin/job.rb +1 -1
  37. data/test/dummy/app/models/admin/professional_experience.rb +1 -1
  38. data/test/dummy/app/models/admin/state.rb +1 -1
  39. data/test/dummy/app/models/job.rb +1 -1
  40. data/test/dummy/app/presenters/admin/country_presenter.rb +1 -1
  41. data/test/dummy/config/application.rb +1 -1
  42. data/{config/locales/carnival.pt.yml → test/dummy/config/locales/carnival.pt-br.yml} +9 -1
  43. data/{config/locales/devise.pt.yml → test/dummy/config/locales/devise.pt-br.yml} +1 -1
  44. data/test/dummy/db/development.sqlite3 +0 -0
  45. data/test/dummy/log/development.log +891 -0
  46. metadata +63 -47
  47. checksums.yaml +0 -15
  48. data/config/initializers/carnival_initializer.rb +0 -42
@@ -1,4 +1,4 @@
1
- module Admin::AssociationCommon
1
+ module Carnival::ModelHelper
2
2
 
3
3
  def to_s
4
4
  self.name
@@ -24,8 +24,7 @@ module Carnival
24
24
  action :edit
25
25
  action :destroy
26
26
  action :new
27
-
28
- model_name "carnival/admin_user"
29
-
27
+ # action :teste1, :target => :record, :path=>"http://www.google.com.br"
28
+ # action :teste2, :target => :page, :path=>"http://www.google.com.br"
30
29
  end
31
30
  end
@@ -94,7 +94,7 @@ module Carnival
94
94
  end
95
95
 
96
96
  def model_path(action, extra_params=nil)
97
- params = {controller: model_class.to_s.pluralize.underscore, action: action}
97
+ params = {controller: controller_name, action: action}
98
98
  params = params.merge(extra_params) if extra_params.present?
99
99
  params = params.merge(:only_path => true)
100
100
  url_for(params)
@@ -206,7 +206,11 @@ module Carnival
206
206
 
207
207
  def relation_path(field, record)
208
208
  if relation_field?(field)
209
- related_class = model_class.reflect_on_association(field).klass.name.pluralize.underscore
209
+ if is_namespaced? and !model_class.reflect_on_association(field).klass.name.pluralize.underscore.include?("/")
210
+ related_class = "#{extract_namespace.downcase}/#{model_class.reflect_on_association(field).klass.name.pluralize.underscore}"
211
+ else
212
+ related_class = model_class.reflect_on_association(field).klass.name.pluralize.underscore
213
+ end
210
214
  if model_class.reflect_on_association(field).macro == :belongs_to
211
215
  params = {:controller => related_class, :action => :show, :id => record.send(model_class.reflect_on_association(field).foreign_key)}
212
216
  else
@@ -314,6 +318,10 @@ module Carnival
314
318
  end
315
319
  end
316
320
 
321
+ def is_namespaced?
322
+ self.class.to_s.split("::").size > 0
323
+ end
324
+
317
325
  def extract_namespace
318
326
  namespace = ""
319
327
  arr = self.class.to_s.split("::")
@@ -30,7 +30,7 @@
30
30
  %thead
31
31
  %tr
32
32
  -presenter.fields_for_action(:index).each do |key, field|
33
- %th{"data-sortable" => "#{field.sortable?}"}= t("#{presenter.model_name}.#{field.name}")
33
+ %th{"data-sortable" => "#{field.sortable?}"}= t("activerecord.attributes.#{presenter.full_model_name}.#{field.name}")
34
34
  %th.buttons
35
35
  %tbody
36
36
 
@@ -16,7 +16,7 @@
16
16
  %li.search_item
17
17
  .search_field
18
18
  .label
19
- = label_tag key, t("#{presenter.model_name}.#{key}")
19
+ = label_tag key, t("activerecord.attributes.#{presenter.full_model_name}.#{key}")
20
20
  .field
21
21
  = render '/carnival/shared/advanced_search_field', :field => field, :presenter => presenter
22
22
  %li.search_item
@@ -3,7 +3,7 @@
3
3
  = result
4
4
  - else
5
5
  %td{:class => "first-td"}
6
- - if presenter.classes_css(field, record).present?
7
- %span{class: "#{presenter.classes_css(field, record)}"}= result
6
+ - if presenter.fields[field].css_class.present?
7
+ %span{class: "#{presenter.fields[field].css_class}"}= result
8
8
  - else
9
9
  = result
@@ -251,8 +251,4 @@ Devise.setup do |config|
251
251
  # When using omniauth, Devise cannot automatically set Omniauth path,
252
252
  # so you need to do it manually. For the users scope, it would be:
253
253
  # config.omniauth_path_prefix = '/my_engine/users/auth'
254
-
255
- require "omniauth-facebook"
256
- config.omniauth :facebook, "324810390938005", "3c16625e74189a3708cc586dc050a6b2"
257
- config.omniauth :google_oauth2, '431077382019-mumumjahr5cn6cooubtskc6ohael7923.apps.googleusercontent.com', 'ilH4B-KXN3tqG6qF9gGN1F_J'
258
254
  end
@@ -1,4 +1,4 @@
1
- pt:
1
+ pt-BR:
2
2
  menu:
3
3
  dashboard: Dashboard
4
4
  admin_user: Usuários administradores
@@ -184,12 +184,27 @@ pt:
184
184
  id: ID
185
185
 
186
186
  admin_user:
187
+ name: Nome
188
+ show: Visualizar
189
+ destroy: Apagar
187
190
  edit: Editando usuário administrador
188
191
  new: Novo usuário administrador
189
192
  lista: Usuários administradores
193
+ admin: Administrador
194
+ account_name: Contaform
195
+ notification: Notificação
196
+ <<: *default_columns
190
197
 
191
198
  # Active Record
192
199
  activerecord:
200
+ attributes:
201
+ carnival/admin_user:
202
+ email: E-mail
203
+ name: Nome
204
+ id: Código
205
+ current_sign_in_at: Acesso atual em
206
+ last_sign_in_at: Último acesso em
207
+ sign_in_count: Total de acessos
193
208
  errors:
194
209
  template:
195
210
  header:
@@ -218,15 +233,4 @@ pt:
218
233
  even: "precisa ser par"
219
234
  models:
220
235
  admin_user: Usuário Administrador
221
- attributes:
222
- carnival/admin_user:
223
- name: Nome
224
- email: E-mail
225
- admin: Administrador
226
- account_name: Conta
227
- notification: Notificação
228
- current_sign_in_at: Acesso atual em
229
- last_sign_in_at: Último acesso em
230
- sign_in_count: Total de acessos
231
- <<: *default_columns
232
236
 
@@ -1,6 +1,6 @@
1
1
  # Additional translations at https://github.com/plataformatec/devise/wiki/I18n
2
2
 
3
- pt:
3
+ pt-BR:
4
4
  devise:
5
5
  confirmations:
6
6
  confirmed: "Your account was successfully confirmed."
data/lib/carnival.rb CHANGED
@@ -3,8 +3,8 @@ require "devise"
3
3
  require "simple_form"
4
4
  require "inherited_resources"
5
5
  require "will_paginate"
6
- require "omniauth-facebook"
7
- require "omniauth-google-oauth2"
6
+ # require "omniauth-facebook"
7
+ # require "omniauth-google-oauth2"
8
8
  require "carnival/engine"
9
9
  require "carnival/config"
10
10
  require "carnival/routes"
@@ -1,10 +1,8 @@
1
1
  module Carnival
2
+
2
3
  class Config
3
4
  mattr_accessor :menu
4
5
  @@menu
5
-
6
- mattr_accessor :allow_signup
7
- @@allow_signup = false
8
-
9
6
  end
7
+
10
8
  end
@@ -2,11 +2,11 @@ module ActionDispatch::Routing
2
2
  class Mapper
3
3
  def mount_carnival_at(mount_location)
4
4
  scope mount_location do
5
- get "#{mount_location}/admin_user_notification/read/:id" => 'carnival/admin_user_notifications#read', as: :carnival_read_admin_user_notification
5
+ get "admin_user_notification/read/:id" => 'carnival/admin_user_notifications#read', as: :carnival_read_admin_user_notification
6
6
  resources :admin_user_notifications, controller: "carnival/admin_user_notifications", :as => :carnival_admin_user_notifications
7
7
  resources :admin_users, controller: "carnival/admin_users", :as => :carnival_admin_users
8
- devise_for :admin_users, :class_name => "Carnival::AdminUser", :path => "#{mount_location}/sessions", :controllers => { :sessions => "carnival/sessions", :omniauth_callbacks => "#{mount_location}/omniauth_callbacks" }
9
- root to: "#{mount_location}/admin_users#index", :as => :admin_root
8
+ devise_for :admin_users, :class_name => "Carnival::AdminUser", :path => "sessions", :controllers => { :sessions => "carnival/sessions" }
9
+ root to: "carnival/admin_users#index", :as => :admin_root
10
10
  end
11
11
  end
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module Carnival
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.26"
3
3
  end
@@ -8,8 +8,8 @@ module Carnival
8
8
  route "mount_carnival_at 'admin'"
9
9
  rake 'carnival_engine:install:migrations'
10
10
  template "../../../../config/locales/carnival.en.yml", "config/locales/carnival.en.yml"
11
- template "../../../../config/locales/carnival.pt.yml", "config/locales/carnival.pt.yml"
12
- template "../../../../config/locales/devise.pt.yml", "config/locales/devise.pt.yml"
11
+ template "../../../../config/locales/carnival.pt-br.yml", "config/locales/carnival.pt-br.yml"
12
+ template "../../../../config/locales/devise.pt-br.yml", "config/locales/devise.pt-br.yml"
13
13
  template "../../../../config/locales/devise.en.yml", "config/locales/devise.en.yml"
14
14
  template "carnival_initializer.rb", "config/initializers/carnival_initializer.rb"
15
15
  end
@@ -1,6 +1,6 @@
1
1
  module Admin
2
2
  class City < ActiveRecord::Base
3
- include AssociationCommon
3
+ include Carnival::ModelHelper
4
4
  self.table_name = "cities"
5
5
  belongs_to :country
6
6
  belongs_to :state
@@ -1,6 +1,6 @@
1
1
  module Admin
2
2
  class Company < ActiveRecord::Base
3
- include AssociationCommon
3
+ include Carnival::ModelHelper
4
4
  self.table_name = "companies"
5
5
 
6
6
  belongs_to :country
@@ -1,6 +1,6 @@
1
1
  module Admin
2
2
  class Country < ActiveRecord::Base
3
- include AssociationCommon
3
+ include Carnival::ModelHelper
4
4
  self.table_name = "countries"
5
5
 
6
6
  has_many :states
@@ -1,6 +1,6 @@
1
1
  module Admin
2
2
  class Job < ActiveRecord::Base
3
- include AssociationCommon
3
+ include Carnival::ModelHelper
4
4
  self.table_name = "jobs"
5
5
 
6
6
  has_many :professional_experiences
@@ -1,6 +1,6 @@
1
1
  module Admin
2
2
  class ProfessionalExperience < ActiveRecord::Base
3
- include AssociationCommon
3
+ include Carnival::ModelHelper
4
4
  self.table_name = "professions"
5
5
 
6
6
  belongs_to :people
@@ -1,6 +1,6 @@
1
1
  module Admin
2
2
  class State < ActiveRecord::Base
3
- include AssociationCommon
3
+ include Carnival::ModelHelper
4
4
  self.table_name = "states"
5
5
 
6
6
  belongs_to :country
@@ -1,6 +1,6 @@
1
1
  module Admin
2
2
  class Job < ActiveRecord::Base
3
- include AssociationCommon
3
+ include Carnival::ModelHelper
4
4
  has_many :professional_experiences
5
5
  has_many :companies, :through => :professional_experiences
6
6
  has_many :people, :through => :professional_experiences
@@ -2,7 +2,7 @@
2
2
  module Admin
3
3
  class CountryPresenter < Carnival::BaseAdminPresenter
4
4
  field :id,
5
- :actions => [:index, :show], :sortable => false,
5
+ :actions => [:index, :show, :csv, :pdf], :sortable => false,
6
6
  :searchable => true,
7
7
  :advanced_search => {:operator => :equal}
8
8
  field :name,
@@ -17,6 +17,6 @@ module Dummy
17
17
 
18
18
  # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
19
19
  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
20
- config.i18n.default_locale = :pt
20
+ config.i18n.default_locale = 'pt-BR'
21
21
  end
22
22
  end
@@ -1,4 +1,4 @@
1
- pt:
1
+ pt-BR:
2
2
  menu:
3
3
  dashboard: Dashboard
4
4
  admin_user: Usuários administradores
@@ -199,6 +199,13 @@ pt:
199
199
 
200
200
  # Active Record
201
201
  activerecord:
202
+ attributes:
203
+ carnival/admin_user:
204
+ email: E-mail
205
+ name: Nome
206
+ id: Código
207
+ last_sign_in_at: Último login
208
+ sign_in_count: Número de conexões
202
209
  errors:
203
210
  template:
204
211
  header:
@@ -227,3 +234,4 @@ pt:
227
234
  even: "precisa ser par"
228
235
  models:
229
236
  admin_user: Usuário Administrador
237
+
@@ -1,6 +1,6 @@
1
1
  # Additional translations at https://github.com/plataformatec/devise/wiki/I18n
2
2
 
3
- pt:
3
+ pt-BR:
4
4
  devise:
5
5
  confirmations:
6
6
  confirmed: "Your account was successfully confirmed."
Binary file
@@ -19640,3 +19640,894 @@ Started GET "/assets/carnival/datatables-loading.gif" for 10.0.2.2 at 2014-03-25
19640
19640
 
19641
19641
 
19642
19642
  Started GET "/assets/carnival/novo.png" for 10.0.2.2 at 2014-03-25 21:10:54 +0000
19643
+
19644
+
19645
+ Started GET "/admin/cities" for 10.0.2.2 at 2014-03-26 14:04:46 +0000
19646
+ ActiveRecord::SchemaMigration Load (1.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
19647
+ Processing by Admin::CitiesController#index as HTML
19648
+ Completed 401 Unauthorized in 117ms
19649
+
19650
+
19651
+ Started GET "/admin/admin/sessions/sign_in" for 10.0.2.2 at 2014-03-26 14:04:47 +0000
19652
+ Processing by Carnival::SessionsController#new as HTML
19653
+ Rendered /project/app/views/admin_users/shared/_links.html.haml (6.1ms)
19654
+ Rendered /project/app/views/admin_users/sessions/new.html.haml within layouts/carnival/admin (227.3ms)
19655
+ Rendered /project/app/views/layouts/carnival/_menu.html.haml (5.1ms)
19656
+ Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (3.7ms)
19657
+ Completed 200 OK in 1326ms (Views: 1255.5ms | ActiveRecord: 2.3ms)
19658
+
19659
+
19660
+ Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-03-26 14:04:49 +0000
19661
+
19662
+
19663
+ Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-03-26 14:04:49 +0000
19664
+
19665
+
19666
+ Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-03-26 14:04:49 +0000
19667
+
19668
+
19669
+ Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-03-26 14:04:49 +0000
19670
+
19671
+
19672
+ Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-03-26 14:04:50 +0000
19673
+
19674
+
19675
+ Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-03-26 14:04:50 +0000
19676
+
19677
+
19678
+ Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-03-26 14:04:50 +0000
19679
+
19680
+
19681
+ Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-03-26 14:04:50 +0000
19682
+
19683
+
19684
+ Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-03-26 14:04:50 +0000
19685
+
19686
+
19687
+ Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-03-26 14:04:51 +0000
19688
+
19689
+
19690
+ Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-03-26 14:04:51 +0000
19691
+
19692
+
19693
+ Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-03-26 14:04:51 +0000
19694
+
19695
+
19696
+ Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-03-26 14:04:51 +0000
19697
+
19698
+
19699
+ Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-03-26 14:04:51 +0000
19700
+
19701
+
19702
+ Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-03-26 14:04:52 +0000
19703
+
19704
+
19705
+ Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-03-26 14:04:52 +0000
19706
+
19707
+
19708
+ Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-03-26 14:04:52 +0000
19709
+
19710
+
19711
+ Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-03-26 14:04:52 +0000
19712
+
19713
+
19714
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-03-26 14:04:53 +0000
19715
+
19716
+
19717
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-03-26 14:04:53 +0000
19718
+
19719
+
19720
+ Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-03-26 14:04:53 +0000
19721
+
19722
+
19723
+ Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-03-26 14:04:53 +0000
19724
+
19725
+
19726
+ Started GET "/assets/carnival/header-bg.png" for 10.0.2.2 at 2014-03-26 14:04:53 +0000
19727
+
19728
+
19729
+ Started GET "/assets/carnival/fonts/opensans-regular-webfont.woff" for 10.0.2.2 at 2014-03-26 14:04:54 +0000
19730
+
19731
+
19732
+ Started GET "/assets/carnival/overlay.png" for 10.0.2.2 at 2014-03-26 14:04:54 +0000
19733
+
19734
+
19735
+ Started GET "/assets/favicon.ico" for 10.0.2.2 at 2014-03-26 14:04:54 +0000
19736
+
19737
+ ActionController::RoutingError (No route matches [GET] "/assets/favicon.ico"):
19738
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
19739
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19740
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
19741
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
19742
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
19743
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
19744
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
19745
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
19746
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
19747
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
19748
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
19749
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
19750
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19751
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
19752
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
19753
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
19754
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
19755
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19756
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
19757
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
19758
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
19759
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
19760
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
19761
+
19762
+
19763
+ Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms)
19764
+ Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (6.8ms)
19765
+ 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.6ms)
19766
+ 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 (113.1ms)
19767
+
19768
+
19769
+ Started POST "/admin/admin/sessions/sign_in" for 10.0.2.2 at 2014-03-26 14:05:02 +0000
19770
+ Processing by Carnival::SessionsController#create as HTML
19771
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"zXvzyVjHnMLlQmYGkbUmpnuHuyH40rGvKs+7odU4Igs=", "admin_user"=>{"email"=>"antonioams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Fazer login"}
19772
+ Carnival::AdminUser Load (2.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."email" = 'antonioams@gmail.com' ORDER BY "admin_users"."id" ASC LIMIT 1
19773
+  (0.1ms) begin transaction
19774
+ SQL (26.2ms) UPDATE "admin_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "admin_users"."id" = 1 [["last_sign_in_at", Tue, 25 Mar 2014 19:12:03 UTC +00:00], ["current_sign_in_at", Wed, 26 Mar 2014 14:05:03 UTC +00:00], ["sign_in_count", 5], ["updated_at", Wed, 26 Mar 2014 14:05:03 UTC +00:00]]
19775
+  (3.6ms) commit transaction
19776
+ Redirected to http://localhost:3013/admin
19777
+ Completed 302 Found in 194ms (ActiveRecord: 32.1ms)
19778
+
19779
+
19780
+ Started GET "/admin" for 10.0.2.2 at 2014-03-26 14:05:03 +0000
19781
+
19782
+ ActionController::RoutingError - uninitialized constant Admin::AdminUsersController:
19783
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:69:in `rescue in controller'
19784
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:64:in `controller'
19785
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:44:in `call'
19786
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
19787
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
19788
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
19789
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
19790
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
19791
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
19792
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
19793
+ bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
19794
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
19795
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
19796
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
19797
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
19798
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
19799
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
19800
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
19801
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
19802
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
19803
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
19804
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
19805
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
19806
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
19807
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
19808
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__565793774__call__callbacks'
19809
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
19810
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
19811
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
19812
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
19813
+ better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
19814
+ better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
19815
+ better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call'
19816
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
19817
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19818
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
19819
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
19820
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
19821
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
19822
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
19823
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
19824
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
19825
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
19826
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
19827
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
19828
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19829
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
19830
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
19831
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
19832
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
19833
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19834
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
19835
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
19836
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
19837
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
19838
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
19839
+
19840
+
19841
+
19842
+ Started POST "/__better_errors/90355240/variables" for 10.0.2.2 at 2014-03-26 14:05:03 +0000
19843
+
19844
+
19845
+ Started GET "/admin/admin_users" for 10.0.2.2 at 2014-03-26 14:05:12 +0000
19846
+ Processing by Carnival::AdminUsersController#index as HTML
19847
+ Carnival::AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
19848
+ Completed 500 Internal Server Error in 18ms
19849
+
19850
+ SyntaxError - /project/app/presenters/carnival/admin_user_presenter.rb:29: syntax error, unexpected $end, expecting keyword_end:
19851
+ /project/app/presenters/carnival/admin_user_presenter.rb:29:in `'
19852
+ activesupport (4.0.4) lib/active_support/dependencies.rb:424:in `block in load_file'
19853
+ activesupport (4.0.4) lib/active_support/dependencies.rb:616:in `new_constants_in'
19854
+ activesupport (4.0.4) lib/active_support/dependencies.rb:423:in `load_file'
19855
+ activesupport (4.0.4) lib/active_support/dependencies.rb:324:in `require_or_load'
19856
+ activesupport (4.0.4) lib/active_support/dependencies.rb:463:in `load_missing_constant'
19857
+ activesupport (4.0.4) lib/active_support/dependencies.rb:184:in `const_missing'
19858
+ activesupport (4.0.4) lib/active_support/inflector/methods.rb:228:in `block in constantize'
19859
+ activesupport (4.0.4) lib/active_support/inflector/methods.rb:224:in `constantize'
19860
+ activesupport (4.0.4) lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
19861
+ /project/app/controllers/carnival/base_admin_controller.rb:85:in `instantiate_presenter'
19862
+ /project/app/controllers/carnival/base_admin_controller.rb:7:in `generate_datatable'
19863
+ /project/app/controllers/carnival/base_admin_controller.rb:12:in `index'
19864
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
19865
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
19866
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
19867
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
19868
+ activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__422787402__process_action__callbacks'
19869
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
19870
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
19871
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
19872
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
19873
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
19874
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19875
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
19876
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
19877
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
19878
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
19879
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
19880
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
19881
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
19882
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
19883
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
19884
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
19885
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
19886
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
19887
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
19888
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
19889
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
19890
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
19891
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
19892
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
19893
+ bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
19894
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
19895
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
19896
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
19897
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
19898
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
19899
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
19900
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
19901
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
19902
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
19903
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
19904
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
19905
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
19906
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
19907
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
19908
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__565793774__call__callbacks'
19909
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
19910
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
19911
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
19912
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
19913
+ better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
19914
+ better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
19915
+ better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call'
19916
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
19917
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19918
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
19919
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
19920
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
19921
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
19922
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
19923
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
19924
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
19925
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
19926
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
19927
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
19928
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19929
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
19930
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
19931
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
19932
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
19933
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19934
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
19935
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
19936
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
19937
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
19938
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
19939
+
19940
+
19941
+
19942
+ Started POST "/__better_errors/89682480/variables" for 10.0.2.2 at 2014-03-26 14:05:12 +0000
19943
+
19944
+
19945
+ Started GET "/admin/admin_users" for 10.0.2.2 at 2014-03-26 14:05:29 +0000
19946
+ Processing by Carnival::AdminUsersController#index as HTML
19947
+ Carnival::AdminUser Load (2.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
19948
+ Completed 500 Internal Server Error in 451ms
19949
+
19950
+ ActionView::MissingTemplate - Missing template carnival/admin_users/index, carnival/base_admin/index, inherited_resources/base/index, application/index with {:locale=>[:pt], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml]}. Searched in:
19951
+ * "/project/test/dummy/app/views"
19952
+ * "/project/app/views"
19953
+ * "/home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/devise-3.2.4/app/views"
19954
+ :
19955
+ actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
19956
+ actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
19957
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
19958
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
19959
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
19960
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
19961
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
19962
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
19963
+ actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
19964
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
19965
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
19966
+ actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
19967
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
19968
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
19969
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
19970
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
19971
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
19972
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
19973
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
19974
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
19975
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
19976
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
19977
+ wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf'
19978
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
19979
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
19980
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
19981
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
19982
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
19983
+ activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__422787402__process_action__callbacks'
19984
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
19985
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
19986
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
19987
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
19988
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
19989
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19990
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
19991
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
19992
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
19993
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
19994
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
19995
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
19996
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
19997
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
19998
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
19999
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
20000
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
20001
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
20002
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
20003
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
20004
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
20005
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
20006
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
20007
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
20008
+ bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
20009
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
20010
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
20011
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
20012
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
20013
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
20014
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
20015
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
20016
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
20017
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
20018
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
20019
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
20020
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
20021
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
20022
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
20023
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__565793774__call__callbacks'
20024
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
20025
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
20026
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
20027
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
20028
+ better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
20029
+ better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
20030
+ better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call'
20031
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
20032
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
20033
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
20034
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
20035
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
20036
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
20037
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
20038
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
20039
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
20040
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
20041
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
20042
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
20043
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20044
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
20045
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
20046
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
20047
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
20048
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20049
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
20050
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
20051
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
20052
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
20053
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
20054
+
20055
+
20056
+
20057
+ Started POST "/__better_errors/91796610/variables" for 10.0.2.2 at 2014-03-26 14:05:30 +0000
20058
+
20059
+
20060
+ Started POST "/__better_errors/91796610/variables" for 10.0.2.2 at 2014-03-26 14:06:31 +0000
20061
+
20062
+
20063
+ Started POST "/__better_errors/91796610/variables" for 10.0.2.2 at 2014-03-26 14:10:30 +0000
20064
+
20065
+
20066
+ Started POST "/__better_errors/91796610/variables" for 10.0.2.2 at 2014-03-26 14:10:59 +0000
20067
+
20068
+
20069
+ Started POST "/__better_errors/91796610/variables" for 10.0.2.2 at 2014-03-26 14:11:02 +0000
20070
+
20071
+
20072
+ Started POST "/__better_errors/91796610/variables" for 10.0.2.2 at 2014-03-26 14:11:03 +0000
20073
+
20074
+
20075
+ Started POST "/__better_errors/91796610/variables" for 10.0.2.2 at 2014-03-26 14:11:03 +0000
20076
+
20077
+
20078
+ Started POST "/__better_errors/91796610/variables" for 10.0.2.2 at 2014-03-26 14:11:05 +0000
20079
+
20080
+
20081
+ Started POST "/__better_errors/91796610/variables" for 10.0.2.2 at 2014-03-26 14:11:07 +0000
20082
+
20083
+
20084
+ Started POST "/__better_errors/91796610/variables" for 10.0.2.2 at 2014-03-26 14:11:08 +0000
20085
+
20086
+
20087
+ Started GET "/admin/admin_users" for 10.0.2.2 at 2014-03-26 14:14:06 +0000
20088
+ Processing by Carnival::AdminUsersController#index as HTML
20089
+ Carnival::AdminUser Load (1.6ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
20090
+ Completed 500 Internal Server Error in 311ms
20091
+
20092
+ ActionView::MissingTemplate - Missing template carnival/admin_users/index, carnival/base_admin/index, inherited_resources/base/index, application/index with {:locale=>[:pt], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml]}. Searched in:
20093
+ * "/project/test/dummy/app/views"
20094
+ * "/project/app/views"
20095
+ * "/home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/devise-3.2.4/app/views"
20096
+ :
20097
+ actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
20098
+ actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
20099
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
20100
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
20101
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
20102
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
20103
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
20104
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
20105
+ actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
20106
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
20107
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
20108
+ actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
20109
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
20110
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
20111
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
20112
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
20113
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
20114
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
20115
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
20116
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
20117
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
20118
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
20119
+ wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf'
20120
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
20121
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
20122
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
20123
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
20124
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
20125
+ activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__422787402__process_action__callbacks'
20126
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
20127
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
20128
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
20129
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
20130
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
20131
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
20132
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
20133
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
20134
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
20135
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
20136
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
20137
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
20138
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
20139
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
20140
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
20141
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
20142
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
20143
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
20144
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
20145
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
20146
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
20147
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
20148
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
20149
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
20150
+ bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
20151
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
20152
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
20153
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
20154
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
20155
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
20156
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
20157
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
20158
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
20159
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
20160
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
20161
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
20162
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
20163
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
20164
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
20165
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__565793774__call__callbacks'
20166
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
20167
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
20168
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
20169
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
20170
+ better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
20171
+ better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
20172
+ better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call'
20173
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
20174
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
20175
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
20176
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
20177
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
20178
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
20179
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
20180
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
20181
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
20182
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
20183
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
20184
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
20185
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20186
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
20187
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
20188
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
20189
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
20190
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20191
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
20192
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
20193
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
20194
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
20195
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
20196
+
20197
+
20198
+
20199
+ Started POST "/__better_errors/91001990/variables" for 10.0.2.2 at 2014-03-26 14:14:07 +0000
20200
+
20201
+
20202
+ Started GET "/admin/admin_users" for 10.0.2.2 at 2014-03-26 14:14:19 +0000
20203
+ Processing by Carnival::AdminUsersController#index as HTML
20204
+ Carnival::AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
20205
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (2.6ms)
20206
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (0.7ms)
20207
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (0.7ms)
20208
+ Rendered /project/app/views/carnival/shared/_advanced_search.html.haml (133.3ms)
20209
+ Rendered /project/app/views/carnival/shared/_scope.html.haml (5.9ms)
20210
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (1.4ms)
20211
+ Rendered /project/app/views/carnival/shared/_period_filter.html.haml (6.7ms)
20212
+ Rendered /project/app/views/carnival/index.html.haml within layouts/carnival/admin (323.4ms)
20213
+ 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]]
20214
+ 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]]
20215
+ 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]]
20216
+ Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (84.6ms)
20217
+ Rendered /project/app/views/layouts/carnival/_menu.html.haml (37.2ms)
20218
+ Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.2ms)
20219
+ Completed 200 OK in 1052ms (Views: 778.4ms | ActiveRecord: 12.8ms)
20220
+
20221
+
20222
+ Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-03-26 14:14:20 +0000
20223
+
20224
+
20225
+ Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-03-26 14:14:21 +0000
20226
+
20227
+
20228
+ Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-03-26 14:14:21 +0000
20229
+
20230
+
20231
+ Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-03-26 14:14:21 +0000
20232
+
20233
+
20234
+ Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-03-26 14:14:21 +0000
20235
+
20236
+
20237
+ Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-03-26 14:14:21 +0000
20238
+
20239
+
20240
+ Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-03-26 14:14:22 +0000
20241
+
20242
+
20243
+ Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-03-26 14:14:22 +0000
20244
+
20245
+
20246
+ Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-03-26 14:14:22 +0000
20247
+
20248
+
20249
+ Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-03-26 14:14:22 +0000
20250
+
20251
+
20252
+ Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-03-26 14:14:22 +0000
20253
+
20254
+
20255
+ Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-03-26 14:14:22 +0000
20256
+
20257
+
20258
+ Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-03-26 14:14:23 +0000
20259
+
20260
+
20261
+ Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-03-26 14:14:23 +0000
20262
+
20263
+
20264
+ Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-03-26 14:14:23 +0000
20265
+
20266
+
20267
+ Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-03-26 14:14:23 +0000
20268
+
20269
+
20270
+ Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-03-26 14:14:23 +0000
20271
+
20272
+
20273
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-03-26 14:14:24 +0000
20274
+
20275
+
20276
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-03-26 14:14:24 +0000
20277
+
20278
+
20279
+ Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-03-26 14:14:24 +0000
20280
+
20281
+
20282
+ Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-03-26 14:14:24 +0000
20283
+
20284
+
20285
+ Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-03-26 14:14:24 +0000
20286
+
20287
+
20288
+ Started GET "/assets/carnival/advanced_search.js?body=1" for 10.0.2.2 at 2014-03-26 14:14:25 +0000
20289
+
20290
+
20291
+ Started GET "/assets/carnival/data_tables_functions.js?body=1" for 10.0.2.2 at 2014-03-26 14:14:25 +0000
20292
+
20293
+
20294
+ Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-03-26 14:14:25 +0000
20295
+
20296
+
20297
+ Started GET "/assets/carnival/sprites.png" for 10.0.2.2 at 2014-03-26 14:14:25 +0000
20298
+
20299
+
20300
+ Started GET "/assets/carnival/sort_both.png" for 10.0.2.2 at 2014-03-26 14:14:25 +0000
20301
+
20302
+
20303
+ Started GET "/assets/carnival/sort_asc.png" for 10.0.2.2 at 2014-03-26 14:14:26 +0000
20304
+
20305
+
20306
+ Started GET "/assets/carnival/sprites-active.png" for 10.0.2.2 at 2014-03-26 14:14:26 +0000
20307
+
20308
+
20309
+ Started GET "/assets/carnival/novo.png" for 10.0.2.2 at 2014-03-26 14:14:26 +0000
20310
+
20311
+
20312
+ 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&_=1395843263229" for 10.0.2.2 at 2014-03-26 14:14:26 +0000
20313
+ Processing by Carnival::AdminUsersController#index as JSON
20314
+ 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", "_"=>"1395843263229"}
20315
+ Carnival::AdminUser Load (1.8ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
20316
+  (1.7ms) SELECT COUNT(*) FROM "admin_users"
20317
+ Carnival::AdminUser Load (1.8ms) SELECT "admin_users".* FROM "admin_users" ORDER BY admin_users.id asc LIMIT 50 OFFSET 0
20318
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (35.0ms)
20319
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (0.8ms)
20320
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (0.9ms)
20321
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.1ms)
20322
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (34.9ms)
20323
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (1.3ms)
20324
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.2ms)
20325
+ Rendered /project/app/views/carnival/shared/_action_delete.html.haml (1.5ms)
20326
+ Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (172.9ms)
20327
+ Completed 200 OK in 497ms (Views: 487.8ms | ActiveRecord: 5.2ms)
20328
+
20329
+
20330
+ Started GET "/assets/carnival/search.png" for 10.0.2.2 at 2014-03-26 14:14:27 +0000
20331
+
20332
+
20333
+ Started GET "/assets/carnival/datatables-loading.gif" for 10.0.2.2 at 2014-03-26 14:14:27 +0000
20334
+
20335
+
20336
+ Started GET "/assets/carnival/novo.png" for 10.0.2.2 at 2014-03-26 14:15:55 +0000
20337
+
20338
+
20339
+ Started GET "/admin/admin_users" for 10.0.2.2 at 2014-03-26 14:15:56 +0000
20340
+
20341
+ SyntaxError - /project/app/controllers/carnival/base_admin_controller.rb:118: syntax error, unexpected $end, expecting keyword_end:
20342
+ /project/app/controllers/carnival/base_admin_controller.rb:118:in `'
20343
+ activesupport (4.0.4) lib/active_support/dependencies.rb:424:in `block in load_file'
20344
+ activesupport (4.0.4) lib/active_support/dependencies.rb:616:in `new_constants_in'
20345
+ activesupport (4.0.4) lib/active_support/dependencies.rb:423:in `load_file'
20346
+ activesupport (4.0.4) lib/active_support/dependencies.rb:324:in `require_or_load'
20347
+ activesupport (4.0.4) lib/active_support/dependencies.rb:463:in `load_missing_constant'
20348
+ activesupport (4.0.4) lib/active_support/dependencies.rb:184:in `const_missing'
20349
+ /project/app/controllers/carnival/admin_users_controller.rb:3:in `<module:Carnival>'
20350
+ /project/app/controllers/carnival/admin_users_controller.rb:1:in `<top (required)>'
20351
+ activesupport (4.0.4) lib/active_support/dependencies.rb:424:in `block in load_file'
20352
+ activesupport (4.0.4) lib/active_support/dependencies.rb:616:in `new_constants_in'
20353
+ activesupport (4.0.4) lib/active_support/dependencies.rb:423:in `load_file'
20354
+ activesupport (4.0.4) lib/active_support/dependencies.rb:324:in `require_or_load'
20355
+ activesupport (4.0.4) lib/active_support/dependencies.rb:463:in `load_missing_constant'
20356
+ activesupport (4.0.4) lib/active_support/dependencies.rb:184:in `const_missing'
20357
+ activesupport (4.0.4) lib/active_support/inflector/methods.rb:228:in `block in constantize'
20358
+ activesupport (4.0.4) lib/active_support/inflector/methods.rb:224:in `constantize'
20359
+ activesupport (4.0.4) lib/active_support/dependencies.rb:535:in `get'
20360
+ activesupport (4.0.4) lib/active_support/dependencies.rb:566:in `constantize'
20361
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:76:in `controller_reference'
20362
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:66:in `controller'
20363
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:44:in `call'
20364
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
20365
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
20366
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
20367
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
20368
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
20369
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
20370
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
20371
+ bullet (4.6.0) lib/bullet/rack.rb:13:in `call'
20372
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
20373
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
20374
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
20375
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
20376
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
20377
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
20378
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
20379
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
20380
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
20381
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
20382
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
20383
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
20384
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
20385
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
20386
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__565793774__call__callbacks'
20387
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
20388
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
20389
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
20390
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
20391
+ better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
20392
+ better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
20393
+ better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call'
20394
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
20395
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
20396
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
20397
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
20398
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
20399
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
20400
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
20401
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
20402
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
20403
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
20404
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
20405
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
20406
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20407
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
20408
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
20409
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
20410
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
20411
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20412
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
20413
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
20414
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
20415
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
20416
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
20417
+
20418
+
20419
+
20420
+ Started POST "/__better_errors/87799660/variables" for 10.0.2.2 at 2014-03-26 14:15:57 +0000
20421
+
20422
+
20423
+ Started GET "/admin/admin_users" for 10.0.2.2 at 2014-03-26 14:16:14 +0000
20424
+ Processing by Carnival::AdminUsersController#index as HTML
20425
+ Carnival::AdminUser Load (2.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
20426
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (0.8ms)
20427
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (0.7ms)
20428
+ Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (0.6ms)
20429
+ Rendered /project/app/views/carnival/shared/_advanced_search.html.haml (107.4ms)
20430
+ Rendered /project/app/views/carnival/shared/_scope.html.haml (0.2ms)
20431
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.3ms)
20432
+ Rendered /project/app/views/carnival/shared/_period_filter.html.haml (0.1ms)
20433
+ Rendered /project/app/views/carnival/index.html.haml within layouts/carnival/admin (247.7ms)
20434
+ 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]]
20435
+ 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]]
20436
+ 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]]
20437
+ Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (36.0ms)
20438
+ Rendered /project/app/views/layouts/carnival/_menu.html.haml (8.7ms)
20439
+ Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.2ms)
20440
+ Completed 200 OK in 837ms (Views: 611.7ms | ActiveRecord: 12.5ms)
20441
+
20442
+
20443
+ Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-03-26 14:16:16 +0000
20444
+
20445
+
20446
+ Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-03-26 14:16:16 +0000
20447
+
20448
+
20449
+ Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-03-26 14:16:16 +0000
20450
+
20451
+
20452
+ Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-03-26 14:16:17 +0000
20453
+
20454
+
20455
+ Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-03-26 14:16:17 +0000
20456
+
20457
+
20458
+ Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-03-26 14:16:17 +0000
20459
+
20460
+
20461
+ Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-03-26 14:16:17 +0000
20462
+
20463
+
20464
+ Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-03-26 14:16:17 +0000
20465
+
20466
+
20467
+ Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-03-26 14:16:17 +0000
20468
+
20469
+
20470
+ Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-03-26 14:16:18 +0000
20471
+
20472
+
20473
+ Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-03-26 14:16:18 +0000
20474
+
20475
+
20476
+ Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-03-26 14:16:18 +0000
20477
+
20478
+
20479
+ Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-03-26 14:16:18 +0000
20480
+
20481
+
20482
+ Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-03-26 14:16:18 +0000
20483
+
20484
+
20485
+ Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-03-26 14:16:19 +0000
20486
+
20487
+
20488
+ Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-03-26 14:16:19 +0000
20489
+
20490
+
20491
+ Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-03-26 14:16:19 +0000
20492
+
20493
+
20494
+ Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-03-26 14:16:19 +0000
20495
+
20496
+
20497
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-03-26 14:16:20 +0000
20498
+
20499
+
20500
+ Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-03-26 14:16:20 +0000
20501
+
20502
+
20503
+ Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-03-26 14:16:20 +0000
20504
+
20505
+
20506
+ Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-03-26 14:16:20 +0000
20507
+
20508
+
20509
+ Started GET "/assets/carnival/data_tables_functions.js?body=1" for 10.0.2.2 at 2014-03-26 14:16:20 +0000
20510
+
20511
+
20512
+ Started GET "/assets/carnival/advanced_search.js?body=1" for 10.0.2.2 at 2014-03-26 14:16:21 +0000
20513
+
20514
+
20515
+ Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-03-26 14:16:21 +0000
20516
+
20517
+
20518
+ 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&_=1395843378825" for 10.0.2.2 at 2014-03-26 14:16:21 +0000
20519
+ Processing by Carnival::AdminUsersController#index as JSON
20520
+ 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", "_"=>"1395843378825"}
20521
+ Carnival::AdminUser Load (2.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
20522
+  (2.0ms) SELECT COUNT(*) FROM "admin_users"
20523
+ Carnival::AdminUser Load (2.5ms) SELECT "admin_users".* FROM "admin_users" ORDER BY admin_users.id asc LIMIT 50 OFFSET 0
20524
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (44.0ms)
20525
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (0.8ms)
20526
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (0.8ms)
20527
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.1ms)
20528
+ Rendered /project/app/views/carnival/shared/_list_cel.html.haml (42.9ms)
20529
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.3ms)
20530
+ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.2ms)
20531
+ Rendered /project/app/views/carnival/shared/_action_delete.html.haml (0.4ms)
20532
+ Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (166.9ms)
20533
+ Completed 200 OK in 547ms (Views: 535.3ms | ActiveRecord: 6.9ms)