optimacms 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b8200fd22140d5e8ce7456ba9eee239e923eb9d
4
- data.tar.gz: 56c7be48580fe502417c4fffcc8cfabb52160521
3
+ metadata.gz: f39331a562c7630559ced794f0a3a97abc30adb1
4
+ data.tar.gz: 1f37a1617cdfecf9a6b7fc521ce44b5ee7d653b0
5
5
  SHA512:
6
- metadata.gz: 5ded7ccb1f845ac015342c045950a14afd844da4016c7c56294ddca2e2d238d269cbf389bfa829b01d3f90717997f609479b0927744855d0f004029ad5742f9d
7
- data.tar.gz: 9f567e8a10d9f9d73eafc84c7e0edb6d3dd4dd3f3c54550de5fb8a49d38263906970516021973e2deb69863b0ba1d90021ae4e1c0897caed0fdda04c2a3d6a11
6
+ metadata.gz: 99ad6071478d57ba4e31f402ef003b40a9018ff88663858ac0155c2cba0fdb0297c6cb767effafd936c8fc5a9526ed407f505bbdd72610f4576171a350199dee
7
+ data.tar.gz: 99d6c73656f02991485ab08c0b129d69a47be8e497c7b6a660f30d198ee619d47ffc0da14a3fab2ccc74cd2623e48abf81a90876cd541e3f123f6a3d477bdae7
@@ -44,7 +44,13 @@ module Optimacms
44
44
  end
45
45
 
46
46
  def template_path
47
- page.template.path(self.lang)
47
+
48
+ if page.is_translated && template.is_translated
49
+ tpl_lang = self.lang
50
+ else
51
+ tpl_lang=''
52
+ end
53
+ page.template.path(tpl_lang)
48
54
  end
49
55
 
50
56
  def meta
@@ -1,3 +1,3 @@
1
1
  module Optimacms
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
@@ -21877,3 +21877,694 @@ ActionView::MissingTemplate (Missing template home/index.en.html.haml with {:loc
21877
21877
  Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.9ms)
21878
21878
  Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.9ms)
21879
21879
  Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (52.8ms)
21880
+
21881
+
21882
+ Started GET "/" for 127.0.0.1 at 2016-05-31 17:35:58 +0300
21883
+ Processing by Optimacms::PagesController#show as HTML
21884
+ Optimacms::Language Load (0.7ms) SELECT `cms_languages`.* FROM `cms_languages`
21885
+  (1.6ms) SELECT COUNT(*) FROM `cms_pages` WHERE (is_folder = 0 AND enabled = 1 AND url = '')
21886
+ Optimacms::Page Load (0.7ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (is_folder = 0 AND enabled = 1 AND url = '') ORDER BY url_parts_count DESC, url_vars_count ASC
21887
+ Optimacms::Template Load (0.4ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 127 LIMIT 1
21888
+ Optimacms::Template Load (0.6ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 1 LIMIT 1
21889
+ Optimacms::PageTranslation Load (0.5ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 97 AND `cms_pages_translation`.`lang` = '' ORDER BY `cms_pages_translation`.`id` ASC LIMIT 1
21890
+ Completed 500 Internal Server Error in 126ms (ActiveRecord: 10.4ms)
21891
+
21892
+ ActionView::MissingTemplate (Missing template home/index.en.html.haml with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml]}. Searched in:
21893
+ * "/mnt/data/projects/mmx/optimacms/spec/dummy/app/views"
21894
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views"
21895
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/kaminari-bootstrap-3.0.1/app/views"
21896
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/kaminari-0.17.0/app/views"
21897
+ * "/mnt/data/projects/mmx/optimacms/app/views"
21898
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/devise-4.1.1/app/views"
21899
+ ):
21900
+ actionview (4.2.6) lib/action_view/path_set.rb:46:in `find'
21901
+ actionview (4.2.6) lib/action_view/lookup_context.rb:121:in `find'
21902
+ actionview (4.2.6) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
21903
+ actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:40:in `determine_template'
21904
+ actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:8:in `render'
21905
+ actionview (4.2.6) lib/action_view/renderer/renderer.rb:46:in `render_template'
21906
+ actionview (4.2.6) lib/action_view/renderer/renderer.rb:27:in `render'
21907
+ actionview (4.2.6) lib/action_view/rendering.rb:100:in `_render_template'
21908
+ actionpack (4.2.6) lib/action_controller/metal/streaming.rb:217:in `_render_template'
21909
+ actionview (4.2.6) lib/action_view/rendering.rb:83:in `render_to_body'
21910
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
21911
+ actionpack (4.2.6) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
21912
+ actionpack (4.2.6) lib/abstract_controller/rendering.rb:25:in `render'
21913
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:16:in `render'
21914
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
21915
+ activesupport (4.2.6) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
21916
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
21917
+ activesupport (4.2.6) lib/active_support/core_ext/benchmark.rb:12:in `ms'
21918
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
21919
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
21920
+ activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
21921
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:43:in `render'
21922
+ /mnt/data/projects/mmx/optimacms/app/controllers/optimacms/pages_controller.rb:86:in `show'
21923
+ actionpack (4.2.6) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
21924
+ actionpack (4.2.6) lib/abstract_controller/base.rb:198:in `process_action'
21925
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
21926
+ actionpack (4.2.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
21927
+ activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
21928
+ activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
21929
+ activesupport (4.2.6) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
21930
+ activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
21931
+ activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
21932
+ activesupport (4.2.6) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
21933
+ activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
21934
+ activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
21935
+ actionpack (4.2.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
21936
+ actionpack (4.2.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
21937
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
21938
+ activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
21939
+ activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
21940
+ activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
21941
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
21942
+ actionpack (4.2.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
21943
+ activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
21944
+ actionpack (4.2.6) lib/abstract_controller/base.rb:137:in `process'
21945
+ actionview (4.2.6) lib/action_view/rendering.rb:30:in `process'
21946
+ actionpack (4.2.6) lib/action_controller/metal.rb:196:in `dispatch'
21947
+ actionpack (4.2.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
21948
+ actionpack (4.2.6) lib/action_controller/metal.rb:237:in `block in action'
21949
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `call'
21950
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
21951
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:43:in `serve'
21952
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
21953
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
21954
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
21955
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
21956
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
21957
+ railties (4.2.6) lib/rails/railtie.rb:194:in `public_send'
21958
+ railties (4.2.6) lib/rails/railtie.rb:194:in `method_missing'
21959
+ actionpack (4.2.6) lib/action_dispatch/routing/mapper.rb:51:in `serve'
21960
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
21961
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
21962
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
21963
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
21964
+ warden (1.2.6) lib/warden/manager.rb:35:in `block in call'
21965
+ warden (1.2.6) lib/warden/manager.rb:34:in `catch'
21966
+ warden (1.2.6) lib/warden/manager.rb:34:in `call'
21967
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
21968
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
21969
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
21970
+ actionpack (4.2.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
21971
+ actionpack (4.2.6) lib/action_dispatch/middleware/flash.rb:260:in `call'
21972
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
21973
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
21974
+ actionpack (4.2.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
21975
+ activerecord (4.2.6) lib/active_record/query_cache.rb:36:in `call'
21976
+ activerecord (4.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
21977
+ activerecord (4.2.6) lib/active_record/migration.rb:377:in `call'
21978
+ actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
21979
+ activesupport (4.2.6) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
21980
+ activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
21981
+ activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
21982
+ actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
21983
+ actionpack (4.2.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
21984
+ actionpack (4.2.6) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
21985
+ actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
21986
+ actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
21987
+ railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
21988
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
21989
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
21990
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
21991
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
21992
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
21993
+ actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
21994
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
21995
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
21996
+ activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
21997
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
21998
+ actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
21999
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
22000
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
22001
+ railties (4.2.6) lib/rails/application.rb:165:in `call'
22002
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
22003
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
22004
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
22005
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
22006
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
22007
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
22008
+
22009
+
22010
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (29.9ms)
22011
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.8ms)
22012
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.3ms)
22013
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (51.0ms)
22014
+
22015
+
22016
+ Started GET "/admin/pages" for 127.0.0.1 at 2016-05-31 17:36:46 +0300
22017
+ Processing by Optimacms::Admin::PagesController#index as HTML
22018
+ Optimacms::CmsAdminUser Load (0.5ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
22019
+ Optimacms::Page Load (0.6ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE `cms_pages`.`id` = 24 LIMIT 1
22020
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/fields_simple_form/_text.html.haml (5.2ms)
22021
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_field_simple_form.html.haml (6.5ms)
22022
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/fields_simple_form/_hidden.html.haml (2.9ms)
22023
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_field_simple_form.html.haml (4.3ms)
22024
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_fields.html.haml (13.4ms)
22025
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_buttons_apply_clear.html.haml (0.1ms)
22026
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (1.5ms)
22027
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_form_inline.html.haml (19.1ms)
22028
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_form.html.haml (20.4ms)
22029
+ Optimacms::Page Load (0.8ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (1=1 AND parent_id= 24 ) ORDER BY created_at desc LIMIT 10 OFFSET 0
22030
+ Optimacms::Template Load (0.5ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` IN (130, 129, 4, 123)
22031
+  (0.6ms) SELECT COUNT(*) FROM `cms_pages` WHERE (1=1 AND parent_id= 24 )
22032
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/pages/index.html.haml within optimacms/admin/layouts/main (47.4ms)
22033
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_top.html.haml (1.5ms)
22034
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_leftmenu.html.haml (38.5ms)
22035
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (0.4ms)
22036
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_flash.html.haml (0.3ms)
22037
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_version.html.haml (0.2ms)
22038
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_footer.html.haml (2.2ms)
22039
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/layouts/application.html.haml (97.2ms)
22040
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/layouts/basic.html.haml (153.8ms)
22041
+ Completed 200 OK in 235ms (Views: 209.9ms | ActiveRecord: 4.5ms)
22042
+
22043
+
22044
+ Started GET "/admin/pages?parent_id=0" for 127.0.0.1 at 2016-05-31 17:36:47 +0300
22045
+ Processing by Optimacms::Admin::PagesController#index as HTML
22046
+ Parameters: {"parent_id"=>"0"}
22047
+ Optimacms::CmsAdminUser Load (0.5ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
22048
+ Optimacms::Page Load (0.4ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE `cms_pages`.`id` = 0 LIMIT 1
22049
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/fields_simple_form/_text.html.haml (4.7ms)
22050
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_field_simple_form.html.haml (6.0ms)
22051
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/fields_simple_form/_hidden.html.haml (2.8ms)
22052
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_field_simple_form.html.haml (4.1ms)
22053
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_fields.html.haml (12.3ms)
22054
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_buttons_apply_clear.html.haml (0.1ms)
22055
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (1.3ms)
22056
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_form_inline.html.haml (17.5ms)
22057
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_form.html.haml (18.8ms)
22058
+ Optimacms::Page Load (0.8ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (1=1 AND parent_id= 0 ) ORDER BY created_at desc LIMIT 10 OFFSET 0
22059
+ Optimacms::Template Load (0.6ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` IN (127, 0, 128)
22060
+  (0.5ms) SELECT COUNT(*) FROM `cms_pages` WHERE (1=1 AND parent_id= 0 )
22061
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/pages/index.html.haml within optimacms/admin/layouts/main (43.9ms)
22062
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_top.html.haml (1.4ms)
22063
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_leftmenu.html.haml (27.4ms)
22064
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (0.3ms)
22065
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_flash.html.haml (0.3ms)
22066
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_version.html.haml (0.2ms)
22067
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_footer.html.haml (2.0ms)
22068
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/layouts/application.html.haml (91.0ms)
22069
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/layouts/basic.html.haml (135.8ms)
22070
+ Completed 200 OK in 193ms (Views: 184.6ms | ActiveRecord: 2.9ms)
22071
+
22072
+
22073
+ Started GET "/admin/pages/97/edit" for 127.0.0.1 at 2016-05-31 17:36:48 +0300
22074
+ Processing by Optimacms::Admin::PagesController#edit as HTML
22075
+ Parameters: {"id"=>"97"}
22076
+ Optimacms::CmsAdminUser Load (0.5ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
22077
+ Optimacms::Page Load (0.4ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE `cms_pages`.`id` = 97 LIMIT 1
22078
+ Optimacms::Language Load (0.4ms) SELECT `cms_languages`.* FROM `cms_languages` WHERE (1=1) ORDER BY pos asc
22079
+ CACHE (0.0ms) SELECT `cms_languages`.* FROM `cms_languages` WHERE (1=1) ORDER BY pos asc
22080
+ Optimacms::PageTranslation Load (0.4ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 97
22081
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_form_errors.html.haml (0.2ms)
22082
+ Optimacms::Template Load (0.6ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`is_folder` = 0 AND `cms_templates`.`type_id` = 1
22083
+ Optimacms::Template Load (0.6ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 127 LIMIT 1
22084
+ CACHE (0.1ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 97 [["item_id", 97]]
22085
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/pages/_meta.html.haml (83.0ms)
22086
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/common/_modal_div.html.haml (0.7ms)
22087
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/templates/_js_form_modal.html.haml (3.5ms)
22088
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/common/_js_tinymce.html.haml (4.9ms)
22089
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/pages/_form.html.haml (138.2ms)
22090
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/pages/edit.html.haml within optimacms/admin/layouts/main (141.3ms)
22091
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_top.html.haml (1.2ms)
22092
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_leftmenu.html.haml (39.8ms)
22093
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (0.3ms)
22094
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_flash.html.haml (0.3ms)
22095
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_version.html.haml (0.2ms)
22096
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_footer.html.haml (2.2ms)
22097
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/layouts/application.html.haml (94.9ms)
22098
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/layouts/basic.html.haml (152.9ms)
22099
+ Completed 200 OK in 315ms (Views: 300.4ms | ActiveRecord: 3.1ms)
22100
+
22101
+
22102
+ Started PATCH "/admin/pages/97" for 127.0.0.1 at 2016-05-31 17:36:51 +0300
22103
+ Processing by Optimacms::Admin::PagesController#update as HTML
22104
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"qZ0eKTTy5XW+zcvlFRsBgbTOXT8EAWkr9uiy4gMr4O1uHqMbp/SX1mfxUxRtIBe65st01O+cSs7hozXt/FhK9Q==", "page"=>{"parent_id"=>"0", "title"=>"Home", "url"=>"", "name"=>"home", "controller_action"=>"", "layout_id"=>"1", "template_id"=>"127", "template"=>"home (home/index)", "is_translated"=>"0", "translations_attributes"=>{"0"=>{"lang"=>"en", "meta_title"=>"HOME", "meta_keywords"=>"", "meta_description"=>"", "id"=>"259"}, "1"=>{"lang"=>"ru", "meta_title"=>"", "meta_keywords"=>"", "meta_description"=>"", "id"=>"297"}, "2"=>{"lang"=>"", "meta_title"=>"Demo App | Optima CMS", "meta_keywords"=>"cms, demo", "meta_description"=>"Demo app.", "id"=>"333"}}}, "commit"=>"Save", "id"=>"97"}
22105
+ Optimacms::CmsAdminUser Load (0.5ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
22106
+ Optimacms::Page Load (0.3ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE `cms_pages`.`id` = 97 LIMIT 1
22107
+  (0.2ms) BEGIN
22108
+ Optimacms::PageTranslation Load (0.6ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 97 AND `cms_pages_translation`.`id` IN (259, 297, 333)
22109
+  (0.3ms) COMMIT
22110
+ Redirected to http://localhost:3010/admin/pages
22111
+ Completed 302 Found in 22ms (ActiveRecord: 2.0ms)
22112
+
22113
+
22114
+ Started GET "/admin/pages" for 127.0.0.1 at 2016-05-31 17:36:51 +0300
22115
+ Processing by Optimacms::Admin::PagesController#index as HTML
22116
+ Optimacms::CmsAdminUser Load (0.5ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
22117
+ Optimacms::Page Load (0.4ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE `cms_pages`.`id` = 0 LIMIT 1
22118
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/fields_simple_form/_text.html.haml (4.5ms)
22119
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_field_simple_form.html.haml (5.8ms)
22120
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/fields_simple_form/_hidden.html.haml (2.6ms)
22121
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_field_simple_form.html.haml (3.8ms)
22122
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_fields.html.haml (11.7ms)
22123
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_buttons_apply_clear.html.haml (0.1ms)
22124
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (1.3ms)
22125
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_form_inline.html.haml (17.1ms)
22126
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_form.html.haml (18.4ms)
22127
+ Optimacms::Page Load (0.7ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (1=1 AND parent_id= 0 ) ORDER BY created_at desc LIMIT 10 OFFSET 0
22128
+ Optimacms::Template Load (0.5ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` IN (127, 0, 128)
22129
+  (0.6ms) SELECT COUNT(*) FROM `cms_pages` WHERE (1=1 AND parent_id= 0 )
22130
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/pages/index.html.haml within optimacms/admin/layouts/main (43.2ms)
22131
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_top.html.haml (1.4ms)
22132
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_leftmenu.html.haml (23.2ms)
22133
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (0.3ms)
22134
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_flash.html.haml (0.5ms)
22135
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_version.html.haml (0.2ms)
22136
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/shared/_footer.html.haml (2.1ms)
22137
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/layouts/application.html.haml (95.0ms)
22138
+ Rendered /mnt/data/projects/mmx/optimacms/app/views/optimacms/admin/layouts/basic.html.haml (135.2ms)
22139
+ Completed 200 OK in 191ms (Views: 182.7ms | ActiveRecord: 2.8ms)
22140
+
22141
+
22142
+ Started GET "/" for 127.0.0.1 at 2016-05-31 17:37:05 +0300
22143
+ Processing by Optimacms::PagesController#show as HTML
22144
+  (0.6ms) SELECT COUNT(*) FROM `cms_pages` WHERE (is_folder = 0 AND enabled = 1 AND url = '')
22145
+ Optimacms::Page Load (0.4ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (is_folder = 0 AND enabled = 1 AND url = '') ORDER BY url_parts_count DESC, url_vars_count ASC
22146
+ Optimacms::PageTranslation Load (1.0ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 97 AND `cms_pages_translation`.`lang` = '' ORDER BY `cms_pages_translation`.`id` ASC LIMIT 1
22147
+ Optimacms::Template Load (1.9ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 127 LIMIT 1
22148
+ CACHE (0.0ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 97 AND `cms_pages_translation`.`lang` = '' ORDER BY `cms_pages_translation`.`id` ASC LIMIT 1 [["item_id", 97], ["lang", ""]]
22149
+ Optimacms::Template Load (0.7ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 1 LIMIT 1
22150
+ CACHE (0.0ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 97 AND `cms_pages_translation`.`lang` = '' ORDER BY `cms_pages_translation`.`id` ASC LIMIT 1 [["item_id", 97], ["lang", ""]]
22151
+ CACHE (0.1ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 97 AND `cms_pages_translation`.`lang` = '' ORDER BY `cms_pages_translation`.`id` ASC LIMIT 1 [["item_id", 97], ["lang", ""]]
22152
+ Completed 500 Internal Server Error in 35092ms (ActiveRecord: 4.8ms)
22153
+
22154
+ ActionView::MissingTemplate (Missing template home/index.en.html.haml with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml]}. Searched in:
22155
+ * "/mnt/data/projects/mmx/optimacms/spec/dummy/app/views"
22156
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views"
22157
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/kaminari-bootstrap-3.0.1/app/views"
22158
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/kaminari-0.17.0/app/views"
22159
+ * "/mnt/data/projects/mmx/optimacms/app/views"
22160
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/devise-4.1.1/app/views"
22161
+ ):
22162
+ actionview (4.2.6) lib/action_view/path_set.rb:46:in `find'
22163
+ actionview (4.2.6) lib/action_view/lookup_context.rb:121:in `find'
22164
+ actionview (4.2.6) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
22165
+ actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:40:in `determine_template'
22166
+ actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:8:in `render'
22167
+ actionview (4.2.6) lib/action_view/renderer/renderer.rb:46:in `render_template'
22168
+ actionview (4.2.6) lib/action_view/renderer/renderer.rb:27:in `render'
22169
+ actionview (4.2.6) lib/action_view/rendering.rb:100:in `_render_template'
22170
+ actionpack (4.2.6) lib/action_controller/metal/streaming.rb:217:in `_render_template'
22171
+ actionview (4.2.6) lib/action_view/rendering.rb:83:in `render_to_body'
22172
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
22173
+ actionpack (4.2.6) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
22174
+ actionpack (4.2.6) lib/abstract_controller/rendering.rb:25:in `render'
22175
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:16:in `render'
22176
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
22177
+ activesupport (4.2.6) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
22178
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
22179
+ activesupport (4.2.6) lib/active_support/core_ext/benchmark.rb:12:in `ms'
22180
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
22181
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
22182
+ activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
22183
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:43:in `render'
22184
+ /mnt/data/projects/mmx/optimacms/app/controllers/optimacms/pages_controller.rb:86:in `show'
22185
+ actionpack (4.2.6) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
22186
+ actionpack (4.2.6) lib/abstract_controller/base.rb:198:in `process_action'
22187
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
22188
+ actionpack (4.2.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
22189
+ activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
22190
+ activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
22191
+ activesupport (4.2.6) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
22192
+ activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
22193
+ activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
22194
+ activesupport (4.2.6) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
22195
+ activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
22196
+ activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
22197
+ actionpack (4.2.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
22198
+ actionpack (4.2.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
22199
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
22200
+ activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
22201
+ activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
22202
+ activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
22203
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
22204
+ actionpack (4.2.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
22205
+ activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
22206
+ actionpack (4.2.6) lib/abstract_controller/base.rb:137:in `process'
22207
+ actionview (4.2.6) lib/action_view/rendering.rb:30:in `process'
22208
+ actionpack (4.2.6) lib/action_controller/metal.rb:196:in `dispatch'
22209
+ actionpack (4.2.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
22210
+ actionpack (4.2.6) lib/action_controller/metal.rb:237:in `block in action'
22211
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `call'
22212
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
22213
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:43:in `serve'
22214
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
22215
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
22216
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
22217
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
22218
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
22219
+ railties (4.2.6) lib/rails/railtie.rb:194:in `public_send'
22220
+ railties (4.2.6) lib/rails/railtie.rb:194:in `method_missing'
22221
+ actionpack (4.2.6) lib/action_dispatch/routing/mapper.rb:51:in `serve'
22222
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
22223
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
22224
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
22225
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
22226
+ warden (1.2.6) lib/warden/manager.rb:35:in `block in call'
22227
+ warden (1.2.6) lib/warden/manager.rb:34:in `catch'
22228
+ warden (1.2.6) lib/warden/manager.rb:34:in `call'
22229
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
22230
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
22231
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
22232
+ actionpack (4.2.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
22233
+ actionpack (4.2.6) lib/action_dispatch/middleware/flash.rb:260:in `call'
22234
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
22235
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
22236
+ actionpack (4.2.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
22237
+ activerecord (4.2.6) lib/active_record/query_cache.rb:36:in `call'
22238
+ activerecord (4.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
22239
+ activerecord (4.2.6) lib/active_record/migration.rb:377:in `call'
22240
+ actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
22241
+ activesupport (4.2.6) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
22242
+ activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
22243
+ activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
22244
+ actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
22245
+ actionpack (4.2.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
22246
+ actionpack (4.2.6) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
22247
+ actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
22248
+ actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
22249
+ railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
22250
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
22251
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
22252
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
22253
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
22254
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
22255
+ actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
22256
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
22257
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
22258
+ activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
22259
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
22260
+ actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
22261
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
22262
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
22263
+ railties (4.2.6) lib/rails/application.rb:165:in `call'
22264
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
22265
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
22266
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
22267
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
22268
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
22269
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
22270
+
22271
+
22272
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (33.7ms)
22273
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (9.1ms)
22274
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
22275
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (57.5ms)
22276
+
22277
+
22278
+ Started GET "/" for 127.0.0.1 at 2016-05-31 17:37:41 +0300
22279
+ Processing by Optimacms::PagesController#show as HTML
22280
+  (0.7ms) SELECT COUNT(*) FROM `cms_pages` WHERE (is_folder = 0 AND enabled = 1 AND url = '')
22281
+ Optimacms::Page Load (0.5ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (is_folder = 0 AND enabled = 1 AND url = '') ORDER BY url_parts_count DESC, url_vars_count ASC
22282
+ Optimacms::PageTranslation Load (0.9ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 97 AND `cms_pages_translation`.`lang` = '' ORDER BY `cms_pages_translation`.`id` ASC LIMIT 1
22283
+ Optimacms::Template Load (4.6ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 127 LIMIT 1
22284
+ CACHE (0.0ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 97 AND `cms_pages_translation`.`lang` = '' ORDER BY `cms_pages_translation`.`id` ASC LIMIT 1 [["item_id", 97], ["lang", ""]]
22285
+ Optimacms::Template Load (0.7ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 1 LIMIT 1
22286
+ CACHE (0.1ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 97 AND `cms_pages_translation`.`lang` = '' ORDER BY `cms_pages_translation`.`id` ASC LIMIT 1 [["item_id", 97], ["lang", ""]]
22287
+ Completed 500 Internal Server Error in 16091ms (ActiveRecord: 7.5ms)
22288
+
22289
+ ActionView::MissingTemplate (Missing template home/index.en.html.haml with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml]}. Searched in:
22290
+ * "/mnt/data/projects/mmx/optimacms/spec/dummy/app/views"
22291
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views"
22292
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/kaminari-bootstrap-3.0.1/app/views"
22293
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/kaminari-0.17.0/app/views"
22294
+ * "/mnt/data/projects/mmx/optimacms/app/views"
22295
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/devise-4.1.1/app/views"
22296
+ ):
22297
+ actionview (4.2.6) lib/action_view/path_set.rb:46:in `find'
22298
+ actionview (4.2.6) lib/action_view/lookup_context.rb:121:in `find'
22299
+ actionview (4.2.6) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
22300
+ actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:40:in `determine_template'
22301
+ actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:8:in `render'
22302
+ actionview (4.2.6) lib/action_view/renderer/renderer.rb:46:in `render_template'
22303
+ actionview (4.2.6) lib/action_view/renderer/renderer.rb:27:in `render'
22304
+ actionview (4.2.6) lib/action_view/rendering.rb:100:in `_render_template'
22305
+ actionpack (4.2.6) lib/action_controller/metal/streaming.rb:217:in `_render_template'
22306
+ actionview (4.2.6) lib/action_view/rendering.rb:83:in `render_to_body'
22307
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
22308
+ actionpack (4.2.6) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
22309
+ actionpack (4.2.6) lib/abstract_controller/rendering.rb:25:in `render'
22310
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:16:in `render'
22311
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
22312
+ activesupport (4.2.6) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
22313
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
22314
+ activesupport (4.2.6) lib/active_support/core_ext/benchmark.rb:12:in `ms'
22315
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
22316
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
22317
+ activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
22318
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:43:in `render'
22319
+ /mnt/data/projects/mmx/optimacms/app/controllers/optimacms/pages_controller.rb:86:in `show'
22320
+ actionpack (4.2.6) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
22321
+ actionpack (4.2.6) lib/abstract_controller/base.rb:198:in `process_action'
22322
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
22323
+ actionpack (4.2.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
22324
+ activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
22325
+ activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
22326
+ activesupport (4.2.6) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
22327
+ activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
22328
+ activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
22329
+ activesupport (4.2.6) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
22330
+ activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
22331
+ activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
22332
+ actionpack (4.2.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
22333
+ actionpack (4.2.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
22334
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
22335
+ activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
22336
+ activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
22337
+ activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
22338
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
22339
+ actionpack (4.2.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
22340
+ activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
22341
+ actionpack (4.2.6) lib/abstract_controller/base.rb:137:in `process'
22342
+ actionview (4.2.6) lib/action_view/rendering.rb:30:in `process'
22343
+ actionpack (4.2.6) lib/action_controller/metal.rb:196:in `dispatch'
22344
+ actionpack (4.2.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
22345
+ actionpack (4.2.6) lib/action_controller/metal.rb:237:in `block in action'
22346
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `call'
22347
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
22348
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:43:in `serve'
22349
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
22350
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
22351
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
22352
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
22353
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
22354
+ railties (4.2.6) lib/rails/railtie.rb:194:in `public_send'
22355
+ railties (4.2.6) lib/rails/railtie.rb:194:in `method_missing'
22356
+ actionpack (4.2.6) lib/action_dispatch/routing/mapper.rb:51:in `serve'
22357
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
22358
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
22359
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
22360
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
22361
+ warden (1.2.6) lib/warden/manager.rb:35:in `block in call'
22362
+ warden (1.2.6) lib/warden/manager.rb:34:in `catch'
22363
+ warden (1.2.6) lib/warden/manager.rb:34:in `call'
22364
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
22365
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
22366
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
22367
+ actionpack (4.2.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
22368
+ actionpack (4.2.6) lib/action_dispatch/middleware/flash.rb:260:in `call'
22369
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
22370
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
22371
+ actionpack (4.2.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
22372
+ activerecord (4.2.6) lib/active_record/query_cache.rb:36:in `call'
22373
+ activerecord (4.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
22374
+ activerecord (4.2.6) lib/active_record/migration.rb:377:in `call'
22375
+ actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
22376
+ activesupport (4.2.6) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
22377
+ activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
22378
+ activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
22379
+ actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
22380
+ actionpack (4.2.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
22381
+ actionpack (4.2.6) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
22382
+ actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
22383
+ actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
22384
+ railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
22385
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
22386
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
22387
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
22388
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
22389
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
22390
+ actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
22391
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
22392
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
22393
+ activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
22394
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
22395
+ actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
22396
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
22397
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
22398
+ railties (4.2.6) lib/rails/application.rb:165:in `call'
22399
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
22400
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
22401
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
22402
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
22403
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
22404
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
22405
+
22406
+
22407
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (35.1ms)
22408
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (9.5ms)
22409
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.0ms)
22410
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (60.1ms)
22411
+
22412
+
22413
+ Started GET "/" for 127.0.0.1 at 2016-05-31 17:37:59 +0300
22414
+ Processing by Optimacms::PagesController#show as HTML
22415
+  (0.8ms) SELECT COUNT(*) FROM `cms_pages` WHERE (is_folder = 0 AND enabled = 1 AND url = '')
22416
+ Optimacms::Page Load (0.7ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (is_folder = 0 AND enabled = 1 AND url = '') ORDER BY url_parts_count DESC, url_vars_count ASC
22417
+ Optimacms::Template Load (0.7ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 127 LIMIT 1
22418
+ Optimacms::Template Load (0.7ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 1 LIMIT 1
22419
+ Optimacms::PageTranslation Load (0.7ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 97 AND `cms_pages_translation`.`lang` = '' ORDER BY `cms_pages_translation`.`id` ASC LIMIT 1
22420
+ Completed 500 Internal Server Error in 50224ms (ActiveRecord: 3.5ms)
22421
+
22422
+ ActionView::MissingTemplate (Missing template home/index.en.html.haml with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml]}. Searched in:
22423
+ * "/mnt/data/projects/mmx/optimacms/spec/dummy/app/views"
22424
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/simple_search_filter-0.0.31/app/views"
22425
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/kaminari-bootstrap-3.0.1/app/views"
22426
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/kaminari-0.17.0/app/views"
22427
+ * "/mnt/data/projects/mmx/optimacms/app/views"
22428
+ * "/home/mmx/.rvm/gems/ruby-2.2.4/gems/devise-4.1.1/app/views"
22429
+ ):
22430
+ actionview (4.2.6) lib/action_view/path_set.rb:46:in `find'
22431
+ actionview (4.2.6) lib/action_view/lookup_context.rb:121:in `find'
22432
+ actionview (4.2.6) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
22433
+ actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:40:in `determine_template'
22434
+ actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:8:in `render'
22435
+ actionview (4.2.6) lib/action_view/renderer/renderer.rb:46:in `render_template'
22436
+ actionview (4.2.6) lib/action_view/renderer/renderer.rb:27:in `render'
22437
+ actionview (4.2.6) lib/action_view/rendering.rb:100:in `_render_template'
22438
+ actionpack (4.2.6) lib/action_controller/metal/streaming.rb:217:in `_render_template'
22439
+ actionview (4.2.6) lib/action_view/rendering.rb:83:in `render_to_body'
22440
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
22441
+ actionpack (4.2.6) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
22442
+ actionpack (4.2.6) lib/abstract_controller/rendering.rb:25:in `render'
22443
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:16:in `render'
22444
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
22445
+ activesupport (4.2.6) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
22446
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
22447
+ activesupport (4.2.6) lib/active_support/core_ext/benchmark.rb:12:in `ms'
22448
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
22449
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
22450
+ activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
22451
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:43:in `render'
22452
+ /mnt/data/projects/mmx/optimacms/app/controllers/optimacms/pages_controller.rb:86:in `show'
22453
+ actionpack (4.2.6) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
22454
+ actionpack (4.2.6) lib/abstract_controller/base.rb:198:in `process_action'
22455
+ actionpack (4.2.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
22456
+ actionpack (4.2.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
22457
+ activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
22458
+ activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
22459
+ activesupport (4.2.6) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
22460
+ activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
22461
+ activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
22462
+ activesupport (4.2.6) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
22463
+ activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
22464
+ activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
22465
+ actionpack (4.2.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
22466
+ actionpack (4.2.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
22467
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
22468
+ activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
22469
+ activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
22470
+ activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
22471
+ actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
22472
+ actionpack (4.2.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
22473
+ activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
22474
+ actionpack (4.2.6) lib/abstract_controller/base.rb:137:in `process'
22475
+ actionview (4.2.6) lib/action_view/rendering.rb:30:in `process'
22476
+ actionpack (4.2.6) lib/action_controller/metal.rb:196:in `dispatch'
22477
+ actionpack (4.2.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
22478
+ actionpack (4.2.6) lib/action_controller/metal.rb:237:in `block in action'
22479
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `call'
22480
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
22481
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:43:in `serve'
22482
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
22483
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
22484
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
22485
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
22486
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
22487
+ railties (4.2.6) lib/rails/railtie.rb:194:in `public_send'
22488
+ railties (4.2.6) lib/rails/railtie.rb:194:in `method_missing'
22489
+ actionpack (4.2.6) lib/action_dispatch/routing/mapper.rb:51:in `serve'
22490
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
22491
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
22492
+ actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
22493
+ actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
22494
+ warden (1.2.6) lib/warden/manager.rb:35:in `block in call'
22495
+ warden (1.2.6) lib/warden/manager.rb:34:in `catch'
22496
+ warden (1.2.6) lib/warden/manager.rb:34:in `call'
22497
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
22498
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
22499
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
22500
+ actionpack (4.2.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
22501
+ actionpack (4.2.6) lib/action_dispatch/middleware/flash.rb:260:in `call'
22502
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
22503
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
22504
+ actionpack (4.2.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
22505
+ activerecord (4.2.6) lib/active_record/query_cache.rb:36:in `call'
22506
+ activerecord (4.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
22507
+ activerecord (4.2.6) lib/active_record/migration.rb:377:in `call'
22508
+ actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
22509
+ activesupport (4.2.6) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
22510
+ activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
22511
+ activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
22512
+ actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
22513
+ actionpack (4.2.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
22514
+ actionpack (4.2.6) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
22515
+ actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
22516
+ actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
22517
+ railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
22518
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
22519
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
22520
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
22521
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
22522
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
22523
+ actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
22524
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
22525
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
22526
+ activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
22527
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
22528
+ actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
22529
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
22530
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
22531
+ railties (4.2.6) lib/rails/application.rb:165:in `call'
22532
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
22533
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
22534
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
22535
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
22536
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
22537
+ /home/mmx/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
22538
+
22539
+
22540
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (33.0ms)
22541
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (9.1ms)
22542
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.6ms)
22543
+ Rendered /home/mmx/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (56.2ms)
22544
+
22545
+
22546
+ Started GET "/" for 127.0.0.1 at 2016-05-31 17:40:49 +0300
22547
+ Processing by Optimacms::PagesController#show as HTML
22548
+ Optimacms::Language Load (0.7ms) SELECT `cms_languages`.* FROM `cms_languages`
22549
+  (0.5ms) SELECT COUNT(*) FROM `cms_pages` WHERE (is_folder = 0 AND enabled = 1 AND url = '')
22550
+ Optimacms::Page Load (0.4ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (is_folder = 0 AND enabled = 1 AND url = '') ORDER BY url_parts_count DESC, url_vars_count ASC
22551
+ Optimacms::Template Load (0.4ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 127 LIMIT 1
22552
+ Optimacms::Template Load (0.7ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 1 LIMIT 1
22553
+ Optimacms::PageTranslation Load (0.6ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 97 AND `cms_pages_translation`.`lang` = '' ORDER BY `cms_pages_translation`.`id` ASC LIMIT 1
22554
+ Rendered home/index.html.haml within layouts/application (1.5ms)
22555
+ Completed 200 OK in 20561ms (Views: 83.5ms | ActiveRecord: 10.0ms)
22556
+
22557
+
22558
+ Started GET "/assets/application.self-c02499b3dc9b862a840957d764e2c8bea1c12d9dfc1d4c405b2a31f50959933d.css?body=1" for 127.0.0.1 at 2016-05-31 17:41:10 +0300
22559
+
22560
+
22561
+ Started GET "/assets/jquery_ujs.self-d456baa54c1fa6be2ec3711f0a72ddf7a5b2f34a6b4f515f33767d6207b7d4b3.js?body=1" for 127.0.0.1 at 2016-05-31 17:41:10 +0300
22562
+
22563
+
22564
+ Started GET "/assets/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for 127.0.0.1 at 2016-05-31 17:41:10 +0300
22565
+
22566
+
22567
+ Started GET "/assets/application.self-377610cd7c1509e934744c810e3b4cf672dfbcacac3274e7d039827e2ae0fcc7.js?body=1" for 127.0.0.1 at 2016-05-31 17:41:10 +0300
22568
+
22569
+
22570
+ Started GET "/assets/jquery.self-a714331225dda820228db323939889f149aec0127aeb06255646b616ba1ca419.js?body=1" for 127.0.0.1 at 2016-05-31 17:41:10 +0300
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optimacms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Ivak