From 91ad6ff62a9defd7b47167657460ae57b1cbaab5 Mon Sep 17 00:00:00 2001 From: cp <cp@d975c5f9-4e99-4c31-b122-d878075b96d9> Date: Wed, 22 Jun 2016 13:22:49 +0000 Subject: [PATCH] initial git-svn-id: http://svn.sp-service.com.ua/svnroot/svn/base_site/trunk@2 d975c5f9-4e99-4c31-b122-d878075b96d9 --- .gitignore | 17 + .idea/.generators | 8 + .idea/.rakeTasks | 7 + .idea/compiler.xml | 22 + .idea/copyright/profiles_settings.xml | 3 + .idea/encodings.xml | 6 + .idea/misc.xml | 19 + .idea/modules.xml | 8 + .idea/vcs.xml | 6 + .ruby-version | 1 + Capfile | 21 + Gemfile | 42 + Gemfile.lock | 285 + README.rdoc | 28 + Rakefile | 6 + app/assets/javascripts/admin.js | 6 + .../javascripts/admin/admin_area.coffee | 23 + .../admin/datetime_picker.js.coffee | 9 + .../admin/lib/current_path.js.coffee | 16 + .../admin/lib/table_row_editor.coffee | 114 + .../admin/lib/tabular_filter.js.coffee | 66 + .../javascripts/admin/newsletters.coffee | 14 + app/assets/javascripts/admin/page.coffee | 17 + app/assets/javascripts/admin/sortable.coffee | 17 + app/assets/javascripts/admin_front.js | 1 + .../javascripts/admin_front/blocks.js.coffee | 76 + app/assets/javascripts/ckeditor/config.js | 60 + .../ckeditor/plugins/apply/icons/apply.png | Bin 0 -> 3370 bytes .../ckeditor/plugins/apply/icons/cancel.png | Bin 0 -> 3648 bytes .../plugins/apply/icons/hidpi/apply.png | Bin 0 -> 4352 bytes .../plugins/apply/icons/hidpi/cancel.png | Bin 0 -> 4467 bytes .../ckeditor/plugins/apply/lang/en.js | 8 + .../ckeditor/plugins/apply/lang/ru.js | 8 + .../ckeditor/plugins/apply/lang/uk.js | 8 + .../ckeditor/plugins/apply/plugin.js | 56 + .../icons/hidpi/toolbarswitch.png | Bin 0 -> 2462 bytes .../toolbarswitch/icons/toolbarswitch.png | Bin 0 -> 921 bytes .../ckeditor/plugins/toolbarswitch/lang/en.js | 7 + .../ckeditor/plugins/toolbarswitch/lang/ru.js | 7 + .../ckeditor/plugins/toolbarswitch/lang/uk.js | 7 + .../ckeditor/plugins/toolbarswitch/plugin.js | 116 + app/assets/javascripts/front.js | 1 + app/assets/javascripts/front/front.coffee | 25 + .../javascripts/front/image_zooming.coffee | 29 + .../javascripts/front/mobile_menu.coffee | 19 + app/assets/javascripts/front/search.coffee | 26 + .../javascripts/front/smooth_scrolling.coffee | 15 + app/assets/javascripts/shared.js | 4 + .../javascripts/shared/bootstrap.js.coffee | 3 + app/assets/stylesheets/admin.css | 5 + .../admin/bootstrap_and_overrides.sass | 56 + app/assets/stylesheets/admin/scaffolds.scss | 77 + app/assets/stylesheets/admin/sortable.sass | 3 + .../stylesheets/admin/table_row_editor.sass | 7 + .../stylesheets/admin/tabular_filter.sass | 28 + app/assets/stylesheets/admin_front.css | 3 + .../stylesheets/admin_front/blocks.css.scss | 72 + app/assets/stylesheets/front.css | 6 + .../stylesheets/front/global settings.sass | 18 + app/assets/stylesheets/front/header.sass | 115 + app/assets/stylesheets/front/helper.sass | 21 + app/assets/stylesheets/front/mobile_menu.sass | 58 + app/assets/stylesheets/front/selectors.sass | 14 + app/assets/stylesheets/shared.css | 5 + app/assets/stylesheets/shared/_color.sass | 10 + app/assets/stylesheets/shared/_mixin.sass | 206 + .../shared/bootstrap_and_overrides.sass | 7 + app/controllers/accounts_controller.rb | 63 + app/controllers/admin_controller.rb | 16 + app/controllers/application_controller.rb | 43 + app/controllers/blocks_controller.rb | 67 + app/controllers/concerns/.keep | 0 app/controllers/concerns/sortable.rb | 17 + app/controllers/concerns/tabular_filter.rb | 226 + app/controllers/front_controller.rb | 12 + app/controllers/newsletters_controller.rb | 110 + app/controllers/pages_controller.rb | 70 + app/controllers/settings_controller.rb | 58 + app/helpers/admin_helper.rb | 12 + app/helpers/application_helper.rb | 38 + app/helpers/blocks_helper.rb | 22 + app/helpers/certificates_helper.rb | 2 + app/helpers/front_helper.rb | 59 + app/helpers/pages_helper.rb | 17 + app/helpers/services_helper.rb | 2 + app/mailers/.keep | 0 app/mailers/application_mailer.rb | 4 + app/mailers/front_mailer.rb | 26 + app/models/.keep | 0 app/models/account.rb | 39 + app/models/administrator.rb | 3 + app/models/block.rb | 84 + app/models/block_version.rb | 13 + app/models/ckeditor/asset.rb | 7 + app/models/ckeditor/attachment_file.rb | 7 + app/models/ckeditor/picture.rb | 7 + app/models/concerns/.keep | 0 app/models/concerns/accounted.rb | 10 + app/models/newsletter.rb | 5 + app/models/page.rb | 39 + app/models/phrase.rb | 126 + app/models/phrase_container.rb | 115 + app/models/setting.rb | 58 + app/models/translation.rb | 26 + .../ckeditor_attachment_file_uploader.rb | 36 + app/uploaders/ckeditor_picture_uploader.rb | 47 + app/uploaders/image_uploader.rb | 55 + app/views/accounts/_form.html.haml | 9 + app/views/accounts/edit.html.haml | 4 + app/views/accounts/index.html.haml | 34 + app/views/accounts/new.html.haml | 4 + app/views/accounts/show.html.haml | 39 + .../_localed_inputs.html.haml | 17 + .../_localed_tabs.html.haml | 7 + .../_localed_tabs_and_inputs.html.haml | 2 + app/views/admin/index.html.haml | 3 + app/views/blocks/_blocks_controls.html.haml | 6 + app/views/blocks/edit.html.haml | 4 + app/views/blocks/update.js.erb | 11 + app/views/front/index.html.haml | 10 + app/views/front/page.html.haml | 6 + app/views/layouts/_front_meta.html.haml | 28 + .../layouts/_language_selector.html.haml | 10 + app/views/layouts/_menu.html.haml | 4 + app/views/layouts/admin.html.haml | 67 + app/views/layouts/front.html.haml | 51 + app/views/newsletters/_form.html.haml | 8 + .../newsletters/_recipients_info.html.haml | 7 + app/views/newsletters/edit.html.haml | 4 + app/views/newsletters/index.html.haml | 28 + app/views/newsletters/new.html.haml | 4 + app/views/newsletters/sending.html.haml | 9 + app/views/newsletters/sending.json.jbuilder | 1 + app/views/newsletters/show.html.haml | 29 + app/views/pages/_form.html.haml | 14 + app/views/pages/edit.html.haml | 4 + app/views/pages/index.html.haml | 33 + app/views/pages/new.html.haml | 4 + app/views/pages/show.html.haml | 41 + app/views/settings/index.html.haml | 19 + base_site.iml | 123 + bin/bundle | 3 + bin/rails | 4 + bin/rake | 4 + bin/setup | 29 + config.ru | 4 + config/application.rb | 26 + config/boot.rb | 3 + config/database.yml | 24 + config/deploy.rb | 88 + config/deploy/production.rb | 2 + config/deploy/staging.rb | 1 + config/environment.rb | 5 + config/environments/development.rb | 41 + config/environments/production.rb | 79 + config/environments/test.rb | 42 + config/initializers/active_translation.rb | 20 + config/initializers/assets.rb | 15 + config/initializers/backtrace_silencers.rb | 7 + config/initializers/ckeditor.rb | 39 + config/initializers/cookies_serializer.rb | 3 + config/initializers/devise.rb | 265 + .../initializers/filter_parameter_logging.rb | 4 + config/initializers/inflections.rb | 16 + config/initializers/mime_types.rb | 4 + config/initializers/session_store.rb | 3 + config/initializers/simple_form.rb | 166 + config/initializers/simple_form_bootstrap.rb | 175 + config/initializers/wrap_parameters.rb | 14 + config/locales/en.bootstrap.yml | 28 + config/locales/en.yml | 128 + config/locales/ru.bootstrap.yml | 28 + config/locales/ru.yml | 376 + config/locales/simple_form.en.yml | 31 + config/locales/simple_form.ru.yml | 31 + config/locales/simple_form.uk.yml | 31 + config/locales/uk.bootstrap.yml | 28 + config/locales/uk.yml | 376 + config/routes.rb | 42 + config/secrets.yml | 22 + .../20150506142023_devise_create_accounts.rb | 49 + .../20150506142148_create_administrators.rb | 10 + ...0150517084222_create_active_translation.rb | 23 + .../20150525174028_create_newsletters.rb | 14 + db/migrate/20150715143148_create_blocks.rb | 12 + .../20150715143248_create_block_versions.rb | 12 + db/migrate/20151130142520_create_pages.rb | 19 + db/migrate/20151227121014_create_settings.rb | 11 + .../20160302111301_create_ckeditor_assets.rb | 26 + db/schema.rb | 152 + db/seeds.rb | 147 + lib/active_translation/active_translation.rb | 222 + lib/assets/.keep | 0 lib/tasks/.keep | 0 .../bootstrap/themed/_form.html.haml | 12 + lib/templates/bootstrap/themed/edit.html.haml | 4 + .../bootstrap/themed/index.html.haml | 40 + lib/templates/bootstrap/themed/new.html.haml | 4 + lib/templates/bootstrap/themed/show.html.haml | 21 + .../themed/simple_form/_form.html.haml | 15 + lib/templates/haml/scaffold/_form.html.haml | 10 + log/.keep | 0 log/development.log | 15103 ++++++++++++++++ log/test.log | 1187 ++ public/404.html | 67 + public/422.html | 67 + public/500.html | 66 + public/favicon.ico | 0 public/robots.txt | 5 + test/controllers/.keep | 0 test/controllers/accounts_controller_test.rb | 27 + test/controllers/admin_controller_test.rb | 17 + test/controllers/front_controller_test.rb | 14 + test/controllers/pages_controller_test.rb | 60 + test/controllers/settings_controller_test.rb | 19 + test/fixtures/.keep | 0 test/fixtures/accounts.yml | 14 + test/fixtures/administrators.yml | 2 + test/fixtures/files/test.png | Bin 0 -> 930 bytes test/fixtures/newsletters.yml | 7 + test/fixtures/pages.yml | 15 + test/fixtures/settings.yml | 7 + test/helpers/.keep | 0 test/integration/.keep | 0 test/mailers/.keep | 0 test/models/.keep | 0 test/models/account_test.rb | 7 + test/models/administrator_test.rb | 7 + test/models/newsletter_test.rb | 7 + test/models/page_test.rb | 7 + test/models/setting_test.rb | 7 + test/test_helper.rb | 19 + vendor/assets/javascripts/.keep | 0 vendor/assets/stylesheets/.keep | 0 234 files changed, 23874 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/.generators create mode 100644 .idea/.rakeTasks create mode 100644 .idea/compiler.xml create mode 100644 .idea/copyright/profiles_settings.xml create mode 100644 .idea/encodings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 .ruby-version create mode 100644 Capfile create mode 100644 Gemfile create mode 100644 Gemfile.lock create mode 100644 README.rdoc create mode 100644 Rakefile create mode 100644 app/assets/javascripts/admin.js create mode 100644 app/assets/javascripts/admin/admin_area.coffee create mode 100644 app/assets/javascripts/admin/datetime_picker.js.coffee create mode 100644 app/assets/javascripts/admin/lib/current_path.js.coffee create mode 100644 app/assets/javascripts/admin/lib/table_row_editor.coffee create mode 100644 app/assets/javascripts/admin/lib/tabular_filter.js.coffee create mode 100644 app/assets/javascripts/admin/newsletters.coffee create mode 100644 app/assets/javascripts/admin/page.coffee create mode 100644 app/assets/javascripts/admin/sortable.coffee create mode 100644 app/assets/javascripts/admin_front.js create mode 100644 app/assets/javascripts/admin_front/blocks.js.coffee create mode 100644 app/assets/javascripts/ckeditor/config.js create mode 100644 app/assets/javascripts/ckeditor/plugins/apply/icons/apply.png create mode 100644 app/assets/javascripts/ckeditor/plugins/apply/icons/cancel.png create mode 100644 app/assets/javascripts/ckeditor/plugins/apply/icons/hidpi/apply.png create mode 100644 app/assets/javascripts/ckeditor/plugins/apply/icons/hidpi/cancel.png create mode 100644 app/assets/javascripts/ckeditor/plugins/apply/lang/en.js create mode 100644 app/assets/javascripts/ckeditor/plugins/apply/lang/ru.js create mode 100644 app/assets/javascripts/ckeditor/plugins/apply/lang/uk.js create mode 100644 app/assets/javascripts/ckeditor/plugins/apply/plugin.js create mode 100644 app/assets/javascripts/ckeditor/plugins/toolbarswitch/icons/hidpi/toolbarswitch.png create mode 100644 app/assets/javascripts/ckeditor/plugins/toolbarswitch/icons/toolbarswitch.png create mode 100644 app/assets/javascripts/ckeditor/plugins/toolbarswitch/lang/en.js create mode 100644 app/assets/javascripts/ckeditor/plugins/toolbarswitch/lang/ru.js create mode 100644 app/assets/javascripts/ckeditor/plugins/toolbarswitch/lang/uk.js create mode 100644 app/assets/javascripts/ckeditor/plugins/toolbarswitch/plugin.js create mode 100644 app/assets/javascripts/front.js create mode 100644 app/assets/javascripts/front/front.coffee create mode 100644 app/assets/javascripts/front/image_zooming.coffee create mode 100644 app/assets/javascripts/front/mobile_menu.coffee create mode 100644 app/assets/javascripts/front/search.coffee create mode 100644 app/assets/javascripts/front/smooth_scrolling.coffee create mode 100644 app/assets/javascripts/shared.js create mode 100644 app/assets/javascripts/shared/bootstrap.js.coffee create mode 100644 app/assets/stylesheets/admin.css create mode 100644 app/assets/stylesheets/admin/bootstrap_and_overrides.sass create mode 100644 app/assets/stylesheets/admin/scaffolds.scss create mode 100644 app/assets/stylesheets/admin/sortable.sass create mode 100644 app/assets/stylesheets/admin/table_row_editor.sass create mode 100644 app/assets/stylesheets/admin/tabular_filter.sass create mode 100644 app/assets/stylesheets/admin_front.css create mode 100644 app/assets/stylesheets/admin_front/blocks.css.scss create mode 100644 app/assets/stylesheets/front.css create mode 100644 app/assets/stylesheets/front/global settings.sass create mode 100644 app/assets/stylesheets/front/header.sass create mode 100644 app/assets/stylesheets/front/helper.sass create mode 100644 app/assets/stylesheets/front/mobile_menu.sass create mode 100644 app/assets/stylesheets/front/selectors.sass create mode 100644 app/assets/stylesheets/shared.css create mode 100644 app/assets/stylesheets/shared/_color.sass create mode 100644 app/assets/stylesheets/shared/_mixin.sass create mode 100644 app/assets/stylesheets/shared/bootstrap_and_overrides.sass create mode 100644 app/controllers/accounts_controller.rb create mode 100644 app/controllers/admin_controller.rb create mode 100644 app/controllers/application_controller.rb create mode 100644 app/controllers/blocks_controller.rb create mode 100644 app/controllers/concerns/.keep create mode 100644 app/controllers/concerns/sortable.rb create mode 100644 app/controllers/concerns/tabular_filter.rb create mode 100644 app/controllers/front_controller.rb create mode 100644 app/controllers/newsletters_controller.rb create mode 100644 app/controllers/pages_controller.rb create mode 100644 app/controllers/settings_controller.rb create mode 100644 app/helpers/admin_helper.rb create mode 100644 app/helpers/application_helper.rb create mode 100644 app/helpers/blocks_helper.rb create mode 100644 app/helpers/certificates_helper.rb create mode 100644 app/helpers/front_helper.rb create mode 100644 app/helpers/pages_helper.rb create mode 100644 app/helpers/services_helper.rb create mode 100644 app/mailers/.keep create mode 100644 app/mailers/application_mailer.rb create mode 100644 app/mailers/front_mailer.rb create mode 100644 app/models/.keep create mode 100644 app/models/account.rb create mode 100644 app/models/administrator.rb create mode 100644 app/models/block.rb create mode 100644 app/models/block_version.rb create mode 100644 app/models/ckeditor/asset.rb create mode 100644 app/models/ckeditor/attachment_file.rb create mode 100644 app/models/ckeditor/picture.rb create mode 100644 app/models/concerns/.keep create mode 100644 app/models/concerns/accounted.rb create mode 100644 app/models/newsletter.rb create mode 100644 app/models/page.rb create mode 100644 app/models/phrase.rb create mode 100644 app/models/phrase_container.rb create mode 100644 app/models/setting.rb create mode 100644 app/models/translation.rb create mode 100644 app/uploaders/ckeditor_attachment_file_uploader.rb create mode 100644 app/uploaders/ckeditor_picture_uploader.rb create mode 100644 app/uploaders/image_uploader.rb create mode 100644 app/views/accounts/_form.html.haml create mode 100644 app/views/accounts/edit.html.haml create mode 100644 app/views/accounts/index.html.haml create mode 100644 app/views/accounts/new.html.haml create mode 100644 app/views/accounts/show.html.haml create mode 100644 app/views/active_translation/_localed_inputs.html.haml create mode 100644 app/views/active_translation/_localed_tabs.html.haml create mode 100644 app/views/active_translation/_localed_tabs_and_inputs.html.haml create mode 100644 app/views/admin/index.html.haml create mode 100644 app/views/blocks/_blocks_controls.html.haml create mode 100644 app/views/blocks/edit.html.haml create mode 100644 app/views/blocks/update.js.erb create mode 100644 app/views/front/index.html.haml create mode 100644 app/views/front/page.html.haml create mode 100644 app/views/layouts/_front_meta.html.haml create mode 100644 app/views/layouts/_language_selector.html.haml create mode 100644 app/views/layouts/_menu.html.haml create mode 100644 app/views/layouts/admin.html.haml create mode 100644 app/views/layouts/front.html.haml create mode 100644 app/views/newsletters/_form.html.haml create mode 100644 app/views/newsletters/_recipients_info.html.haml create mode 100644 app/views/newsletters/edit.html.haml create mode 100644 app/views/newsletters/index.html.haml create mode 100644 app/views/newsletters/new.html.haml create mode 100644 app/views/newsletters/sending.html.haml create mode 100644 app/views/newsletters/sending.json.jbuilder create mode 100644 app/views/newsletters/show.html.haml create mode 100644 app/views/pages/_form.html.haml create mode 100644 app/views/pages/edit.html.haml create mode 100644 app/views/pages/index.html.haml create mode 100644 app/views/pages/new.html.haml create mode 100644 app/views/pages/show.html.haml create mode 100644 app/views/settings/index.html.haml create mode 100644 base_site.iml create mode 100644 bin/bundle create mode 100644 bin/rails create mode 100644 bin/rake create mode 100644 bin/setup create mode 100644 config.ru create mode 100644 config/application.rb create mode 100644 config/boot.rb create mode 100644 config/database.yml create mode 100644 config/deploy.rb create mode 100644 config/deploy/production.rb create mode 100644 config/deploy/staging.rb create mode 100644 config/environment.rb create mode 100644 config/environments/development.rb create mode 100644 config/environments/production.rb create mode 100644 config/environments/test.rb create mode 100644 config/initializers/active_translation.rb create mode 100644 config/initializers/assets.rb create mode 100644 config/initializers/backtrace_silencers.rb create mode 100644 config/initializers/ckeditor.rb create mode 100644 config/initializers/cookies_serializer.rb create mode 100644 config/initializers/devise.rb create mode 100644 config/initializers/filter_parameter_logging.rb create mode 100644 config/initializers/inflections.rb create mode 100644 config/initializers/mime_types.rb create mode 100644 config/initializers/session_store.rb create mode 100644 config/initializers/simple_form.rb create mode 100644 config/initializers/simple_form_bootstrap.rb create mode 100644 config/initializers/wrap_parameters.rb create mode 100644 config/locales/en.bootstrap.yml create mode 100644 config/locales/en.yml create mode 100644 config/locales/ru.bootstrap.yml create mode 100644 config/locales/ru.yml create mode 100644 config/locales/simple_form.en.yml create mode 100644 config/locales/simple_form.ru.yml create mode 100644 config/locales/simple_form.uk.yml create mode 100644 config/locales/uk.bootstrap.yml create mode 100644 config/locales/uk.yml create mode 100644 config/routes.rb create mode 100644 config/secrets.yml create mode 100644 db/migrate/20150506142023_devise_create_accounts.rb create mode 100644 db/migrate/20150506142148_create_administrators.rb create mode 100644 db/migrate/20150517084222_create_active_translation.rb create mode 100644 db/migrate/20150525174028_create_newsletters.rb create mode 100644 db/migrate/20150715143148_create_blocks.rb create mode 100644 db/migrate/20150715143248_create_block_versions.rb create mode 100644 db/migrate/20151130142520_create_pages.rb create mode 100644 db/migrate/20151227121014_create_settings.rb create mode 100644 db/migrate/20160302111301_create_ckeditor_assets.rb create mode 100644 db/schema.rb create mode 100644 db/seeds.rb create mode 100644 lib/active_translation/active_translation.rb create mode 100644 lib/assets/.keep create mode 100644 lib/tasks/.keep create mode 100644 lib/templates/bootstrap/themed/_form.html.haml create mode 100644 lib/templates/bootstrap/themed/edit.html.haml create mode 100644 lib/templates/bootstrap/themed/index.html.haml create mode 100644 lib/templates/bootstrap/themed/new.html.haml create mode 100644 lib/templates/bootstrap/themed/show.html.haml create mode 100644 lib/templates/bootstrap/themed/simple_form/_form.html.haml create mode 100644 lib/templates/haml/scaffold/_form.html.haml create mode 100644 log/.keep create mode 100644 log/development.log create mode 100644 log/test.log create mode 100644 public/404.html create mode 100644 public/422.html create mode 100644 public/500.html create mode 100644 public/favicon.ico create mode 100644 public/robots.txt create mode 100644 test/controllers/.keep create mode 100644 test/controllers/accounts_controller_test.rb create mode 100644 test/controllers/admin_controller_test.rb create mode 100644 test/controllers/front_controller_test.rb create mode 100644 test/controllers/pages_controller_test.rb create mode 100644 test/controllers/settings_controller_test.rb create mode 100644 test/fixtures/.keep create mode 100644 test/fixtures/accounts.yml create mode 100644 test/fixtures/administrators.yml create mode 100644 test/fixtures/files/test.png create mode 100644 test/fixtures/newsletters.yml create mode 100644 test/fixtures/pages.yml create mode 100644 test/fixtures/settings.yml create mode 100644 test/helpers/.keep create mode 100644 test/integration/.keep create mode 100644 test/mailers/.keep create mode 100644 test/models/.keep create mode 100644 test/models/account_test.rb create mode 100644 test/models/administrator_test.rb create mode 100644 test/models/newsletter_test.rb create mode 100644 test/models/page_test.rb create mode 100644 test/models/setting_test.rb create mode 100644 test/test_helper.rb create mode 100644 vendor/assets/javascripts/.keep create mode 100644 vendor/assets/stylesheets/.keep diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..050c9d9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +# See https://help.github.com/articles/ignoring-files for more about ignoring files. +# +# If you find yourself ignoring temporary files generated by your text editor +# or operating system, you probably want to add a global ignore instead: +# git config --global core.excludesfile '~/.gitignore_global' + +# Ignore bundler config. +/.bundle + +# Ignore the default SQLite database. +/db/*.sqlite3 +/db/*.sqlite3-journal + +# Ignore all logfiles and tempfiles. +/log/* +!/log/.keep +/tmp diff --git a/.idea/.generators b/.idea/.generators new file mode 100644 index 0000000..806e498 --- /dev/null +++ b/.idea/.generators @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Settings><!--This file was automatically generated by Ruby plugin. +You are allowed to: +1. Reorder generators +2. Remove generators +3. Add installed generators +To add new installed generators automatically delete this file and reload the project. +--><GeneratorsGroup><Generator name="active_record:devise" /><Generator name="assets" /><Generator name="bootstrap:install" /><Generator name="bootstrap:layout" /><Generator name="bootstrap:partial" /><Generator name="bootstrap:themed" /><Generator name="ckeditor:install" /><Generator name="ckeditor:pundit_policy" /><Generator name="coffee:assets" /><Generator name="controller" /><Generator name="devise" /><Generator name="devise:controllers" /><Generator name="devise:install" /><Generator name="devise:views" /><Generator name="devise:views:i18n_templates" /><Generator name="devise:views:locale" /><Generator name="erb:controller" /><Generator name="erb:mailer" /><Generator name="erb:scaffold" /><Generator name="generator" /><Generator name="haml:application_layout" /><Generator name="helper" /><Generator name="integration_test" /><Generator name="jbuilder" /><Generator name="job" /><Generator name="js:assets" /><Generator name="less:assets" /><Generator name="mailer" /><Generator name="migration" /><Generator name="model" /><Generator name="mongoid:devise" /><Generator name="nested_form:install" /><Generator name="resource" /><Generator name="responders:install" /><Generator name="responders_controller" /><Generator name="scaffold" /><Generator name="scaffold_controller" /><Generator name="simple_form:install" /><Generator name="task" /><Generator name="test_unit:generator" /><Generator name="test_unit:job" /><Generator name="test_unit:plugin" /><Generator name="uploader" /></GeneratorsGroup></Settings> diff --git a/.idea/.rakeTasks b/.idea/.rakeTasks new file mode 100644 index 0000000..8bcf575 --- /dev/null +++ b/.idea/.rakeTasks @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Settings><!--This file was automatically generated by Ruby plugin. +You are allowed to: +1. Remove rake task +2. Add existing rake tasks +To add existing rake tasks automatically delete this file and reload the project. +--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="List versions of all Rails frameworks and the environment" fullCmd="about" taksId="about" /><RakeGroup description="" fullCmd="" taksId="assets"><RakeTask description="Remove old compiled assets" fullCmd="assets:clean[keep]" taksId="clean[keep]" /><RakeTask description="Remove compiled assets" fullCmd="assets:clobber" taksId="clobber" /><RakeTask description="Load asset compile environment" fullCmd="assets:environment" taksId="environment" /><RakeTask description="Compile all the assets named in config.assets.precompile" fullCmd="assets:precompile" taksId="precompile" /><RakeTask description="" fullCmd="assets:clean" taksId="clean" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="cache_digests"><RakeTask description="Lookup first-level dependencies for TEMPLATE (like messages/show or comments/_comment.html)" fullCmd="cache_digests:dependencies" taksId="dependencies" /><RakeTask description="Lookup nested dependencies for TEMPLATE (like messages/show or comments/_comment.html)" fullCmd="cache_digests:nested_dependencies" taksId="nested_dependencies" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="ckeditor"><RakeTask description="Create nondigest versions of all ckeditor digest assets" fullCmd="ckeditor:nondigest" taksId="nondigest" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="db"><RakeTask description="Creates the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use db:create:all to create all databases in the config)" fullCmd="db:create" taksId="create" /><RakeTask description="Drops the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use db:drop:all to drop all databases in the config)" fullCmd="db:drop" taksId="drop" /><RakeGroup description="" fullCmd="" taksId="fixtures"><RakeTask description="Load fixtures into the current environment's database" fullCmd="db:fixtures:load" taksId="load" /><RakeTask description="" fullCmd="db:fixtures:identify" taksId="identify" /></RakeGroup><RakeTask description="Migrate the database (options: VERSION=x, VERBOSE=false, SCOPE=blog)" fullCmd="db:migrate" taksId="migrate" /><RakeGroup description="" fullCmd="" taksId="migrate"><RakeTask description="Display status of migrations" fullCmd="db:migrate:status" taksId="status" /><RakeTask description="" fullCmd="db:migrate:down" taksId="down" /><RakeTask description="" fullCmd="db:migrate:redo" taksId="redo" /><RakeTask description="" fullCmd="db:migrate:reset" taksId="reset" /><RakeTask description="" fullCmd="db:migrate:up" taksId="up" /></RakeGroup><RakeTask description="Rolls the schema back to the previous version (specify steps w/ STEP=n)" fullCmd="db:rollback" taksId="rollback" /><RakeGroup description="" fullCmd="" taksId="schema"><RakeGroup description="" fullCmd="" taksId="cache"><RakeTask description="Clear a db/schema_cache.dump file" fullCmd="db:schema:cache:clear" taksId="clear" /><RakeTask description="Create a db/schema_cache.dump file" fullCmd="db:schema:cache:dump" taksId="dump" /></RakeGroup><RakeTask description="Create a db/schema.rb file that is portable against any DB supported by AR" fullCmd="db:schema:dump" taksId="dump" /><RakeTask description="Load a schema.rb file into the database" fullCmd="db:schema:load" taksId="load" /><RakeTask description="" fullCmd="db:schema:load_if_ruby" taksId="load_if_ruby" /></RakeGroup><RakeTask description="Load the seed data from db/seeds.rb" fullCmd="db:seed" taksId="seed" /><RakeTask description="Create the database, load the schema, and initialize with the seed data (use db:reset to also drop the database first)" fullCmd="db:setup" taksId="setup" /><RakeGroup description="" fullCmd="" taksId="structure"><RakeTask description="Dump the database structure to db/structure.sql" fullCmd="db:structure:dump" taksId="dump" /><RakeTask description="Recreate the databases from the structure.sql file" fullCmd="db:structure:load" taksId="load" /><RakeTask description="" fullCmd="db:structure:load_if_sql" taksId="load_if_sql" /></RakeGroup><RakeTask description="Retrieves the current schema version number" fullCmd="db:version" taksId="version" /><RakeTask description="" fullCmd="db:_dump" taksId="_dump" /><RakeTask description="" fullCmd="db:abort_if_pending_migrations" taksId="abort_if_pending_migrations" /><RakeTask description="" fullCmd="db:charset" taksId="charset" /><RakeTask description="" fullCmd="db:collation" taksId="collation" /><RakeGroup description="" fullCmd="" taksId="create"><RakeTask description="" fullCmd="db:create:all" taksId="all" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="drop"><RakeTask description="" fullCmd="db:drop:all" taksId="all" /></RakeGroup><RakeTask description="" fullCmd="db:forward" taksId="forward" /><RakeTask description="" fullCmd="db:load_config" taksId="load_config" /><RakeTask description="" fullCmd="db:purge" taksId="purge" /><RakeGroup description="" fullCmd="" taksId="purge"><RakeTask description="" fullCmd="db:purge:all" taksId="all" /></RakeGroup><RakeTask description="" fullCmd="db:reset" taksId="reset" /><RakeGroup description="" fullCmd="" taksId="test"><RakeTask description="" fullCmd="db:test:clone" taksId="clone" /><RakeTask description="" fullCmd="db:test:clone_schema" taksId="clone_schema" /><RakeTask description="" fullCmd="db:test:clone_structure" taksId="clone_structure" /><RakeTask description="" fullCmd="db:test:deprecated" taksId="deprecated" /><RakeTask description="" fullCmd="db:test:load" taksId="load" /><RakeTask description="" fullCmd="db:test:load_schema" taksId="load_schema" /><RakeTask description="" fullCmd="db:test:load_structure" taksId="load_structure" /><RakeTask description="" fullCmd="db:test:prepare" taksId="prepare" /><RakeTask description="" fullCmd="db:test:purge" taksId="purge" /></RakeGroup></RakeGroup><RakeGroup description="" fullCmd="" taksId="doc"><RakeTask description="Generate docs for the app -- also available doc:rails, doc:guides (options: TEMPLATE=/rdoc-template.rb, TITLE="Custom Title")" fullCmd="doc:app" taksId="app" /><RakeTask description="" fullCmd="doc:clobber" taksId="clobber" /><RakeTask description="" fullCmd="doc:clobber_app" taksId="clobber_app" /><RakeTask description="" fullCmd="doc:clobber_rails" taksId="clobber_rails" /><RakeTask description="" fullCmd="doc:guides" taksId="guides" /><RakeTask description="" fullCmd="doc:rails" taksId="rails" /><RakeTask description="" fullCmd="doc:reapp" taksId="reapp" /><RakeTask description="" fullCmd="doc:rerails" taksId="rerails" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="haml"><RakeTask description="Convert html.erb to html.haml each file in app/views" fullCmd="haml:erb2haml" taksId="erb2haml" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="log"><RakeTask description="Truncates all *.log files in log/ to zero bytes (specify which logs with LOGS=test,development)" fullCmd="log:clear" taksId="clear" /></RakeGroup><RakeTask description="Prints out your Rack middleware stack" fullCmd="middleware" taksId="middleware" /><RakeTask description="Enumerate all annotations (use notes:optimize, :fixme, :todo for focus)" fullCmd="notes" taksId="notes" /><RakeGroup description="" fullCmd="" taksId="notes"><RakeTask description="Enumerate a custom annotation, specify with ANNOTATION=CUSTOM" fullCmd="notes:custom" taksId="custom" /><RakeTask description="" fullCmd="notes:fixme" taksId="fixme" /><RakeTask description="" fullCmd="notes:optimize" taksId="optimize" /><RakeTask description="" fullCmd="notes:todo" taksId="todo" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="rails"><RakeTask description="Applies the template supplied by LOCATION=(/path/to/template) or URL" fullCmd="rails:template" taksId="template" /><RakeTask description="Update configs and some other initially generated files (or use just update:configs or update:bin)" fullCmd="rails:update" taksId="update" /><RakeGroup description="" fullCmd="" taksId="templates"><RakeTask description="" fullCmd="rails:templates:copy" taksId="copy" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="update"><RakeTask description="" fullCmd="rails:update:bin" taksId="bin" /><RakeTask description="" fullCmd="rails:update:configs" taksId="configs" /></RakeGroup></RakeGroup><RakeTask description="Print out all defined routes in match order, with names" fullCmd="routes" taksId="routes" /><RakeTask description="Generate a cryptographically secure secret key (this is typically used to generate a secret for cookie sessions)" fullCmd="secret" taksId="secret" /><RakeTask description="Report code statistics (KLOCs, etc) from the application or engine" fullCmd="stats" taksId="stats" /><RakeTask description="Runs all tests in test folder" fullCmd="test" taksId="test" /><RakeGroup description="" fullCmd="" taksId="test"><RakeTask description="Run tests quickly by merging all types and not resetting db" fullCmd="test:all" taksId="all" /><RakeGroup description="" fullCmd="" taksId="all"><RakeTask description="Run tests quickly, but also reset db" fullCmd="test:all:db" taksId="db" /></RakeGroup><RakeTask description="Run tests quickly, but also reset db" fullCmd="test:db" taksId="db" /><RakeTask description="" fullCmd="test:controllers" taksId="controllers" /><RakeTask description="" fullCmd="test:deprecate_all" taksId="deprecate_all" /><RakeTask description="" fullCmd="test:functionals" taksId="functionals" /><RakeTask description="" fullCmd="test:generators" taksId="generators" /><RakeTask description="" fullCmd="test:helpers" taksId="helpers" /><RakeTask description="" fullCmd="test:integration" taksId="integration" /><RakeTask description="" fullCmd="test:jobs" taksId="jobs" /><RakeTask description="" fullCmd="test:mailers" taksId="mailers" /><RakeTask description="" fullCmd="test:models" taksId="models" /><RakeTask description="" fullCmd="test:prepare" taksId="prepare" /><RakeTask description="" fullCmd="test:run" taksId="run" /><RakeTask description="" fullCmd="test:single" taksId="single" /><RakeTask description="" fullCmd="test:units" taksId="units" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="time"><RakeGroup description="" fullCmd="" taksId="zones"><RakeTask description="Displays all time zones, also available: time:zones:us, time:zones:local -- filter with OFFSET parameter, e.g., OFFSET=-6" fullCmd="time:zones:all" taksId="all" /><RakeTask description="" fullCmd="time:zones:local" taksId="local" /><RakeTask description="" fullCmd="time:zones:us" taksId="us" /></RakeGroup></RakeGroup><RakeGroup description="" fullCmd="" taksId="tmp"><RakeTask description="Clear session, cache, and socket files from tmp/ (narrow w/ tmp:sessions:clear, tmp:cache:clear, tmp:sockets:clear)" fullCmd="tmp:clear" taksId="clear" /><RakeTask description="Creates tmp directories for sessions, cache, sockets, and pids" fullCmd="tmp:create" taksId="create" /><RakeGroup description="" fullCmd="" taksId="cache"><RakeTask description="" fullCmd="tmp:cache:clear" taksId="clear" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="pids"><RakeTask description="" fullCmd="tmp:pids:clear" taksId="clear" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="sessions"><RakeTask description="" fullCmd="tmp:sessions:clear" taksId="clear" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="sockets"><RakeTask description="" fullCmd="tmp:sockets:clear" taksId="clear" /></RakeGroup></RakeGroup><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="doc" taksId="doc" /><RakeTask description="" fullCmd="doc/app" taksId="doc/app" /><RakeTask description="" fullCmd="doc/app/created.rid" taksId="doc/app/created.rid" /><RakeTask description="" fullCmd="file" taksId="file" /><RakeTask description="" fullCmd="environment" taksId="environment" /><RakeTask description="" fullCmd="html" taksId="html" /><RakeTask description="" fullCmd="html/created.rid" taksId="html/created.rid" /><RakeGroup description="" fullCmd="" taksId="railties"><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="" fullCmd="railties:install:migrations" taksId="migrations" /></RakeGroup></RakeGroup><RakeTask description="" fullCmd="tmp" taksId="tmp" /><RakeTask description="" fullCmd="tmp/cache" taksId="tmp/cache" /><RakeTask description="" fullCmd="tmp/cache/assets" taksId="tmp/cache/assets" /><RakeTask description="" fullCmd="tmp/cache/assets/development" taksId="tmp/cache/assets/development" /><RakeTask description="" fullCmd="tmp/cache/assets/production" taksId="tmp/cache/assets/production" /><RakeTask description="" fullCmd="tmp/cache/assets/test" taksId="tmp/cache/assets/test" /><RakeTask description="" fullCmd="tmp/pids" taksId="tmp/pids" /><RakeTask description="" fullCmd="tmp/sessions" taksId="tmp/sessions" /><RakeTask description="" fullCmd="tmp/sockets" taksId="tmp/sockets" /></RakeGroup></Settings> diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..96cc43e --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="CompilerConfiguration"> + <resourceExtensions /> + <wildcardResourcePatterns> + <entry name="!?*.java" /> + <entry name="!?*.form" /> + <entry name="!?*.class" /> + <entry name="!?*.groovy" /> + <entry name="!?*.scala" /> + <entry name="!?*.flex" /> + <entry name="!?*.kt" /> + <entry name="!?*.clj" /> + <entry name="!?*.aj" /> + </wildcardResourcePatterns> + <annotationProcessing> + <profile default="true" name="Default" enabled="false"> + <processorPath useClasspath="true" /> + </profile> + </annotationProcessing> + </component> +</project> \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml new file mode 100644 index 0000000..c7d1c5a --- /dev/null +++ b/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ +<component name="CopyrightManager"> + <settings default="" /> +</component> \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..97626ba --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="Encoding"> + <file url="PROJECT" charset="UTF-8" /> + </component> +</project> \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..6ee4dd9 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectLevelVcsManager" settingsEditedManually="false"> + <OptionsSetting value="true" id="Add" /> + <OptionsSetting value="true" id="Remove" /> + <OptionsSetting value="true" id="Checkout" /> + <OptionsSetting value="true" id="Update" /> + <OptionsSetting value="true" id="Status" /> + <OptionsSetting value="true" id="Edit" /> + <ConfirmationsSetting value="0" id="Add" /> + <ConfirmationsSetting value="0" id="Remove" /> + </component> + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_3" default="false" assert-keyword="false" jdk-15="false" project-jdk-name="ruby-2.1.5-p273" project-jdk-type="RUBY_SDK"> + <output url="file://$PROJECT_DIR$/out" /> + </component> + <component name="SvnBranchConfigurationManager"> + <option name="mySupportsUserInfoFilter" value="true" /> + </component> +</project> \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..5669d7f --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectModuleManager"> + <modules> + <module fileurl="file://$PROJECT_DIR$/base_site.iml" filepath="$PROJECT_DIR$/base_site.iml" /> + </modules> + </component> +</project> \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..45cf85c --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="" vcs="svn" /> + </component> +</project> \ No newline at end of file diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..f6caf94 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +ruby-2.1.5 \ No newline at end of file diff --git a/Capfile b/Capfile new file mode 100644 index 0000000..c6cd882 --- /dev/null +++ b/Capfile @@ -0,0 +1,21 @@ +# Load DSL and set up stages +require 'capistrano/setup' + +# Include default deployment tasks +require 'capistrano/deploy' + +# https://github.com/capistrano/rvm +require 'capistrano/rvm' + +# https://github.com/capistrano/bundler +require 'capistrano/bundler' + +# require 'capistrano/rails' +require 'capistrano/rails' +require 'capistrano/faster_assets' + +# Load custom tasks from `lib/capistrano/tasks` if you have any defined +Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r } + +# Invoke staging as default +# Rake::Task[:staging].invoke \ No newline at end of file diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..87a02de --- /dev/null +++ b/Gemfile @@ -0,0 +1,42 @@ +source 'https://rubygems.org' + +gem 'rails', '4.2.5.1' +gem 'mysql2' +gem 'uglifier', '>= 1.3.0' +gem 'sass-rails', '~> 5.0' +gem 'coffee-rails', '~> 4.1.0' +gem 'jquery-rails' +gem 'turbolinks' +gem 'jbuilder', '~> 2.0' +gem 'sdoc', '~> 0.4.0', group: :doc + +gem 'twitter-bootstrap-rails' +gem 'bootstrap-sass', '~> 3.3.4' +gem 'haml-rails' +gem 'devise' +gem 'devise-i18n' +gem 'ckeditor' +gem 'carrierwave' +gem 'mini_magick' +gem 'simple_form' +gem 'nested_form' +gem 'font-awesome-rails' +gem 'jquery-ui-rails' +gem 'acts_as_list' +gem 'will_paginate' +gem 'bootstrap-will_paginate' +gem 'momentjs-rails', '>= 2.9.0' +gem 'bootstrap3-datetimepicker-rails', '~> 4.15.35' + +gem 'sdoc', '~> 0.4.0', group: :doc +gem 'tzinfo-data', platforms: [:mingw, :mswin, :jruby] +group :development do + gem 'web-console', '~> 2.0' + gem 'capistrano', '~> 3.4' + gem 'capistrano-faster-assets', '~> 1.0' + gem 'capistrano-bundler' + gem 'capistrano-rvm' + gem 'capistrano-rails' +end + +gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..13b9080 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,285 @@ +GEM + remote: https://rubygems.org/ + specs: + actionmailer (4.2.5.1) + actionpack (= 4.2.5.1) + actionview (= 4.2.5.1) + activejob (= 4.2.5.1) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 1.0, >= 1.0.5) + actionpack (4.2.5.1) + actionview (= 4.2.5.1) + activesupport (= 4.2.5.1) + rack (~> 1.6) + rack-test (~> 0.6.2) + rails-dom-testing (~> 1.0, >= 1.0.5) + rails-html-sanitizer (~> 1.0, >= 1.0.2) + actionview (4.2.5.1) + activesupport (= 4.2.5.1) + builder (~> 3.1) + erubis (~> 2.7.0) + rails-dom-testing (~> 1.0, >= 1.0.5) + rails-html-sanitizer (~> 1.0, >= 1.0.2) + activejob (4.2.5.1) + activesupport (= 4.2.5.1) + globalid (>= 0.3.0) + activemodel (4.2.5.1) + activesupport (= 4.2.5.1) + builder (~> 3.1) + activerecord (4.2.5.1) + activemodel (= 4.2.5.1) + activesupport (= 4.2.5.1) + arel (~> 6.0) + activesupport (4.2.5.1) + i18n (~> 0.7) + json (~> 1.7, >= 1.7.7) + minitest (~> 5.1) + thread_safe (~> 0.3, >= 0.3.4) + tzinfo (~> 1.1) + acts_as_list (0.7.2) + activerecord (>= 3.0) + arel (6.0.3) + autoprefixer-rails (6.3.6) + execjs + bcrypt (3.1.11-x64-mingw32) + bcrypt (3.1.11-x86-mingw32) + binding_of_caller (0.7.2) + debug_inspector (>= 0.0.1) + bootstrap-sass (3.3.6) + autoprefixer-rails (>= 5.2.1) + sass (>= 3.3.4) + bootstrap-will_paginate (0.0.10) + will_paginate + bootstrap3-datetimepicker-rails (4.15.35) + momentjs-rails (>= 2.8.1) + builder (3.2.2) + capistrano (3.4.0) + i18n + rake (>= 10.0.0) + sshkit (~> 1.3) + capistrano-bundler (1.1.4) + capistrano (~> 3.1) + sshkit (~> 1.2) + capistrano-faster-assets (1.0.2) + capistrano (>= 3.1) + capistrano-rails (1.1.6) + capistrano (~> 3.1) + capistrano-bundler (~> 1.1) + capistrano-rvm (0.1.2) + capistrano (~> 3.0) + sshkit (~> 1.2) + carrierwave (0.11.0) + activemodel (>= 3.2.0) + activesupport (>= 3.2.0) + json (>= 1.7) + mime-types (>= 1.16) + ckeditor (4.1.6) + cocaine + orm_adapter (~> 0.5.0) + climate_control (0.0.3) + activesupport (>= 3.0) + cocaine (0.5.8) + climate_control (>= 0.0.3, < 1.0) + coffee-rails (4.1.1) + coffee-script (>= 2.2.0) + railties (>= 4.0.0, < 5.1.x) + coffee-script (2.4.1) + coffee-script-source + execjs + coffee-script-source (1.10.0) + commonjs (0.2.7) + concurrent-ruby (1.0.1) + debug_inspector (0.0.2) + devise (3.5.6) + bcrypt (~> 3.0) + orm_adapter (~> 0.1) + railties (>= 3.2.6, < 5) + responders + thread_safe (~> 0.1) + warden (~> 1.2.3) + devise-i18n (1.0.1) + erubis (2.7.0) + execjs (2.6.0) + font-awesome-rails (4.6.0.0) + railties (>= 3.2, < 5.1) + globalid (0.3.6) + activesupport (>= 4.1.0) + haml (4.0.7) + tilt + haml-rails (0.9.0) + actionpack (>= 4.0.1) + activesupport (>= 4.0.1) + haml (>= 4.0.6, < 5.0) + html2haml (>= 1.0.1) + railties (>= 4.0.1) + html2haml (2.0.0) + erubis (~> 2.7.0) + haml (~> 4.0.0) + nokogiri (~> 1.6.0) + ruby_parser (~> 3.5) + i18n (0.7.0) + jbuilder (2.4.1) + activesupport (>= 3.0.0, < 5.1) + multi_json (~> 1.2) + jquery-rails (4.1.1) + rails-dom-testing (>= 1, < 3) + railties (>= 4.2.0) + thor (>= 0.14, < 2.0) + jquery-ui-rails (5.0.5) + railties (>= 3.2.16) + json (1.8.3) + less (2.6.0) + commonjs (~> 0.2.7) + less-rails (2.7.1) + actionpack (>= 4.0) + less (~> 2.6.0) + sprockets (> 2, < 4) + tilt + loofah (2.0.3) + nokogiri (>= 1.5.9) + mail (2.6.4) + mime-types (>= 1.16, < 4) + mime-types (3.0) + mime-types-data (~> 3.2015) + mime-types-data (3.2016.0221) + mini_magick (4.5.1) + mini_portile2 (2.0.0) + minitest (5.8.4) + momentjs-rails (2.11.0) + railties (>= 3.1) + multi_json (1.11.2) + mysql2 (0.4.3-x64-mingw32) + mysql2 (0.4.3-x86-mingw32) + nested_form (0.3.2) + net-scp (1.2.1) + net-ssh (>= 2.6.5) + net-ssh (3.1.1) + nokogiri (1.6.7.2-x64-mingw32) + mini_portile2 (~> 2.0.0.rc2) + nokogiri (1.6.7.2-x86-mingw32) + mini_portile2 (~> 2.0.0.rc2) + orm_adapter (0.5.0) + rack (1.6.4) + rack-test (0.6.3) + rack (>= 1.0) + rails (4.2.5.1) + actionmailer (= 4.2.5.1) + actionpack (= 4.2.5.1) + actionview (= 4.2.5.1) + activejob (= 4.2.5.1) + activemodel (= 4.2.5.1) + activerecord (= 4.2.5.1) + activesupport (= 4.2.5.1) + bundler (>= 1.3.0, < 2.0) + railties (= 4.2.5.1) + sprockets-rails + rails-deprecated_sanitizer (1.0.3) + activesupport (>= 4.2.0.alpha) + rails-dom-testing (1.0.7) + activesupport (>= 4.2.0.beta, < 5.0) + nokogiri (~> 1.6.0) + rails-deprecated_sanitizer (>= 1.0.1) + rails-html-sanitizer (1.0.3) + loofah (~> 2.0) + railties (4.2.5.1) + actionpack (= 4.2.5.1) + activesupport (= 4.2.5.1) + rake (>= 0.8.7) + thor (>= 0.18.1, < 2.0) + rake (11.1.2) + rdoc (4.2.2) + json (~> 1.4) + responders (2.1.2) + railties (>= 4.2.0, < 5.1) + ruby_parser (3.8.1) + sexp_processor (~> 4.1) + sass (3.4.22) + sass-rails (5.0.4) + railties (>= 4.0.0, < 5.0) + sass (~> 3.1) + sprockets (>= 2.8, < 4.0) + sprockets-rails (>= 2.0, < 4.0) + tilt (>= 1.1, < 3) + sdoc (0.4.1) + json (~> 1.7, >= 1.7.7) + rdoc (~> 4.0) + sexp_processor (4.7.0) + simple_form (3.2.1) + actionpack (> 4, < 5.1) + activemodel (> 4, < 5.1) + sprockets (3.6.0) + concurrent-ruby (~> 1.0) + rack (> 1, < 3) + sprockets-rails (3.0.4) + actionpack (>= 4.0) + activesupport (>= 4.0) + sprockets (>= 3.0.0) + sshkit (1.9.0) + net-scp (>= 1.1.2) + net-ssh (>= 2.8.0) + thor (0.19.1) + thread_safe (0.3.5) + tilt (2.0.2) + turbolinks (2.5.3) + coffee-rails + twitter-bootstrap-rails (3.2.2) + actionpack (>= 3.1) + execjs (>= 2.2.2, >= 2.2) + less-rails (>= 2.5.0) + railties (>= 3.1) + tzinfo (1.2.2) + thread_safe (~> 0.1) + tzinfo-data (1.2016.3) + tzinfo (>= 1.0.0) + uglifier (3.0.0) + execjs (>= 0.3.0, < 3) + warden (1.2.6) + rack (>= 1.0) + web-console (2.3.0) + activemodel (>= 4.0) + binding_of_caller (>= 0.7.2) + railties (>= 4.0) + sprockets-rails (>= 2.0, < 4.0) + will_paginate (3.1.0) + +PLATFORMS + x64-mingw32 + x86-mingw32 + +DEPENDENCIES + acts_as_list + bootstrap-sass (~> 3.3.4) + bootstrap-will_paginate + bootstrap3-datetimepicker-rails (~> 4.15.35) + capistrano (~> 3.4) + capistrano-bundler + capistrano-faster-assets (~> 1.0) + capistrano-rails + capistrano-rvm + carrierwave + ckeditor + coffee-rails (~> 4.1.0) + devise + devise-i18n + font-awesome-rails + haml-rails + jbuilder (~> 2.0) + jquery-rails + jquery-ui-rails + mini_magick + momentjs-rails (>= 2.9.0) + mysql2 + nested_form + rails (= 4.2.5.1) + sass-rails (~> 5.0) + sdoc (~> 0.4.0) + simple_form + turbolinks + twitter-bootstrap-rails + tzinfo-data + uglifier (>= 1.3.0) + web-console (~> 2.0) + will_paginate + +BUNDLED WITH + 1.11.2 diff --git a/README.rdoc b/README.rdoc new file mode 100644 index 0000000..dd4e97e --- /dev/null +++ b/README.rdoc @@ -0,0 +1,28 @@ +== README + +This README would normally document whatever steps are necessary to get the +application up and running. + +Things you may want to cover: + +* Ruby version + +* System dependencies + +* Configuration + +* Database creation + +* Database initialization + +* How to run the test suite + +* Services (job queues, cache servers, search engines, etc.) + +* Deployment instructions + +* ... + + +Please feel free to use a different markup language if you do not plan to run +<tt>rake doc:app</tt>. diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..ba6b733 --- /dev/null +++ b/Rakefile @@ -0,0 +1,6 @@ +# Add your own tasks in files placed in lib/tasks ending in .rake, +# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. + +require File.expand_path('../config/application', __FILE__) + +Rails.application.load_tasks diff --git a/app/assets/javascripts/admin.js b/app/assets/javascripts/admin.js new file mode 100644 index 0000000..010e41c --- /dev/null +++ b/app/assets/javascripts/admin.js @@ -0,0 +1,6 @@ +//= require jquery-ui/sortable +//= require turbolinks +//= require jquery_nested_form +//= require moment +//= require bootstrap-datetimepicker +//= require_tree ./admin diff --git a/app/assets/javascripts/admin/admin_area.coffee b/app/assets/javascripts/admin/admin_area.coffee new file mode 100644 index 0000000..77f51ca --- /dev/null +++ b/app/assets/javascripts/admin/admin_area.coffee @@ -0,0 +1,23 @@ +window.linksPanelShowed = false +$(document).on 'ready page:load', -> + if window.linksPanelShowed + $('#links_panel').css left: 0 + +$(document).on 'mouseover click', '#links_panel', -> + unless window.linksPanelShowed + $linksPanel = $(this) + $linksPanel.animate {left: 0}, 100, -> + $linksPanel.find('.handle i').removeClass('fa-chevron-circle-right').addClass('fa-chevron-circle-left') + window.linksPanelShowed = true + +$(document).on 'mouseleave', '#links_panel', -> + $linksPanel = $(this) + $linksPanel.animate {left: 10 - $linksPanel.width()}, 250, -> + $linksPanel.find('.handle i').removeClass('fa-chevron-circle-left').addClass('fa-chevron-circle-right') + window.linksPanelShowed = false + +$(document).on 'click', '#links_panel .handle', -> + $linksPanel = $('#links_panel') + $linksPanel.animate {left: 10 - $linksPanel.width()}, 250, -> + $linksPanel.find('.handle i').removeClass('fa-chevron-circle-left').addClass('fa-chevron-circle-right') + window.linksPanelShowed = false diff --git a/app/assets/javascripts/admin/datetime_picker.js.coffee b/app/assets/javascripts/admin/datetime_picker.js.coffee new file mode 100644 index 0000000..a53f2ba --- /dev/null +++ b/app/assets/javascripts/admin/datetime_picker.js.coffee @@ -0,0 +1,9 @@ +$(document).on 'ready page:load', -> + init_datetime_picker($('.datetime_picker')) + init_date_picker($('.date_picker')) + +@init_datetime_picker = (element) -> + element.datetimepicker locale: $('html').attr('lang'), format: 'YYYY-MM-DD HH:mm', useCurrent: false + +@init_date_picker = (element) -> + element.datetimepicker locale: $('html').attr('lang'), format: 'YYYY-MM-DD', useCurrent: false \ No newline at end of file diff --git a/app/assets/javascripts/admin/lib/current_path.js.coffee b/app/assets/javascripts/admin/lib/current_path.js.coffee new file mode 100644 index 0000000..671dc45 --- /dev/null +++ b/app/assets/javascripts/admin/lib/current_path.js.coffee @@ -0,0 +1,16 @@ +class @CurrentPath + constructor: () -> + @path = $(location).attr('href').replace(/https?:\/\/[^\/]+/i, "") + + replace_param: (param, value) -> + regex = new RegExp('(' + param + '[^&?]*).', 'g') + @path = @path.replace(regex, param + '=' + value) + this + + remove_param: (param) -> + regex = new RegExp('(' + param + '[^&?]*).', 'g') + @path = @path.replace(regex, '').replace(/[?&]+$/, '') + this + + get_path: () -> + @path diff --git a/app/assets/javascripts/admin/lib/table_row_editor.coffee b/app/assets/javascripts/admin/lib/table_row_editor.coffee new file mode 100644 index 0000000..3e3501d --- /dev/null +++ b/app/assets/javascripts/admin/lib/table_row_editor.coffee @@ -0,0 +1,114 @@ +$(document).on 'ready page:load', -> + $('table.editable_rows').each -> + initEditableRows(this) + initCreation(this) + +initEditableRows = (table) -> + $table = $(table) + $table.find('a.edit').click (event) -> + event.preventDefault() + initRowEditing($(this)) + $table.find('a.destroy').click (event) -> + event.preventDefault() + event.stopPropagation() + $button = $(this) + confirmation = $button.data('confirm') + if !confirmation or confirm(confirmation) + $row = $button.closest('tr') + $.ajax + type: $button.data('method') + url: $button.attr('href') + '.json' + success: () -> $row.remove() + error: (data) -> setErrors($row, data) + + initRowEditing = ($editButton) -> + $controlsCell = $editButton.parent('td') + $row = $controlsCell.parent('tr') + orygControlHtml = $controlsCell.find('a').detach() + initControls($controlsCell) + initInputs($row) + + $row.find('td[data] input').keypress (event) -> + if event.which == 13 + event.preventDefault() + save() + + $controlsCell.find('.save').click (event) -> + event.preventDefault() + save() + + save = () -> + clearErrors($row) + data = {} + $row.find('td[data]').each -> + $cell = $(this) + data[$cell.attr('data')] = $cell.find('input').val() + ajaxData = {} + ajaxData[$table.data('resource')] = data + $.ajax + type: "PUT" + url: window.location.href + "/#{$row.data('id')}.json" + data: ajaxData + success: () -> restoreRow(true) + error: (data) -> setErrors($row, data) + + restoreRow = (updated) -> + $controlsCell.html(orygControlHtml) + $row.find('td[data]').each -> + $cell = $(this) + $input = $cell.find('input') + $cell.html(if updated then $input.val() else $input.data('undo')) + + $controlsCell.find('.cancel').click (event) -> + event.preventDefault() + restoreRow(false) + +initCreation = (table) -> + $table = $(table) + $createButton = $table.find('a.create') + $row = $createButton.closest('tr') + initInputs($row) + + $row.find('td[data]').keypress (event) -> + if event.which == 13 + event.preventDefault() + create() + + $createButton.click (event) -> + event.preventDefault() + create() + + create = () -> + clearErrors($row) + data = {} + $row.find('td[data]').each -> + $cell = $(this) + data[$cell.attr('data')] = $cell.find('input').val() + ajaxData = {} + ajaxData[$table.data('resource')] = data + $.ajax + type: "POST" + url: window.location.href + data: ajaxData + success: (data) -> + newTableBody = $("<div>#{data}</div>").find('table.editable_rows tbody').html() + $table.find('tbody').html(newTableBody) + $row.find('input:text').val('') + initEditableRows(table) + error: (data) -> setErrors($row, data) + +initInputs = ($row) -> + $row.find('td[data]').each -> + $cell = $(this) + value = $cell.html() + $cell.html("<input data-undo='#{value}' value='#{value}'><span class='has-error'/>") + +initControls = ($cell) -> + $cell.html("<a class='btn btn-primary btn-xs save' href='#'><i class='fa fa-check'/></a> <a class='btn btn-default btn-xs cancel' href='#'><i class='fa fa-remove'/></a>") + +clearErrors = ($row) -> + $row.find("td[data] span").html('') + +setErrors = ($row, data) -> + for k,v of data.responseJSON + $row.find("td[data='#{k}'] span").html(v.join()) diff --git a/app/assets/javascripts/admin/lib/tabular_filter.js.coffee b/app/assets/javascripts/admin/lib/tabular_filter.js.coffee new file mode 100644 index 0000000..67a3756 --- /dev/null +++ b/app/assets/javascripts/admin/lib/tabular_filter.js.coffee @@ -0,0 +1,66 @@ +HISTORY_ID = 'tabular_filter' + +$ -> + $(document).on 'change focusout', 'tr#filters .filter', filterChanged + $(document).on 'click', 'tr#filters .clear_tabular_filters', clearFilters + +filterChanged = -> + refreshTable($(this).parents('table')) + +clearFilters = (e) -> + e.preventDefault() + table = $(this).closest('table') + table.find('tr#filters .filter').val('') + refreshTable(table) + +refreshTable = (table) -> + path = new CurrentPath(table.closest('.popup_window').attr('data-path')).remove_param('tf').remove_param('page').get_path() + $.ajax path, + data: filtersHash(table), + asynchronous: true + evalScripts: true + method: "get" + success: (data, textStatus, jqXHR) -> + tableBody = $(data).find('tbody').html() + paginate = $(data).find('.refresh_pagination').html() + refreshData(table, tableBody, paginate) + if table.closest('.popup_window').length + table.closest('.popup_window').attr('data-path', this.url) + else + history.pushState({id: HISTORY_ID, tbody: tableBody, paginate: paginate, filters: filtersHistory()}, null, this.url); + +$(window).on 'popstate', () -> + if history.state && history.state.id == HISTORY_ID + refreshData(filteredTable(), history.state.tbody, history.state.paginate) + i = 0 + $('table thead tr#filters .filter').each -> + $(this).val(history.state.filters[i++]) + +filteredTable = (data = 'body') -> + $(data).find('table thead tr#filters').closest('table') + +filtersHash = (table) -> + filters = {} + filtersRow = table.find('tr#filters') + filtersRow.find('.filter').each () -> + value = $(this).val() + mode = '' + if value + if $(this).hasClass("date_picker") + mode = 'd' + else if $(this).hasClass("boolean") + mode = 'b' + filters["tf#{mode}_#{$(this).attr('id')}"] = value + filters + + +refreshData = (table, tbody, paginate) -> + table.find('tbody').html(tbody); + $('.refresh_pagination').html(paginate) +#$(window).resize(); #!!!special for med with its fixed tables!!! + +filtersHistory = -> + filters = [] + $('table thead tr#filters .filter').each -> + filters.push($(this).val()) + filters \ No newline at end of file diff --git a/app/assets/javascripts/admin/newsletters.coffee b/app/assets/javascripts/admin/newsletters.coffee new file mode 100644 index 0000000..524de89 --- /dev/null +++ b/app/assets/javascripts/admin/newsletters.coffee @@ -0,0 +1,14 @@ +$ -> + newsletter_progress = $('#newsletter_progress') + if newsletter_progress.length > 0 + send_emails() + +send_emails = () -> + $.getJSON window.location.href, {}, (newsletter) -> + $('#newsletter_progress').css('width', 100*newsletter.processed_id/newsletter.last_id + '%'); + if newsletter.processed_id < newsletter.last_id + send_emails() + else + $('.page-header h1').html('Sending of newsletter is complete.') + $('#sending_complete').show() + diff --git a/app/assets/javascripts/admin/page.coffee b/app/assets/javascripts/admin/page.coffee new file mode 100644 index 0000000..a597302 --- /dev/null +++ b/app/assets/javascripts/admin/page.coffee @@ -0,0 +1,17 @@ +$(document).on 'ready page:load', -> + $('#page_mode').each -> refresh_menu_item_fieldset($(this)) + $('#page_mode').change -> refresh_menu_item_fieldset($(this)) + +refresh_menu_item_fieldset = (item) -> + if item.val() == 'link' + $('#path_fields').hide() + $('#page_fields').hide() + $('#link_fields').show() + else if item.val() == 'page' + $('#path_fields').hide() + $('#page_fields').show() + $('#link_fields').hide() + else + $('#path_fields').show() + $('#page_fields').hide() + $('#link_fields').hide() diff --git a/app/assets/javascripts/admin/sortable.coffee b/app/assets/javascripts/admin/sortable.coffee new file mode 100644 index 0000000..bf937a3 --- /dev/null +++ b/app/assets/javascripts/admin/sortable.coffee @@ -0,0 +1,17 @@ +$(document).on 'ready page:load', -> + if $('.sort_icon').length + init_sortable('tbody', 'tr') + +init_sortable = (container_selector, item_selector, axis = 'y', handle_selector = '.sort_icon') -> + $(container_selector).sortable( + items: item_selector + handle: handle_selector + axis: axis + stop: (event, ui) -> + position = $(ui.item).index() + 1 + $.ajax({ + type: "PUT" + url: window.location.href + "/#{$(ui.item).data('id')}" + data: {position: position} + }); + ).disableSelection() diff --git a/app/assets/javascripts/admin_front.js b/app/assets/javascripts/admin_front.js new file mode 100644 index 0000000..1c1ebab --- /dev/null +++ b/app/assets/javascripts/admin_front.js @@ -0,0 +1 @@ +//= require_tree ./admin_front \ No newline at end of file diff --git a/app/assets/javascripts/admin_front/blocks.js.coffee b/app/assets/javascripts/admin_front/blocks.js.coffee new file mode 100644 index 0000000..92f40aa --- /dev/null +++ b/app/assets/javascripts/admin_front/blocks.js.coffee @@ -0,0 +1,76 @@ +#= require jquery-ui/draggable +#= require jquery-ui/resizable + +$ -> + $('#blocks_controls').draggable() + +$(document).on "click", '.block', -> + createInput(this) + +createInput = (block) -> + window.currentBlock = block + window.blocksControlsDisplay = $('#blocks_controls').css('display') + $('#blocks_controls').hide() + key = $(block).attr('class').match(/block_key_\w+/)[0].replace(/block_key_/, '') + $.get "/#{$('html').attr('lang')}/admin/blocks/#{key}/edit", (data) -> + $('#block_editor').remove() + $("<div id='block_editor'></div>").appendTo('body').draggable().resizable().css(blockRect()) + .animate + top: $(window).height() * 0.2 + left: $(window).width() * 0.2 + height: $(window).height() * 0.6 + width: $(window).width() * 0.6 + , 250 + , -> + $(data).appendTo('#block_editor') + resizeTextArea() + $('#block_editor textarea').each -> + $textArea = $(this) + $textArea.val($(block).html()) unless $textArea.val() + $textArea.val($textArea.val().replace(/\s+/gi, " ").replace(/<br\s*[\/]?>|<\/p\s*>\s*/gi, "\n").replace(/<p>\s*/gi, "")) + +$(document).on "resize", "#block_editor", (e) -> + resizeTextArea() + +resizeTextArea = -> + $('#block_editor textarea').height($('#block_editor').height() - 100) + +blockRect = -> + top: $(window.currentBlock).offset().top - window.scrollY + left: $(window.currentBlock).offset().left - window.scrollX + height: $(window.currentBlock).height() + width: $(window.currentBlock).width() + + +$(document).on "mousemove", "#block_editor a", (e) -> + e.stopImmediatePropagation() + +$(document).on "wheel", "#block_editor", (e) -> + e.stopImmediatePropagation() + e.target.type == 'textarea' + # e.target.scroll(e) + false +# e.preventDefault() + +$(document).on "click", "#cancel_block_editing", (e) -> + $('#block_editor').animate + opacity: 0 + top: $('#block_editor').position().top + 0.25 * $('#block_editor').height() + left: $('#block_editor').position().left + 0.25 * $('#block_editor').width() + height: 0.5 * $('#block_editor').height() + width: 0.5 * $('#block_editor').width() + , 250 + , -> + $('#block_editor').remove() + $('#blocks_controls').css(display: window.blocksControlsDisplay) + e.preventDefault() + false + +$(document).on "click", "#apply_block_editing", (e) -> + $('#block_editor').animate blockRect(), 250, -> + $('#block_editor form').submit() + $('#block_editor').remove() + e.preventDefault() + false + + diff --git a/app/assets/javascripts/ckeditor/config.js b/app/assets/javascripts/ckeditor/config.js new file mode 100644 index 0000000..2ddf7e0 --- /dev/null +++ b/app/assets/javascripts/ckeditor/config.js @@ -0,0 +1,60 @@ +CKEDITOR.editorConfig = function (config) { + config.filebrowserBrowseUrl = "/admin/ckeditor/attachment_files"; + config.filebrowserFlashBrowseUrl = "/admin/ckeditor/attachment_files"; + config.filebrowserFlashUploadUrl = "/admin/ckeditor/attachment_files"; + config.filebrowserImageBrowseLinkUrl = "/admin/ckeditor/pictures"; + config.filebrowserImageBrowseUrl = "/admin/ckeditor/pictures"; + config.filebrowserImageUploadUrl = "/admin/ckeditor/pictures"; + config.filebrowserUploadUrl = "/admin/ckeditor/attachment_files"; + //read more here: http://docs.ckeditor.com/#!/api/CKEDITOR.config + + config.extraPlugins = 'toolbarswitch,apply'; + config.removePlugins = 'about,a11yhelp,dialogadvtab,templates,newpage,pagebreak,wsc,forms'; + + config.toolbar_minToolbar = + [ + {name: 'document', items: ['Apply', 'Cancel']}, + {name: 'basicstyles', items: ['Bold', 'Italic']}, + //{name: 'links', items: ['Link', 'Unlink']}, + {name: 'paragraph', items: ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock']}, + {name: 'tools', items: ['Toolbarswitch']} + ]; + + config.toolbar_maxToolbar = + [ + {name: 'document', items: ['Source', '-', 'Apply', 'Cancel']}, + { + name: 'clipboard', + groups: ['clipboard', 'undo'], + items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'] + }, + { + name: 'editing', + groups: ['find', 'selection', 'spellchecker'], + items: ['Find', 'Replace', '-', 'SelectAll', '-', 'Scayt'] + }, + {name: 'insert', items: ['Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'Smiley', 'Iframe']}, + {name: 'links', items: ['Link', 'Unlink', 'Anchor']}, + '/', + {name: 'styles', items: ['Styles', 'Format', 'Font', 'FontSize']}, + { + name: 'basicstyles', + groups: ['basicstyles', 'cleanup'], + items: ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'] + }, + {name: 'colors', items: ['TextColor', 'BGColor']}, + { + name: 'paragraph', + groups: ['list', 'indent', 'blocks', 'align', 'bidi'], + items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl'] + }, + {name: 'tools', items: ['ShowBlocks', 'Toolbarswitch']} + ]; + + config.toolbar = 'minToolbar'; + config.smallToolbar = 'minToolbar'; + config.maximizedToolbar = 'maxToolbar'; + config.allowedContent = true; + + return true; +}; diff --git a/app/assets/javascripts/ckeditor/plugins/apply/icons/apply.png b/app/assets/javascripts/ckeditor/plugins/apply/icons/apply.png new file mode 100644 index 0000000000000000000000000000000000000000..843cbe9947e0772b0e4754f19759e1ee1bae7c50 GIT binary patch literal 3370 zcmV+_4b}3AP)<h;3K|Lk000e1NJLTq000mG000mO1^@s6AM^iV00009a7bBm000XU z000XU0RWnu7ytkYPiaF#P*7-ZbZ>KLZ*U+<Lqi~Na&Km7Y-Iodc-oy)XH-+^7Crag z^g>IBfRsybQWXdwQbLP>6p<z>Aqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uh<iVD~V z<RPMtgQJLw%KPDaqifc@_vX$1wbwr9tn;0-&j-K=43<bUQ8j=JsX`tR;Dg7+#^K~H zK!FM*Z~zbpvt%K2{UZSY_<lS*D<Z%Lz5oGu(+dayz)hRLFdT>f59&ghTmgWD0l;*T zI7<kC6aYYajzXpYKt=(8otP$50H6c_V9R4-;{Z@C0AMG7=F<Rxo%or10RUT+Ar%3j zkpLhQWr#!oXgdI`&sK^>09Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-<?i z0%4j!F2Z@488U%158(66005wo6%pWr^Zj_v4zAA5HjcIqUoGmt2LB>rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_<lS*MWK+n+1cgf z<k(8YLR(?VSAG6x!e78w{cQPuJpA|d;J)G{fihizM+Erb!p!tcr5w+a34~(Y=8s4G zw+sLL9n&JjNn*KJDiq^U5^;`1nvC-@r6P$!k}1U{(*I=Q-z@tBKHoI}uxdU5dyy@u zU1J0GOD7Ombim^G008p4Z^6_k2m^p<gW=D2|L;HjN1!DDfM!XOaR2~bL?kX$%CkSm z2mk;?pn)o|K^yeJ7%adB9Ki+L!3+FgHiSYX#KJ-lLJDMn9CBbOtb#%)hRv`YDqt_v zKpix|QD}yfa1JiQRk#j4a1Z)n2%f<xynzV>LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_Ifq<Ex{*7`05XF7hP+2Hl!3BQJ=6@fL%FCo z8iYoo3(#bAF`ADSpqtQgv>H8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ<AYmRsNLWl*PS{AOARHt#5!wki2?K;t z!Y3k=s7tgax)J%r7-BLphge7~Bi0g+6E6^Zh(p9TBoc{3GAFr^0!gu?RMHaCM$&Fl zBk3%un>0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 z<uv66WtcKSRim0x-Ke2d5jBrmLam{;Qm;{ms1r1GnmNsb7D-E`t)i9F8fX`2_i3-_ zbh;7Ul^#x)&{xvS=|||7=mYe33=M`AgU5(xC>fg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vF<Q0r40Q)j6=sE4X&sBct1q<&fbi3VB2Ov6t@q*0);U*o*SAPZv|vv@2aYYnT0 zb%8a+Cb7-ge0D0knEf5Qi#@8Tp*ce{N;6lpQuCB%KL_KOarm5cP6_8Ir<e17iry6O zDdH&`rZh~sF=bq9s+O0QSgS~@QL9Jmy*94xr=6y~MY~!1fet~(N+(<=M`w@D1)b+p z*;C!83a1uLJv#NSE~;y#8=<>IcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a<fJbF^|4I#xQ~n$Dc= zKYhjYmgz5NSkDm8*fZm{6U!;YX`NG>(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-k<Mujg;0Lz*3buG=3$G&ehepthlN*$KaOySSQ^nWmo<0M+(UEUMEXRQ zMBbZcF;6+KElM>iKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BK<z=<L*0kfKU@CX*zeqbYQT4(^U>T#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot<a{81DF0~rvGr5Xr~8u`lav1h z1DNytV>2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z00072Nkl<Zc-o}X&r90?6bJAxxG@~Dqgbp}?Ef%4?c!m0>BXV!7mV#c*unFzo)kox z2-BgZwrcHYsy37AP(&zI2<i@t4%6zocGfhlHA$12)VD*KY?BGY!-MzU;RBEN9*77x z3EUV+NC||+Fnod!!LLDV<TfCb1W1Mi)l{LF%4HNQMJT2M@1FNfEFF7Qw#xqpR4=Mv zlkDrdkveLcXfoqJ;vOWV1Xz(pU@vejKtzb7BE9wF^@MjIjDR{8Is|Oxw-6S?_l9<d zI@kmD6382Q=#~z>s)LBYrMVZ3mm$0dVI1V1am%qxtR1|}-|>9%tlah8rNPgGU3{L0 zP!f<SXOL1-NGeJAll~`6fT_R>f*0hRb>_#uj6K*X>;S!dZwQkh_(6@KM$Mn}ccsf| zh>8ea<}oY`cQUh#20sW>AV<hi?BDHgj~+(B%RI0tZ9ZySXwxwb!VJjv!FIuAxgO2b zFqN9>X$Un~m;qrL<chdX)^qFk%?lHy^AgU?GeA985trf~H|JI{2f`evCE8LMJs5r4 z9BtNr^<0at3SZzK644)<!LfdfqEW<hZn@L((P1DA0t-SIgh(xSa?Z+XZuOa2HKAC_ zRUoa^W}ZBn?6xi0&ansr2f_l#zGSb?XXm?RLq?%exC+RIj1&C?huR@TMMN+ge99~{ z7C4Z7#coV|o9Nju?c+#0s$JsWfNH8xO%<A@LAPo<_ho!9Ti05%ePZ9^L?MCg!uG#` z-wVZ5pj$dl&C}Zh$${sA?}1xu(%SXFO~3Ky09!tYwadIX6951J07*qoM6N<$f_p7Z AK>z>% literal 0 HcmV?d00001 diff --git a/app/assets/javascripts/ckeditor/plugins/apply/icons/cancel.png b/app/assets/javascripts/ckeditor/plugins/apply/icons/cancel.png new file mode 100644 index 0000000000000000000000000000000000000000..465c9b2d2564abd3383f469302ed8710d2b2c25a GIT binary patch literal 3648 zcmV-G4!`k<P)<h;3K|Lk000e1NJLTq000mG000mO1^@s6AM^iV00009a7bBm000XU z000XU0RWnu7ytkYPiaF#P*7-ZbZ>KLZ*U+<Lqi~Na&Km7Y-Iodc-oy)XH-+^7Crag z^g>IBfRsybQWXdwQbLP>6p<z>Aqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uh<iVD~V z<RPMtgQJLw%KPDaqifc@_vX$1wbwr9tn;0-&j-K=43<bUQ8j=JsX`tR;Dg7+#^K~H zK!FM*Z~zbpvt%K2{UZSY_<lS*D<Z%Lz5oGu(+dayz)hRLFdT>f59&ghTmgWD0l;*T zI7<kC6aYYajzXpYKt=(8otP$50H6c_V9R4-;{Z@C0AMG7=F<Rxo%or10RUT+Ar%3j zkpLhQWr#!oXgdI`&sK^>09Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-<?i z0%4j!F2Z@488U%158(66005wo6%pWr^Zj_v4zAA5HjcIqUoGmt2LB>rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_<lS*MWK+n+1cgf z<k(8YLR(?VSAG6x!e78w{cQPuJpA|d;J)G{fihizM+Erb!p!tcr5w+a34~(Y=8s4G zw+sLL9n&JjNn*KJDiq^U5^;`1nvC-@r6P$!k}1U{(*I=Q-z@tBKHoI}uxdU5dyy@u zU1J0GOD7Ombim^G008p4Z^6_k2m^p<gW=D2|L;HjN1!DDfM!XOaR2~bL?kX$%CkSm z2mk;?pn)o|K^yeJ7%adB9Ki+L!3+FgHiSYX#KJ-lLJDMn9CBbOtb#%)hRv`YDqt_v zKpix|QD}yfa1JiQRk#j4a1Z)n2%f<xynzV>LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_Ifq<Ex{*7`05XF7hP+2Hl!3BQJ=6@fL%FCo z8iYoo3(#bAF`ADSpqtQgv>H8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ<AYmRsNLWl*PS{AOARHt#5!wki2?K;t z!Y3k=s7tgax)J%r7-BLphge7~Bi0g+6E6^Zh(p9TBoc{3GAFr^0!gu?RMHaCM$&Fl zBk3%un>0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 z<uv66WtcKSRim0x-Ke2d5jBrmLam{;Qm;{ms1r1GnmNsb7D-E`t)i9F8fX`2_i3-_ zbh;7Ul^#x)&{xvS=|||7=mYe33=M`AgU5(xC>fg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vF<Q0r40Q)j6=sE4X&sBct1q<&fbi3VB2Ov6t@q*0);U*o*SAPZv|vv@2aYYnT0 zb%8a+Cb7-ge0D0knEf5Qi#@8Tp*ce{N;6lpQuCB%KL_KOarm5cP6_8Ir<e17iry6O zDdH&`rZh~sF=bq9s+O0QSgS~@QL9Jmy*94xr=6y~MY~!1fet~(N+(<=M`w@D1)b+p z*;C!83a1uLJv#NSE~;y#8=<>IcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a<fJbF^|4I#xQ~n$Dc= zKYhjYmgz5NSkDm8*fZm{6U!;YX`NG>(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-k<Mujg;0Lz*3buG=3$G&ehepthlN*$KaOySSQ^nWmo<0M+(UEUMEXRQ zMBbZcF;6+KElM>iKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BK<z=<L*0kfKU@CX*zeqbYQT4(^U>T#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot<a{81DF0~rvGr5Xr~8u`lav1h z1DNytV>2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z000APNkl<Zc-mZ!T};(=9LAsT@BDvn{Ey?DqvI$;8jcevCmg~&yvzYza7qfZE}$0| zu+;=SkP;5iYFHPo8=aGJ(M65|8?BqXQCqoWBrBZgQ3Dc}DPkgvmsJqaw~J1j>*Cp- zJ<qex9`q2Q9zZwH)DP4R5Me+Fv=gCI2=oepej)HF5qbf90o3;Z`@4xSKm;5kq7%St z%Q-pxTUOTU0Py@LMCf<~a7qaD5}_a1y_lW-*WbCh{60|k9uaU9h^~f0{AX1auT)m@ zubVb4^#M;GAi^Ob@Nojt2UN^vWGt;zR`N<!70+j6@CU#SybYue`Tg<LvNB$bMtQlS zf~Qhb7rKD*HX-nl5a<PV+}*HYZn>g@7o$;LDJ$bqpYQT9AQjC-C;-x~`Tb){#l<{V zUe14%mhwa}c)ttC?EyC5Oi7vgy|nb-uB3#o`~Bl@0cppHfL0=81Ly!Azv}n@xEP7> zOi2kZL?V165SWhpd{gt02tO<?=7qvSjt2shT|ic+5I8{uv=Jc;;D8Y50JdHW1Rl)h z<?(cWKF{Rk@l3)$+_sH>Si5%i2#|kB2)rW%x`}{BAy7nwgF+xC1R998j06IAr*m@n zPB_eW!ePD_4)c|D>wf7Z+S(=r4tqRk_jqtr2%yAq5Yrkpj)Mj%@q!SK4SKz|Zf9ol zWGKXwnVEb$6yooblc)E2JUKOvgBB^VM@qD54HP*JTC~P4$3e4{TLxYC=gG7*9!pQ> z@r1_G)A{DcjXdP_&bCNdxK~QNA|>9`8Yp%gG-{1nDL0>W-HC~m6u!ECJzoz7IqviE z<>X|(k;uk_LH^ctry7;oUj5&L?H&)Bw9fj{+FNm-k4FLl9`*ZqWX&2rtW@lvQqK;$ z?);TR7x(%2jJ5aoX<g8)HLz34Cr%sl(<RsCi(W5(=em5+T0UaT8@r@Ltx||-{nUAD z=SC8nORmf3jCs&%Oc9P-+czpDU(lL|l;T0Hx!st(&q;}wrNrw>;U%TeWK8K9V`hhy z;tN{yh?IQNm~YUTlvMDU*7t^m;PX<h#H_8`trTh=0n{sn7nMS_G5McsJvB_k=agD~ zH!0~EG#G=OTIZg$_N)EY)>bKn>i+@iltQi6cv4F2v9{ntW4`XN_SIHv@y`GtjXt>z Swdpqi0000<MNUMnLSTaHv)TLr literal 0 HcmV?d00001 diff --git a/app/assets/javascripts/ckeditor/plugins/apply/icons/hidpi/apply.png b/app/assets/javascripts/ckeditor/plugins/apply/icons/hidpi/apply.png new file mode 100644 index 0000000000000000000000000000000000000000..519ab8ca795c86b6559ab7bf9b1e764f3c3520ce GIT binary patch literal 4352 zcmV+b5&!OqP)<h;3K|Lk000e1NJLTq001BW001Be1^@s6b9#F800009a7bBm000XU z000XU0RWnu7ytkYPiaF#P*7-ZbZ>KLZ*U+<Lqi~Na&Km7Y-Iodc-oy)XH-+^7Crag z^g>IBfRsybQWXdwQbLP>6p<z>Aqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uh<iVD~V z<RPMtgQJLw%KPDaqifc@_vX$1wbwr9tn;0-&j-K=43<bUQ8j=JsX`tR;Dg7+#^K~H zK!FM*Z~zbpvt%K2{UZSY_<lS*D<Z%Lz5oGu(+dayz)hRLFdT>f59&ghTmgWD0l;*T zI7<kC6aYYajzXpYKt=(8otP$50H6c_V9R4-;{Z@C0AMG7=F<Rxo%or10RUT+Ar%3j zkpLhQWr#!oXgdI`&sK^>09Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-<?i z0%4j!F2Z@488U%158(66005wo6%pWr^Zj_v4zAA5HjcIqUoGmt2LB>rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_<lS*MWK+n+1cgf z<k(8YLR(?VSAG6x!e78w{cQPuJpA|d;J)G{fihizM+Erb!p!tcr5w+a34~(Y=8s4G zw+sLL9n&JjNn*KJDiq^U5^;`1nvC-@r6P$!k}1U{(*I=Q-z@tBKHoI}uxdU5dyy@u zU1J0GOD7Ombim^G008p4Z^6_k2m^p<gW=D2|L;HjN1!DDfM!XOaR2~bL?kX$%CkSm z2mk;?pn)o|K^yeJ7%adB9Ki+L!3+FgHiSYX#KJ-lLJDMn9CBbOtb#%)hRv`YDqt_v zKpix|QD}yfa1JiQRk#j4a1Z)n2%f<xynzV>LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_Ifq<Ex{*7`05XF7hP+2Hl!3BQJ=6@fL%FCo z8iYoo3(#bAF`ADSpqtQgv>H8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ<AYmRsNLWl*PS{AOARHt#5!wki2?K;t z!Y3k=s7tgax)J%r7-BLphge7~Bi0g+6E6^Zh(p9TBoc{3GAFr^0!gu?RMHaCM$&Fl zBk3%un>0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 z<uv66WtcKSRim0x-Ke2d5jBrmLam{;Qm;{ms1r1GnmNsb7D-E`t)i9F8fX`2_i3-_ zbh;7Ul^#x)&{xvS=|||7=mYe33=M`AgU5(xC>fg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vF<Q0r40Q)j6=sE4X&sBct1q<&fbi3VB2Ov6t@q*0);U*o*SAPZv|vv@2aYYnT0 zb%8a+Cb7-ge0D0knEf5Qi#@8Tp*ce{N;6lpQuCB%KL_KOarm5cP6_8Ir<e17iry6O zDdH&`rZh~sF=bq9s+O0QSgS~@QL9Jmy*94xr=6y~MY~!1fet~(N+(<=M`w@D1)b+p z*;C!83a1uLJv#NSE~;y#8=<>IcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a<fJbF^|4I#xQ~n$Dc= zKYhjYmgz5NSkDm8*fZm{6U!;YX`NG>(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-k<Mujg;0Lz*3buG=3$G&ehepthlN*$KaOySSQ^nWmo<0M+(UEUMEXRQ zMBbZcF;6+KElM>iKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BK<z=<L*0kfKU@CX*zeqbYQT4(^U>T#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot<a{81DF0~rvGr5Xr~8u`lav1h z1DNytV>2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z000InNkl<Zc-rijS!`Tq6~}+yy>~W`Ju@DA;w|11d%QHxLJ~r=5HCs9hOMn2s!$OP zL{vP`2zV(3q$;#RLOc`+o<J(81OibAi3&*+LmS0Jq*SIc0VR#o*mV*o-p4bZyUcgL zkB2d8O_MHaqP+CHT-|#g&hMP_KYx9n&{}gh!{9E*M*w2UTNuQ*1ksnG<Z?L}1Li(t zhF<91(!07j)m(Du#Y2Ceku#8n_R@Cx3Vm32yu<<`))3p1s!S!NA&1c9-~Ri~0)&8e zo^R}Ed^DX(Gv7I1&k&z}JA`pt)f55(fLR=8U~k};o!dJf?M`=7S6#=t4eNU7;s~11 z|1#e`fCk{JKsWF)2tOA7Y0IXTFF(2YNiZPi<=DS{KW$xYeI$9om^4B{3QYcQAmUzu z^@c^kDL@u*-X}mg&<RXJbanJ6Et^`tv2Wu(LZJ{jJBR0bD6QDKd@C81NmrCrG&j{X zUA(CVqKRlqm*|i^YG3(4`{Y5aE%xk+bt|6u%9=e00kfG|1fT(dAZP}uDXHO{bFR)C z_sW(6xS(y_wfk$kk5^Szmp$|J(+|7X+!MrrEx^HIg*S~X#48ietgKzJ?~zrz5dt!~ z3_^oepf!|OB^(?&$iSt6QTo}#D~v4BfSEQ|Rg_lt$IGKN@o-6L^RDK@k&eht;y`*) zWVaAta!2w&`||X6A71qt4567{n8S7Q*tSjHUcizDe;E2b17`<D$<a%S5lr6FfJlqh z_#=sz?pxJeRiCWGQ#Mu6%D|kJ{X%XsHy|72D5r{*QnOU?$<HOf-`3mu)ctKen3jR< zE+C~u`V!A`DYc@Uy!<l9&Yrl=Fg+x=L<SfJi&9Lp!E8u;HqpPWWn*>cvQ{$oEJ8pk zo?u(s`mo4~Bg4+62OQTq4Zvd*UGgd<YRkXfw!Za1_lk`uLy~oDPy($qQYw;>B!gF8 z<=EN&32|QR)KU)<cx(Tx;LcD_MMK5ccdpso&`?pw^uiQ|DKJdPIC)a31Y6d1#q^*! zI$U${K6lDJL!r1G@tX2)cCJeQc<Vi@A?UN<%@^nGLqSSXk!1|uc%8%lJUS(h${l({ zpTh!PD+(3`rdHbVmGs=W_fRZs5DWy6x`0BWgv9k7Vu=W;NNFe=^*=v9HQ(>I_~S7d zf1<Ow<=HJCZ%0Qoj_071#8(pAvso5RF*!5IuLlm#*vFhceL)W)7ZclyPl^E9f-VeA zi@E%q%<inOj6*;mwTBiGEhMgTD60sP43vat4ewLFN1`>^_`@yRR-(#^$$ed*pgf#{ zO?6ong`DEx$rt9cnT1{Yuj<uXZEsP89_TmK>0H5e<^%SQrm7fzK;ct_z>qk~C0-pM z8H~jI33L0sef6lM#PRYV6d^NA*a(v<Nn$L7`1$eQ=4K{lA5e|zGy}J`4->iAk{qZJ z|8Lodqw~J(X=#YzSrQBdrou2azV=Dfgz4z0L?sMDgh_<T@uiFOJg(2Z&h)hj{&?z) zGchu?OIhj^Nq9GarADN{>vs-ZTy`xOJZbLV-q*;Ko<&H|+Q-v2%9SX5{ColF`#5f% zykldaNi8%oI5_9txG?#ka{QB6?``Gpv|<TvQ~rDZJ~w74SAOT7Ud2^w9Mdo`0|th% z=(_>H6bPY7L?a|8>lt_@<6Zg3_(T3{@;GAAp2fQZm^b~}4gQV7UuGtq(!gBB=GAM< z$whJmLl%LsffY2c0tUi_aMYxFx{;TU%&IpB#~)N@<)2~E{B^Ob9~|KRqUZZrd15M) zuQDeR8@txW$d+UYSO#XuKv<e^)TH)$6UPtE=+VmYFRC;0(9-kHd&kWIY~T&xI{4#- zKaJbD8gnACVeKc%$wucfOo)_O)Q&ZA_-7MpBscyg-64O&zktl`02l+Nf%&5Ms~P#? z6+gQ&I99%9ZBHC0nPd6r3V!#a8(f|n->W13^V9=_w+rB%2TQc)AG%zUNta$scJ;Kj z@!StaxHxk4acuPqBoGAt11#LB17<Do6h^YI?72_wO;1EN1s{K(__v`00A;`iv^uZO uXCwBd>;>mndX~b6zL<P;IlbEe{~Z7e-MMb?3E}tv0000<MNUMnLSTZo%R9jU literal 0 HcmV?d00001 diff --git a/app/assets/javascripts/ckeditor/plugins/apply/icons/hidpi/cancel.png b/app/assets/javascripts/ckeditor/plugins/apply/icons/hidpi/cancel.png new file mode 100644 index 0000000000000000000000000000000000000000..e3d444e033f4f9931e01ac45c37ca8eb9e0e46fb GIT binary patch literal 4467 zcmV-(5sdDMP)<h;3K|Lk000e1NJLTq001BW001Be1^@s6b9#F800009a7bBm000XU z000XU0RWnu7ytkYPiaF#P*7-ZbZ>KLZ*U+<Lqi~Na&Km7Y-Iodc-oy)XH-+^7Crag z^g>IBfRsybQWXdwQbLP>6p<z>Aqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uh<iVD~V z<RPMtgQJLw%KPDaqifc@_vX$1wbwr9tn;0-&j-K=43<bUQ8j=JsX`tR;Dg7+#^K~H zK!FM*Z~zbpvt%K2{UZSY_<lS*D<Z%Lz5oGu(+dayz)hRLFdT>f59&ghTmgWD0l;*T zI7<kC6aYYajzXpYKt=(8otP$50H6c_V9R4-;{Z@C0AMG7=F<Rxo%or10RUT+Ar%3j zkpLhQWr#!oXgdI`&sK^>09Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-<?i z0%4j!F2Z@488U%158(66005wo6%pWr^Zj_v4zAA5HjcIqUoGmt2LB>rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_<lS*MWK+n+1cgf z<k(8YLR(?VSAG6x!e78w{cQPuJpA|d;J)G{fihizM+Erb!p!tcr5w+a34~(Y=8s4G zw+sLL9n&JjNn*KJDiq^U5^;`1nvC-@r6P$!k}1U{(*I=Q-z@tBKHoI}uxdU5dyy@u zU1J0GOD7Ombim^G008p4Z^6_k2m^p<gW=D2|L;HjN1!DDfM!XOaR2~bL?kX$%CkSm z2mk;?pn)o|K^yeJ7%adB9Ki+L!3+FgHiSYX#KJ-lLJDMn9CBbOtb#%)hRv`YDqt_v zKpix|QD}yfa1JiQRk#j4a1Z)n2%f<xynzV>LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_Ifq<Ex{*7`05XF7hP+2Hl!3BQJ=6@fL%FCo z8iYoo3(#bAF`ADSpqtQgv>H8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ<AYmRsNLWl*PS{AOARHt#5!wki2?K;t z!Y3k=s7tgax)J%r7-BLphge7~Bi0g+6E6^Zh(p9TBoc{3GAFr^0!gu?RMHaCM$&Fl zBk3%un>0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 z<uv66WtcKSRim0x-Ke2d5jBrmLam{;Qm;{ms1r1GnmNsb7D-E`t)i9F8fX`2_i3-_ zbh;7Ul^#x)&{xvS=|||7=mYe33=M`AgU5(xC>fg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vF<Q0r40Q)j6=sE4X&sBct1q<&fbi3VB2Ov6t@q*0);U*o*SAPZv|vv@2aYYnT0 zb%8a+Cb7-ge0D0knEf5Qi#@8Tp*ce{N;6lpQuCB%KL_KOarm5cP6_8Ir<e17iry6O zDdH&`rZh~sF=bq9s+O0QSgS~@QL9Jmy*94xr=6y~MY~!1fet~(N+(<=M`w@D1)b+p z*;C!83a1uLJv#NSE~;y#8=<>IcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a<fJbF^|4I#xQ~n$Dc= zKYhjYmgz5NSkDm8*fZm{6U!;YX`NG>(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-k<Mujg;0Lz*3buG=3$G&ehepthlN*$KaOySSQ^nWmo<0M+(UEUMEXRQ zMBbZcF;6+KElM>iKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BK<z=<L*0kfKU@CX*zeqbYQT4(^U>T#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot<a{81DF0~rvGr5Xr~8u`lav1h z1DNytV>2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z000J_Nkl<Zc-q95TTC3+9mc<N=FIG6_6A+hE)Xzy1*CStaqK99l~I~BS{tV-#R^JM zq^e14Q(-J8RonCu_u@u<trIDYlvIi$9JSiYO|X@xHjx63l?R(A2rjoBt{X#G8J4}w z?wmgC%y@ReHq;LpX*9F5()oV>`#FSjj<5CF4&a2tQTbL=)608ow#Elt|9QW^<8*E9 zDG89a)h-1%OljGtCr*4a+uzTxw6*=WUKE@DU-46cKxFcT7m^dtJi~uiU;kGMkWv6@ z{cwoVvcGh9U#hIE>{uKdLygxPdj0U>%k`qzyj$_UKp^tc@#E3eSj_q5{5-z@&_gGG z+tBc4DTE2|7^P)zba!9+hTq?@`o$L@gkU3`MvdDYdi~I$p?XPb-i`R#<Hw_knHf2| zvH~IqSWhO=T~)OOf&#!1LGWGZ?!Hu3QPHtFF#$pdxTb*sNT$=MmgUfeM;;m4vjd2} zKp=9qvopFjH6>?ORzN5PG!2~d0z@!)^3{fhHw9gr0>Fz04*WV02z0EDkDKBE08Ilp zM>3T{wZm~=h`vA|@=|AKG%-Cbt1By@l!9<>-T<(^v4I~{SD!puUjCd3@b1*qf4-cU zNK2wvB+fa%1Chy~Mv_7oT3fe;IHilPO-;$!Tem<20Vrg7VGaG3MG<4`>&lJw^>Gv6 z--*OWuYCUbb9qfmiGl!b5$8GpF(5=SbfKlC2;x*A5PA97vFO_5WFh8^6<JOSDGwK8 zh~@Ljz}VQc3#xh@00`$CgcNe(NuRIlwSxx-iKaPJRRuUVYSr`v=NvL)m{--wpNx(^ z^&P)|@43#-4~>{p#-J};RBkR&#EhmXr^m*6lx+5z@x2JZfcVpa1A`==cc{5sk+>Ne zO@os$#3`MvXl!)R`FVdvx7={Mu_D*qKC5X;|M+;1lF3}Nf^7jXAzE7pNiJu4!kUzn z5OB^RQVOnV$RrXVng*WBf#>rehPME?L=kgtw=yt0+oPn@*Ge1Fwg3ji`ThF`X)agr z1PaB=RTbLiCh{8_$fr_3Hf#Pz2r+Ny;)=(koLO4xnX_2FBLD#Sw$In~+P-~*L{%M` zWD>cxHRNvJ23OUBAf<&;qZEV?P(z$^xFiWNw_7>0xVXjg9RmQsljY@I=PD})Gt<+K zoTh;a0;nLEmQst=lv03m$dUxb?N$aB7Vav(V*mhXcRG)r^LqbD5(x(f3RWB9lomnQ zMG-SD*X+RDT=!Bod;NZsnC_&v*Lyr!@1u``GG@lwDo*uK2zQ<uC1hhKYu^{3FBpvc zCLI1CJv!>hXS1gD288k35YK5Enp3HUx9jV#?6KRM9|+*5!C+({9F8tuy(*`dmkS=S zT5p6xf2Wi}5Co(-M<|mCz17e#RCgZ;dN0dQx3@=^M@HmyJPyHTD=IUp=M6P-fKpIF zfM7sq8k$r!^!DDpLv=P=^R58;g2Bi@dwX=rB93k9+{PG0y$mTK5C|zi2m%Dgkk&MO zlk?Eunwo~{Y__Hy0T`Aq8sd_4M_hjbfKwE)?DZ}rJ)SjtX&8)Khxir{diUXnFK-7y zOXqoiTU&H#cvwy^FK-ctrNhm+-O7ux*mr*wkN+^|^QG*%Cj?6_2!a5{7}A`hRS-h& z?caa7wgiHfTD~+qET>Au^%oFhr0Pv3p3Pn#xqbV?pDiu*W<8#i!%`6frC=6_jHcnB zD2Co|X(@sroOAp<7<}sawzd!ABO}gqJPsyFMcvJ4G;T@4oX@A6SzPRyE9r1g_<UV& z)YT2T(rHId7dHTm&=B2w*Hv}$+0oIXN+vT&0brlse>8dHhBFn9gNowTjs-wwtT0#> z7Pg23z{iQirT$o~Hzms{haqb5fXEm`NrK8b9`|}fEpB(%48bqP$NxOGx%rvL;V6t; z!#(<7kr~6h*Q=bp%T%*M^i5CqZaSSQhdwXNd|(VV#vpq<_+u<~@yhDzzf6F5K7Z?% zUw!qxsj{-qTsE7zFEn;P3qGH6HXbk9Oxz3N$2V{GuG{TqPEbN1Q3}cB!ugq*i?80i zc@jWk%h9Yt6f57Us=E5AEc1^T<HIf&|3__Ytk!OSe76UaC(6pYlyG=+v#pIM!(q;k z9pmSln=b-z-ScQxA&QmnR99cUQC`mfUQ?sg+HAWPw?Zr)Ig;W}Kh6Kp*f?kvzbgO$ z1VpjwM}GhB>uk2i9`tb9?)64`1A$i<;JfR7;Oo5pHvr0!M0Ce^p``!-002ovPDHLk FV1jA*W}g56 literal 0 HcmV?d00001 diff --git a/app/assets/javascripts/ckeditor/plugins/apply/lang/en.js b/app/assets/javascripts/ckeditor/plugins/apply/lang/en.js new file mode 100644 index 0000000..681aa99 --- /dev/null +++ b/app/assets/javascripts/ckeditor/plugins/apply/lang/en.js @@ -0,0 +1,8 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'apply', 'en', { + apply: 'Apply', + cancel: 'Cancel' +}); diff --git a/app/assets/javascripts/ckeditor/plugins/apply/lang/ru.js b/app/assets/javascripts/ckeditor/plugins/apply/lang/ru.js new file mode 100644 index 0000000..cd9a7ef --- /dev/null +++ b/app/assets/javascripts/ckeditor/plugins/apply/lang/ru.js @@ -0,0 +1,8 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'apply', 'ru', { + apply: 'Применить', + cancel: 'Отменить' +}); diff --git a/app/assets/javascripts/ckeditor/plugins/apply/lang/uk.js b/app/assets/javascripts/ckeditor/plugins/apply/lang/uk.js new file mode 100644 index 0000000..8a64f71 --- /dev/null +++ b/app/assets/javascripts/ckeditor/plugins/apply/lang/uk.js @@ -0,0 +1,8 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'apply', 'uk', { + apply: 'Застосувати', + cancel: 'Скасувати' +}); diff --git a/app/assets/javascripts/ckeditor/plugins/apply/plugin.js b/app/assets/javascripts/ckeditor/plugins/apply/plugin.js new file mode 100644 index 0000000..2e7eceb --- /dev/null +++ b/app/assets/javascripts/ckeditor/plugins/apply/plugin.js @@ -0,0 +1,56 @@ +CKEDITOR.plugins.add('apply', { + requires: ['button', 'toolbar', 'maximize'], + lang: 'en,ru,uk', // %REMOVE_LINE_CORE% + icons: 'apply,cancel', // %REMOVE_LINE_CORE% + hidpi: true, // %REMOVE_LINE_CORE% + init: function (editor) { + if (typeof(window.applyCKEditorChanges) != "function") return; + + function close(discard_changes) { + if (editor.commands.maximize.state == 1) { + editor.commands.maximize.exec(); + } + + editor.destroy(discard_changes); + + if (typeof(window.applyCloseCKEditor) == "function") { + window.applyCloseCKEditor(Object.keys(CKEDITOR.instances).length); + } + } + + var lang = editor.lang; + var applyFunction = { + exec: function (editor) { + close(false); + window.applyCKEditorChanges(editor.getData()); + } + }; + var cancelFunction = { + exec: function (editor) { + close(true); + } + }; + + var applyCommand = editor.addCommand('apply', applyFunction); + applyCommand.modes = {wysiwyg: 1, source: 1}; + applyCommand.canUndo = false; + applyCommand.readOnly = 1; + + editor.ui.addButton && editor.ui.addButton('Apply', { + label: lang.apply.apply, + command: 'apply', + toolbar: 'document,0' + }); + + var cancelCommand = editor.addCommand('cancel', cancelFunction); + cancelCommand.modes = {wysiwyg: 1, source: 1}; + cancelCommand.canUndo = false; + cancelCommand.readOnly = 1; + + editor.ui.addButton && editor.ui.addButton('Cancel', { + label: lang.apply.cancel, + command: 'cancel', + toolbar: 'document,1' + }); + } +}); diff --git a/app/assets/javascripts/ckeditor/plugins/toolbarswitch/icons/hidpi/toolbarswitch.png b/app/assets/javascripts/ckeditor/plugins/toolbarswitch/icons/hidpi/toolbarswitch.png new file mode 100644 index 0000000000000000000000000000000000000000..1d1ed4559d1ad8a45fed2a3e6c5bc7d3f98c1ddd GIT binary patch literal 2462 zcmZ{mc{tPy7sr3d7*r-)O_nSvGqR0pn#Pi0T#S8iF}k)f24l%CS;rPxipg@7MsJi7 zvW0{aN=3FAYojnOBl|K4ul{`hc%So}^L?K0IiKhJcb=1KWnpwoNKyy@fMX`cSp1>N z{Z26Gum(p)t{)1>-P8yR9Q+RYn<qJkj^K4;$KXSP`8#>^VTBO@0DfhH#n?KuXV_DG z?d&A>H#y@1%(4FN_Iz(RNaH<KUS3=_zAUSZ^ttx490;#+=hU<B0@-easQ`B=0}}P> z=kx;D#S>y;=66!5L~J|uuB?x_Dx!`_C_QP~wYjOic!hkG-K8@dw0qq%ta_kuAh@M& zlfc?xj81cE$QVJMvqusk5S41<xiSQ(8|wAq<V|53z6z|g<N8+X+`GO$HVvYP>dMCQ z3ie<G9S2e1c=fXj?k76r;)(<;1TlE9N4AL~s+AP=?dB+yi+{Hg&Bf<RJ7gPAGSyql zb4v$YX==BqJP=rt2rFi{gEQN+!F6i@^05Mr`@_UHUw;1VQt6cFuqI3?F*{zTh}2lY zuj_+F_36q5?|&8?ecvon$5>7?Y~Elv#TM$swvhWn-6Txn`y^vt-Wpk(z3D&p@;{s5 zuft`H&*so+J%MtzLIjFpA^<PZ?QTW50#HEGk5?~AzB8!td}lsi0fTY!TCWpiA5~j1 zD?c#0Lq)LL9Mr-MljM#0ozpGT;lY^-n&LUc{W2OJ)yL`unzN;#5t*9F51nX;X%MK0 zZ@D{lKc<vMfT$9Wnt6!bB?9s@u~1^S6p#q{m%|y;12@{b*r&|<N>JCF%(7P1QAVN2 z+dEBYh`!p!#)cn6e_T^?iA(R>ngPQ~==YTOh9n6TC{Yjmw*Q&(%KIW6zL2r{9<5we z1LOlx)(0GL9e3CKNnlqsi9S{zs{4}M+jcmJd6du*aSzG<lddrC230s}04wRXmMak@ zS}u-lDSP{%o2yGfbGKY+_{TXW<>h5Oht{v@mgvfJNv@CaTI{L69w+5}QUPn&z+C6M zWUt!eiYqGogV7H_v(3_i81P74_|n6Vj28uSw@=>GVF>`^xn@+~iP0L$(zhuEwAn&4 zO|*jJ?(4e{+zIu`Q)fvZ;c>4IBp&sEy8HMDUBEk^mXvN5iSzaH;(AOpg^GCAI4*bJ zr(_5a2${m2kyB(ULi=lfkTecsn4E#QgMVZNn;fm9JWS8bMDk2>q@>hMdzSLtz{I0Z z8Itu=al$JrUneIMfF3@sS4c>$cSHpD$NKt3s$4@y1}vpBKO1T|owg=5iw5(WSy~bg z+wLB}&H%G1AOYEF{U~3p<FyPr4leFVMug0ChXIv5!-Di<ZAOjP{C7Wm_|W+Aqsegn zG3MIjAGg6&I<_AcO`sgX0F@4joEuesQaL#}&{L<b<b9f{H|iWySYResTpMxDe~^S% z#$i&$)ngc}10^e=ncex8#YH5rl%Aem8=|wf&b_M3rT5?zfgZ$}5;YL!N^ggp-agwr zVqicVudp1gy}sN|%v1Z@CpF`srn2&bsGuHa&nfftgQInz%OH>CjLY<P2muGdVZiZ1 z2HYgxe~O}!f|D{p>of5jPC$!E+Wj+DLVznG`7x~_cx!Q6bXzyB-qIzqEdPV&+eDam zJcE8eLCAWZ-xh4u6aQ4krUwJ-AS+o)ypq1s52BZeZm=@>axL1iitFu=3eFFU$-Fgb z?s`p*((RA)KFe6%#D3A;Gx7?FaZ%Bm3y-ROYLk!ida(p*)lw~{RZP$EbVBSe@B=0E zG{b*yO@IIxzqz8Gs_^4Sa67e@VFP_IbQY3&B>U1O2X{w^wTK3ghIdE)BMiuSJ2t2m zV6)e%-zDMR3i67#R}J!<pN@{_qd}~2pCZ3pF+x80(+??J^fAtNJR)jpZ)@v)UGzXb zVvyCV59a|!Y=t;kr|n*mHA!E%tE)54YcqMhremG9#c@=QKF(1{OTHu<3A&F@qmksj z9ZMt`k_91>ruOB4x36N^=x9#X;&5R8pWcFx6K#dypOm+DXryBFy?1HPlpRjQ{<SdN zm*el>6JcXx^m&s0(tkYeXOrvQsFMkRGbFC&>D@uy9j}MmKW_U&`8+h`D2%G)I?6#% z0Fn44yIQf*I{16~ms1yEC6nnGY$1eKA5N$bxcaMO(lz-aa{q1A?hAs?*xA*In*prB zB;g5+c6N!1@bk-lJH+|ol-xg_l*Y8W4=ImUh5alrmqIRNzg&Uo1d<C|m9@N7MhI}< z(W+vxw(NUZ+WmoN@&-PRj<!~OtDP&OkwR_s{R8zNR6lcb%f02jtxM_nFy{Qwi}<Cy z_`_400Pr(AmWQ7A?&5PZw(;)V`JveXr+Vq$(g9=aT=88oDP|?>(&|LGsn1fQ(cYt$ z{grFFE~jH=>xu9{dxQ3==kpw=DaI+v>nT)ze!hl)h)fgPx#6o8am?xj+0$2QF-iE% zZxe|?xJh>vtocEc9qe3Kk-ynM^ryK(G5rz<P7qGo9>n8NnF%W^fuZHEcMHjzOD=l` zx*}a`-N#WyDYC0Kv}<Ay=7|#%tn{p`^Id@wlZp6TDTcJbk5pqg|5?)ZE1GE0to*~? z6s4Wrl;dGx6+B<rJG!>~xB4ahy^&s8!y}DsZ0v!R?n4os-h}eD=kJ}P&Rz3RTaT6{ zgFr2#Bi~w%w*^!bp*K#S;C*U~#9<QKhHRdE<NI1)^JZ`H0w15tc1!EO+6}Jfj^K!O zj3&jmf24b+f48#F11*pB4Lo64+Sw;KGN{EgM+yAU5L736M+eXn2@Un`9KPQTC)&dl z1b`Rf+RUUW6gUZ%qICKqFN<Xc_7>6owY(&D;lg!^#(xl<Rf_lC$=KP+CDvBH-d+46 zC_jm^7;)s20~<tC2+M@xD`?c8sQl&_nQxX?F`p@tD~5OvO@VSYyDavB7SkYx?Q;&5 zGBiGZUbBEtOiZl7`i6DJ%|u4k-zURt;nz%3%L*^MQC(NULMd-F!`Nn7#Idg)-(?7t zV_o$tdvgOip)xXdK-0d|a2?YnrCP<R<dW}L=fTUSc{DnbESwa?Wuxfgp2GZtp&{%0 z>QjKL5qed&^-ioRGoZcW@UJ-=V(1X!;TA$d6N5;H0%&R=E~siCRW&ti5eT%#Wwge{ z^BS6H4UNqor6&Ia_yu@)d*1l}KuYWBjYHtn?+rEqo+06GK_nnNJY3D&pAt-TyG~LI W2qG6QYD*pt0VakP*b04D>VE;a_<ceE literal 0 HcmV?d00001 diff --git a/app/assets/javascripts/ckeditor/plugins/toolbarswitch/icons/toolbarswitch.png b/app/assets/javascripts/ckeditor/plugins/toolbarswitch/icons/toolbarswitch.png new file mode 100644 index 0000000000000000000000000000000000000000..db01908b8a8e2242d2708e8a500083145d60d66c GIT binary patch literal 921 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b zKpodXn9)gNb_D|i(<V<B#}JFtp_2{$r85QE=I58^R*FZo@JyX8GEH<%MAN;ZMpf~J zy)F}t?*47q?QtbsCbcUhbDg*2>=42IjGR0|f=s%TwjVfl<3a46dw0Kc-M*N*Yogp) zkM}mohYXH<uZ_8WRD$`y>C@bcFLqe;F&4y5|N6DmYpD>!q>jfkK34QR{%v>r_U&7D z?i|^c>*w!3^K6=Xe}8|y@A6;<psIDR{{?G^{JV4Wrs8R%Uw`eUPoI9QFn0RdwYpkU zxsFMMg@^B-J7-SH_wV1IRPs4YQt>$T?c29~Klkm|=S=2V_c}>3SwpP*&b@m<I%1xe zOXMxK<Vv63v_Xga_BKYo%O-dK+h_MQ+MG8$#_@w|#ofHs7c)GBnh!P{OlVM%>TSFA zb{hj@e6QiD&oXX{1)moEY+o{e(mm!Zv)QYzW_ewnV&c2<Y8H?;>-qBUlj^3Oek#BC zB1e;g!zFdkz9sdlwJ|wAO%rZ<|Jsot<2k=c;Xq7${Nz;0%{P0h_U19yGp}!Wd@!Ma zCqQrdea80<(GNa6dZeT+!gXU?@6Me&4@x*sOJ!KIcJ0QE8ygMVK34EFy#MWyWFhnE z%NLf0+}j?9KHBh~|9s-J%<;kxHu;iTk<(_fu4#2hOHFMx@!hD?t<jaBczUAB63gpZ zTSL}{O;zFaoD{G&>}uB5X_h)W7r!jAx_;@i4P!h*sg>;2*QK6S!flF)5=t+9_r`@U zzZ^O5WB2pQNiED9cJKBUah1>7Dz!JRKX3bQ$%?;!{?we?6IZ_b?)kN0ult*unb)mb zXIC+gy<uxjkJnNs5m$@8&$1T$hd)$gCP}m%Kd|$$#r?$^i-J}P9RFx@<YbD|`s>Pl z$uh?uzIpRzt>Lph_uo%e;XDv@JN&?Hx5bXLmhrSZt4-!Scla=KqJ-biy^nV9-W`8l z#8q%o(gSln4yJ$1uUKY<3F|zq0VZkH64!{5l*E!$tK_0oAjM#0U}&ssV6JOm5@Kj> zWnc_M+6G2e1_r)Mb_0_;l7`&;l+3hB+!}0tG9LkIkObKfoS#-wo>-L1P+nfHmzkGc coSayYs+V7sKKq@G6i^X^r>mdKI;Vst08c2HjsO4v literal 0 HcmV?d00001 diff --git a/app/assets/javascripts/ckeditor/plugins/toolbarswitch/lang/en.js b/app/assets/javascripts/ckeditor/plugins/toolbarswitch/lang/en.js new file mode 100644 index 0000000..db8f72c --- /dev/null +++ b/app/assets/javascripts/ckeditor/plugins/toolbarswitch/lang/en.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbarswitch', 'en', { + toolbarswitch: 'Maximize and switch toolbar' +}); diff --git a/app/assets/javascripts/ckeditor/plugins/toolbarswitch/lang/ru.js b/app/assets/javascripts/ckeditor/plugins/toolbarswitch/lang/ru.js new file mode 100644 index 0000000..df92221 --- /dev/null +++ b/app/assets/javascripts/ckeditor/plugins/toolbarswitch/lang/ru.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbarswitch', 'ru', { + toolbarswitch: 'Увеличить Рё переключить панель инструментов' +}); diff --git a/app/assets/javascripts/ckeditor/plugins/toolbarswitch/lang/uk.js b/app/assets/javascripts/ckeditor/plugins/toolbarswitch/lang/uk.js new file mode 100644 index 0000000..4cffd17 --- /dev/null +++ b/app/assets/javascripts/ckeditor/plugins/toolbarswitch/lang/uk.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbarswitch', 'uk', { + toolbarswitch: 'Збільшити С– переключити панель інструментів' +}); diff --git a/app/assets/javascripts/ckeditor/plugins/toolbarswitch/plugin.js b/app/assets/javascripts/ckeditor/plugins/toolbarswitch/plugin.js new file mode 100644 index 0000000..0709301 --- /dev/null +++ b/app/assets/javascripts/ckeditor/plugins/toolbarswitch/plugin.js @@ -0,0 +1,116 @@ +/** + * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.html or http://ckeditor.com/license + */ + +/** + * @fileOverview Plugin that changes the toolbar and maximizes the editor + * for the big toolbar. + * + * You need a custom config to define the small and big toolbars. + * Also the maximize plug-in is needed but not the maximize button. + * For this plugin you should use the 'Toolbarswitch' button instead. + * + * CKEDITOR.replace('sometextcomponentname', { + * customConfig: '/...custom_ckeditor_config.js' + * toolbar: 'yoursmalltoolbarname', + * smallToolbar: 'yoursmalltoolbarname', + * maximizedToolbar: 'yourbigtoolbarname' }); + * + * Requires: + * - Maximize plugin. But not the button that goes with it. + * - All toolbars used in the ckeditor instance have to use the 'Toolbarswitch' button instead. + * - A custom config to define the small and big toolbars. + * - jQuery + */ + + +function switchMe(editor, callback) { + + var origCustomConfig = editor.config.customConfig; + var origContentCss = editor.config.contentsCss; + var origExtraPlugins = editor.config.extraPlugins; + + var origToolbar = editor.config.toolbar; + var origSmallToolbar = editor.config.smallToolbar; + var origMaximizedToolbar = editor.config.maximizedToolbar; + var newToolbar; + //if (editor.commands.maximize.state == 2) { + if (origToolbar == origSmallToolbar) { + newToolbar = origMaximizedToolbar; + } else { + newToolbar = origSmallToolbar; + } + + // Remember editing data before getting rid of the old editor + var oldEditorData = editor.getData(); + var domElement = editor.element.$; + + // Remove old editor and the DOM elements, else you get two editors + //var id = domElement.id; + editor.destroy(true); + + CKEDITOR.replace(domElement, { + customConfig: origCustomConfig, + contentsCss: origContentCss, + toolbar: newToolbar, + smallToolbar: origSmallToolbar, + maximizedToolbar: origMaximizedToolbar, + extraPlugins: origExtraPlugins, + on: { + instanceReady: function (e) { + // Restore old editing data + if (typeof(oldEditorData) != "undefined") { + e.editor.setData(oldEditorData); + } + + if (callback) { + callback.call(null, e); + } + } + } + }); +} + +CKEDITOR.plugins.add('toolbarswitch', { + requires: ['button', 'toolbar', 'maximize'], + lang: 'en,ru,uk', // %REMOVE_LINE_CORE% + icons: 'toolbarswitch', // %REMOVE_LINE_CORE% + hidpi: true, // %REMOVE_LINE_CORE% + init: function (editor) { + var lang = editor.lang; + + var commandFunction = { + exec: function (editor) { + if (editor.config.toolbar == editor.config.maximizedToolbar) { + // For switching to the small toolbar first minimize + editor.commands.maximize.exec(); + switchMe(editor, function (e) { + var newEditor = e.editor; + newEditor.fire('triggerResize'); + }); + } else { + switchMe(editor, function (e) { + var newEditor = e.editor; + newEditor.commands.maximize.exec(); + newEditor.fire('triggerResize'); + newEditor.commands.toolbarswitch.setState(CKEDITOR.TRISTATE_ON); + }); + } + } + }; + + var command = editor.addCommand('toolbarswitch', commandFunction); + command.modes = {wysiwyg: 1, source: 1}; + command.canUndo = false; + command.readOnly = 1; + + editor.ui.addButton('Toolbarswitch', { + label: lang.toolbarswitch.toolbarswitch, + command: 'toolbarswitch', + toolbar: 'tools,10' + }); + + } +}); + diff --git a/app/assets/javascripts/front.js b/app/assets/javascripts/front.js new file mode 100644 index 0000000..27c713f --- /dev/null +++ b/app/assets/javascripts/front.js @@ -0,0 +1 @@ +//= require_tree ./front diff --git a/app/assets/javascripts/front/front.coffee b/app/assets/javascripts/front/front.coffee new file mode 100644 index 0000000..7c01fbd --- /dev/null +++ b/app/assets/javascripts/front/front.coffee @@ -0,0 +1,25 @@ +$(document).on 'ready page:load', -> + initContactUsMessage() + refreshLandingHeader() + +initContactUsMessage = () -> + $('.contact_us_form #contact_message').each -> + $this = $(this) + $this.keypress (event) -> + characters_left = $this.data('characters') - $this.val().length + if characters_left <= 0 + event.preventDefault() + $this.keyup () -> updateCharactersLeft() + + updateCharactersLeft = () -> + characters_left = $this.data('characters') - $this.val().length + $this.closest('form').find('.characters_left').html(Math.max(characters_left, 0)) + + updateCharactersLeft() + +$(window).scroll -> refreshLandingHeader() + +refreshLandingHeader = -> + $header = $('#landing_header') + containerHeight = $header.find('.container').height() + $header.css top: if window.pageYOffset > containerHeight then -containerHeight else -window.pageYOffset diff --git a/app/assets/javascripts/front/image_zooming.coffee b/app/assets/javascripts/front/image_zooming.coffee new file mode 100644 index 0000000..12be077 --- /dev/null +++ b/app/assets/javascripts/front/image_zooming.coffee @@ -0,0 +1,29 @@ +$(document).on 'click', '.zoomed_image', (e) -> + $('#cloned_zoomed_image').remove(); + originalLeft = $(this).offset().left - window.pageXOffset; + originalTop = $(this).offset().top - window.pageYOffset; + originalWidth = $(this).width(); + clonedImg = $(this).clone() + $(clonedImg).attr(id: 'cloned_zoomed_image', class: ''); + $(clonedImg).css(top: originalTop, left: originalLeft, position: 'fixed', 'z-index': 21); + $(clonedImg).width(originalWidth); + $('body').prepend(clonedImg) + $(clonedImg).click () -> + $(clonedImg).animate width: originalWidth, left: originalLeft, top: originalTop + , 300, () -> $(clonedImg).remove() + + max = 0.95 + coef = $(clonedImg).width() / $(clonedImg).height() + w = $(window).height()*max * coef + if $(clonedImg).width() > $(clonedImg).height() && $(window).width()*max*coef < $(window).height() + w = $(window).width()*max + + $('#cloned_zoomed_image').animate + width: w + left: ($(window).width() - w) / 2 + top: ($(window).height() - w * $(this).height() / $(this).width() ) / 2 + opacity: 1 + , 300 + + e.preventDefault() + false diff --git a/app/assets/javascripts/front/mobile_menu.coffee b/app/assets/javascripts/front/mobile_menu.coffee new file mode 100644 index 0000000..ea8235e --- /dev/null +++ b/app/assets/javascripts/front/mobile_menu.coffee @@ -0,0 +1,19 @@ +$(document).on 'ready page:load', -> + $(".box_sandwich").click -> + if $('.mobile_menu').hasClass('menu_open') + closeMobileMenu() + else + openMobileMenu() + +$(document).on 'click', ".mobile_menu a", (e) -> + closeMobileMenu() + +closeMobileMenu = () -> + console.log('close') + $('.sandwich').removeClass "close_sandwich" + $('.mobile_menu').removeClass "menu_open" + +openMobileMenu = () -> + console.log('open') + $('.sandwich').addClass "close_sandwich" + $('.mobile_menu').addClass "menu_open" diff --git a/app/assets/javascripts/front/search.coffee b/app/assets/javascripts/front/search.coffee new file mode 100644 index 0000000..d27d022 --- /dev/null +++ b/app/assets/javascripts/front/search.coffee @@ -0,0 +1,26 @@ +$(document).on 'ready page:load', -> + $('.box_search .search_action').click (e) -> + $('.box_search form').submit() + +@google_search = (query) -> + google.search.cse.element.render({gname: 'google_search', div: 'search_results'}); + console.log('rendered google search'); + if query + google.search.cse.element.getElement("google_search").execute(query); + console.log("search for \"#{query}\""); + +gcseCallback = -> + if $('#search_results').length + console.log("search box found") + query = $('#search_results').data('query') + if (document.readyState == 'complete') + google_search(query) + else + google.setOnLoadCallback -> + google_search(query) + , true + +window.__gcse = { + parsetags: 'explicit', + callback: gcseCallback +}; diff --git a/app/assets/javascripts/front/smooth_scrolling.coffee b/app/assets/javascripts/front/smooth_scrolling.coffee new file mode 100644 index 0000000..dc3eaab --- /dev/null +++ b/app/assets/javascripts/front/smooth_scrolling.coffee @@ -0,0 +1,15 @@ +$(document).on 'click', "a[href*='#']:not([href^='#'])", (e) -> + if location.hostname == this.hostname + target = $(this.hash) + target = if target.length then target else $('[name=' + this.hash.slice(1) + ']') + if target.length + $('html,body').animate {scrollTop: target.offset().top - $('#landing_header .nav_menu:not(.mobile_menu):visible').height()}, 500 + e.preventDefault() + false + +$(document).on 'click', "a[href='#{location.pathname}']", (e) -> + $('html,body').animate {scrollTop: 0}, 500 + e.preventDefault() + false + + diff --git a/app/assets/javascripts/shared.js b/app/assets/javascripts/shared.js new file mode 100644 index 0000000..0e29731 --- /dev/null +++ b/app/assets/javascripts/shared.js @@ -0,0 +1,4 @@ +//= require jquery +//= require jquery_ujs +//= require twitter/bootstrap +//= require_tree ./shared diff --git a/app/assets/javascripts/shared/bootstrap.js.coffee b/app/assets/javascripts/shared/bootstrap.js.coffee new file mode 100644 index 0000000..96c5bc3 --- /dev/null +++ b/app/assets/javascripts/shared/bootstrap.js.coffee @@ -0,0 +1,3 @@ +$(document).on 'ready page:load', -> + $("a[rel~=popover], .has-popover").popover() + $("a[rel~=tooltip], .has-tooltip").tooltip() diff --git a/app/assets/stylesheets/admin.css b/app/assets/stylesheets/admin.css new file mode 100644 index 0000000..14eeff6 --- /dev/null +++ b/app/assets/stylesheets/admin.css @@ -0,0 +1,5 @@ +/* + *= require bootstrap-datetimepicker + *= require_directory ./admin + *= require_self + */ diff --git a/app/assets/stylesheets/admin/bootstrap_and_overrides.sass b/app/assets/stylesheets/admin/bootstrap_and_overrides.sass new file mode 100644 index 0000000..5d63f95 --- /dev/null +++ b/app/assets/stylesheets/admin/bootstrap_and_overrides.sass @@ -0,0 +1,56 @@ +html + height: 100% + +body.admin-body + padding-top: 70px + height: 100% + .yield-container + overflow-y: auto + height: 100% + .yield-column + padding: 0 10px 20px 90px + footer + position: fixed + bottom: 0 + right: 25px + color: #b2b2b8 + p + margin: 0 + + #links_panel + position: fixed + width: 300px + padding: 0 20px + left: -250px + height: calc(100% - 85px) + z-index: 2 + div + height: 100% + overflow-y: auto + ul li + a + padding: 2px 15px + + &.selected + margin-left: 0 + margin-right: -5px + border-left: #808080 outset 5px + .handle + position: absolute + top: calc(50% - 12px) + left: 265px + color: darkgrey + &:hover + color: #347bb7 + cursor: pointer + + .page-header + margin: 0 0 5px + h1 + margin-top: 0 + margin-bottom: 0 + font-size: 24px + + .form-horizontal .form-group + margin-left: 0 + margin-right: 0 diff --git a/app/assets/stylesheets/admin/scaffolds.scss b/app/assets/stylesheets/admin/scaffolds.scss new file mode 100644 index 0000000..9d74b04 --- /dev/null +++ b/app/assets/stylesheets/admin/scaffolds.scss @@ -0,0 +1,77 @@ +//body { +// +// color: #333; +// font-family: verdana, arial, helvetica, sans-serif; +// font-size: 13px; +// line-height: 18px; +//} +// +//p, ol, ul, td { +// font-family: verdana, arial, helvetica, sans-serif; +// font-size: 13px; +// line-height: 18px; +//} +// +//pre { +//// background-color: #eee; +// padding: 10px; +// font-size: 11px; +//} +// +//a { +// color: #000; +// +// &:visited { +// color: #666; +// } +// +// &:hover { +// color: #fff; +//// background-color: #000; +// } +//} +// +//div { +// &.field, &.actions { +// margin-bottom: 10px; +// } +//} +// +//#notice { +// color: green; +//} +// +//.field_with_errors { +// padding: 2px; +// background-color: red; +// display: table; +//} +//// +//#error_explanation { +// width: 450px; +// border: 2px solid red; +// padding: 7px; +// padding-bottom: 0; +// margin-bottom: 20px; +// background-color: #f0f0f0; +// +// h2 { +// text-align: left; +// font-weight: bold; +// padding: 5px 5px 5px 15px; +// font-size: 12px; +// margin: -7px; +// margin-bottom: 0px; +// background-color: #c00; +// color: #fff; +// } +// +// ul li { +// font-size: 12px; +// list-style: square; +// } +//} +// +//.pagination { +// margin: 0; +//} diff --git a/app/assets/stylesheets/admin/sortable.sass b/app/assets/stylesheets/admin/sortable.sass new file mode 100644 index 0000000..9eb6b44 --- /dev/null +++ b/app/assets/stylesheets/admin/sortable.sass @@ -0,0 +1,3 @@ +.sort_icon + width: 15px + cursor: pointer \ No newline at end of file diff --git a/app/assets/stylesheets/admin/table_row_editor.sass b/app/assets/stylesheets/admin/table_row_editor.sass new file mode 100644 index 0000000..e3a25a6 --- /dev/null +++ b/app/assets/stylesheets/admin/table_row_editor.sass @@ -0,0 +1,7 @@ +table.editable_rows + td input + width: 100% + margin: -2px 0 + td span.has-error + color: #a94442 + diff --git a/app/assets/stylesheets/admin/tabular_filter.sass b/app/assets/stylesheets/admin/tabular_filter.sass new file mode 100644 index 0000000..d48eac5 --- /dev/null +++ b/app/assets/stylesheets/admin/tabular_filter.sass @@ -0,0 +1,28 @@ +@import "bootstrap-sprockets" +@import "bootstrap" + +#filters + input + width: 100% + padding: 2px + select + width: 100% + padding: 3px + + .clear_btn + text-align: center + display: inline-block + cursor: pointer + margin: 0 5px + color: black + font-weight: normal + font-size: 16px + font-family: FontAwesome + padding: 1px 8px + &:before + content: '\f00d' + &:hover, &:focus, &:active + color: red + background: rgba(0, 0, 0, 0.16) + border-radius: 3px + text-decoration: none diff --git a/app/assets/stylesheets/admin_front.css b/app/assets/stylesheets/admin_front.css new file mode 100644 index 0000000..c364a81 --- /dev/null +++ b/app/assets/stylesheets/admin_front.css @@ -0,0 +1,3 @@ +/* + *= require_tree ./admin_front + */ \ No newline at end of file diff --git a/app/assets/stylesheets/admin_front/blocks.css.scss b/app/assets/stylesheets/admin_front/blocks.css.scss new file mode 100644 index 0000000..2696c31 --- /dev/null +++ b/app/assets/stylesheets/admin_front/blocks.css.scss @@ -0,0 +1,72 @@ +//= require jquery-ui/resizable +//= require jquery-ui/draggable +@import "shared/mixin"; + +.block { + &:hover { + outline: 1px dashed; + outline-offset: -1px; + cursor: pointer; + opacity: 0.7; + } +} + +#blocks_controls { + position: fixed; + margin: 10px; + padding: 5px; + width: 260px; + background: rgba(255, 255, 255, 0.8); + @include box-shadow(1px 1px 3px 3px rgba(44, 44, 44, 0.63)); + @include border-radius(5px); + z-index: 20; + + .caption { + font-size: 18px; + padding: 5px; + cursor: move; + } + + a { + padding: 3px; + &.apply { + color: green; + &:hover { + color: lime; + } + } + &.cancel { + color: #d90000; + &:hover { + color: #ff4600; + } + } + } +} + +#block_editor { + z-index: 20; + position: fixed; + width: 60%; + height: 60%; + left: 20%; + top: 20%; + padding: 10px; + background: white; + @include box-shadow(1px 1px 3px 3px rgba(44, 44, 44, 0.63)); + @include border-radius(4px); + div { + margin: 0; + padding: 0; + } + textarea { + margin-bottom: 10px; + height: 228px; + resize: none; + overflow-y: auto; + border-top: none; + } + label { + display: none; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/front.css b/app/assets/stylesheets/front.css new file mode 100644 index 0000000..9f75c48 --- /dev/null +++ b/app/assets/stylesheets/front.css @@ -0,0 +1,6 @@ +/* + *= require_directory ./front + *= require_self + */ + + diff --git a/app/assets/stylesheets/front/global settings.sass b/app/assets/stylesheets/front/global settings.sass new file mode 100644 index 0000000..dfd436f --- /dev/null +++ b/app/assets/stylesheets/front/global settings.sass @@ -0,0 +1,18 @@ +input + outline: none + &:hover, &:focus, &:active + outline: none + + +a + text-decoration: none + &:hover, &:focus, &:active, &:visited + text-decoration: none + + +ul + padding: 0 + margin: 0 + +li + list-style: none diff --git a/app/assets/stylesheets/front/header.sass b/app/assets/stylesheets/front/header.sass new file mode 100644 index 0000000..6f45e0a --- /dev/null +++ b/app/assets/stylesheets/front/header.sass @@ -0,0 +1,115 @@ +@import "shared/color" +@import "shared/mixin" +body + @media (min-width: 768px) + padding-top: 120px + +header + position: fixed + top: 0 + left: 0 + width: 100% + + + height: 150px + z-index: 17 + @media (max-width: 767px) + padding: 10px + position: relative + height: 40px + + nav + position: relative + text-align: center + background: $main + background: -moz-linear-gradient(0deg, $main 30%, $second 93%) + background: -webkit-linear-gradient(0deg, $main 30%, $second 93%) + background: linear-gradient(0deg, $main 30%, $second 93%) + background-image: -ms-linear-gradient(0deg, $main 30%, $second 93%) + background-image: linear-gradient(0deg, $main 30%, $second 93%) + +box-shadow_2(2px 2px 5px -1px rgba(0,0,0,1), inset 0px 0px 15px 12px rgba(154, 154, 154, 0.19)) + padding: 2px 0 + .nav_menu + display: flex + justify-content: center + a + margin: 0 10px + line-height: 1.5 + color: $white + font-weight: bold + font-size: 16px + padding: 5px 10px + border: 2px solid transparent + +border-radius(5px) + +transition(all .2s ease) + &:hover + border: 2px solid + color: $orange !important + +box-shadow(1px 1px 5px -1px black) + &:active + +box-shadow(none) + background: $main + background: -moz-linear-gradient(-180deg, $second 0%, $main 100%) + background: -webkit-linear-gradient(-180deg, $second 0%, $main 100%) + background: linear-gradient(-180deg, $second 0%, $main 100%) + background-image: -ms-linear-gradient(-180deg, $second 0%, $main 100%) + background-image: linear-gradient(-180deg, $second 0%, $main 100%) + + &:visited + color: white + .contact_box + margin-top: 10% + .info_box + h1, h4 + margin: 10px 0 + + h4 + display: inline-block + border-bottom: 2px solid $main + color: $black + padding: 5px 20px + @media (max-width: 990px) + font-size: 14px + margin-top: 20px + h1 + color: $main + font-weight: bold + @media (max-width: 990px ) + font-size: 24px + margin: 0 + + .info-block + height: 59px + display: table + div + display: table-cell + vertical-align: middle + p + margin: 0 + + .language_box + position: absolute + top: 6px + right: 30px + + .navbar-btn + margin: 0 + .style_lang + background: none + color: $white + font-weight: bold !important + border: 2px solid white + padding: 5px 10px + margin: 0 + + &:hover + background: $white + color: $main + + .dropdown-menu + text-align: center + width: 100px !important + padding: 5px 0 + + .dropdown-menu>.active>a + background: $main \ No newline at end of file diff --git a/app/assets/stylesheets/front/helper.sass b/app/assets/stylesheets/front/helper.sass new file mode 100644 index 0000000..1919c00 --- /dev/null +++ b/app/assets/stylesheets/front/helper.sass @@ -0,0 +1,21 @@ +@import "shared/color" +.border + border: 1px solid black +.c_green + color: $main + +.s_10 + font-size: 10px + +.line_1 + line-height: 1 + +.without_padding + padding-left: 0 !important + padding-right: 0 !important + +.mob_back + @media (max-width: 767px) + background-color: rgba(white, .4) + + diff --git a/app/assets/stylesheets/front/mobile_menu.sass b/app/assets/stylesheets/front/mobile_menu.sass new file mode 100644 index 0000000..df2da10 --- /dev/null +++ b/app/assets/stylesheets/front/mobile_menu.sass @@ -0,0 +1,58 @@ +@import "shared/color" +@import "shared/mixin" +.mobile_menu + position: relative + top: 0 + z-index: 100 + display: none + border-top: 2px solid rgba($main, .21) + border-bottom: 2px solid rgba($main, .11) + +box-shadow(inset 0 0 8px -5px black) + text-align: center + background: white + + .nav_menu + a + color: $main + border: 2px solid $main + +border-radius(5px) + padding: 2px 10px + +.menu_open + display: block !important + + +.box_sandwich + .sandwich + position: absolute + top: 20px + right: 10px + cursor: pointer + + +width_height(30px, 5px) + +border-radius(2px) + background: $main + z-index: 101 + &:before, &:after + position: absolute + content: '' + +width_height(30px, 5px ) + +border-radius(2px) + &:before + top: -8px + left: 0 + background: $main + &:after + top: 8px + left: 0 + background: $main + .close_sandwich + &:after, &:before + background: $main + background: white + &:after + top: 0 + +transform(rotate(-45deg)) + &:before + +transform(rotate(45deg)) + top: 0 \ No newline at end of file diff --git a/app/assets/stylesheets/front/selectors.sass b/app/assets/stylesheets/front/selectors.sass new file mode 100644 index 0000000..087e72f --- /dev/null +++ b/app/assets/stylesheets/front/selectors.sass @@ -0,0 +1,14 @@ +@import "shared/color" +.h_style + padding: 0 15px + border-bottom: 4px solid white + color: $main + font-weight: bold + margin-top: 60px + font-size: 60px +.h_style_no_border + padding: 0 15px + color: $main + font-weight: bold + margin-top: 60px + font-size: 60px \ No newline at end of file diff --git a/app/assets/stylesheets/shared.css b/app/assets/stylesheets/shared.css new file mode 100644 index 0000000..4f382d0 --- /dev/null +++ b/app/assets/stylesheets/shared.css @@ -0,0 +1,5 @@ +/* + *= require_directory ./shared + *= require_self + *= require font-awesome + */ diff --git a/app/assets/stylesheets/shared/_color.sass b/app/assets/stylesheets/shared/_color.sass new file mode 100644 index 0000000..0c294ed --- /dev/null +++ b/app/assets/stylesheets/shared/_color.sass @@ -0,0 +1,10 @@ +//$green: #479724 +$white: white +$black: #2A2A2A + + +$main: #67912f +$second: #c8f241 + +//$orange: #F6AE2D +$orange: #F7E565 \ No newline at end of file diff --git a/app/assets/stylesheets/shared/_mixin.sass b/app/assets/stylesheets/shared/_mixin.sass new file mode 100644 index 0000000..7cc23eb --- /dev/null +++ b/app/assets/stylesheets/shared/_mixin.sass @@ -0,0 +1,206 @@ +////standart_veritables +$default_transition: all .2s ease + + +=transition($transition) + transition: $transition + -webkit-transition: $transition + -moz-transition: $transition + -o-transition: $transition + +=box-shadow($box-shadow) + box-shadow: $box-shadow + -webkit-box-shadow: $box-shadow + -moz-box-shadow: $box-shadow + -o-box-shadow: $box-shadow + -ms-box-shadow: $box-shadow + += box-shadow_2($sha_1, $sha_2) + box-shadow: $sha_1, $sha_2 + -webkit-box-shadow: $sha_1, $sha_2 + -moz-box-shadow: $sha_1, $sha_2 + -o-box-shadow: $sha_1, $sha_2 + -ms-box-shadow: $sha_1, $sha_2 + +=border-radius($border-radius) + border-radius: $border-radius + -webkit-border-radius: $border-radius + -moz-border-radius: $border-radius + +//border_box, content_box +=box-sizing($box_sizing) + -webkit-box-sizing: $box_sizing + -moz-box-sizing: $box_sizing + box-sizing: $box_sizing + +=user_select($user_select) + -webkit-user-select: $user_select + -moz-user-select: $user_select + -ms-user-select: $user_select + user-select: $user_select + +=transform($transform) + transform: $transform + -webkit-transform: $transform + -moz-transform: $transform + -o-transform: $transform + -ms-transform: $transform + +=transform_2($transform_double_1, $transform_double_2) + transform: $transform_double_1 $transform_double_2 + -webkit-transform: $transform_double_1 $transform_double_2 + -moz-transform: $transform_double_1 $transform_double_2 + -o-transform: $transform_double_1 $transform_double_2 + -ms-transform: $transform_double_1 $transform_double_2 + +=transform_3( $transform_triple_1, $transform_triple_2, $transform_triple_3) + transform: $transform_triple_1 $transform_triple_2 $transform_triple_3 + -webkit-transform: $transform_triple_1 $transform_triple_2 $transform_triple_3 + -moz-transform: $transform_triple_1 $transform_triple_2 $transform_triple_3 + -o-transform: $transform_triple_1 $transform_triple_2 $transform_triple_3 + -ms-transform: $transform_triple_1 $transform_triple_2 $transform_triple_3 + +=ul_li($display, $vertical) + display: $display + vertical-align: $vertical + +/////////////////////////////////////////////// +=double_shadow($color) + +box-shadow((0 1px 0 lighten($color, 10%) inset, 0 -1px 0 darken($color, 10%) inset)) + +=hover-style($color) + &:hover + background: lighten($color, 3%) + + += width_height($width, $height) + width: $width + height: $height +=appearance($appearance) + -webkit-appearance: $appearance + -moz-appearance: $appearance + appearance: $appearance + +=transition_delay($transition_sub_1, $transition_sub_2 ) + transition-delay: $transition_sub_1, $transition_sub_2 + -o-transition-delay: $transition_sub_1, $transition_sub_2 + -moz-transition-delay: $transition_sub_1, $transition_sub_2 + -webkit-transition-delay: $transition_sub_1, $transition_sub_2 + +=transition_delay_single($transition_sub_1 ) + transition-delay: $transition_sub_1 + -o-transition-delay: $transition_sub_1 + -moz-transition-delay: $transition_sub_1 + -webkit-transition-delay: $transition_sub_1 + +=transition_2($tra_1, $tra_2) + transition: $tra_1, $tra_2 + -webkit-transition: $tra_1, $tra_2 + -moz-transition: $tra_1, $tra_2 + -ms-transition: $tra_1, $tra_2 + -o-transition: $tra_1, $tra_2 + += animation_delay($animation_delay) + -webkit-animation-delay: $animation_delay + -moz-animation-delay: $animation_delay + -ms-animation-delay: $animation_delay + animation-delay: $animation_delay + +=animation($content) + animation: $content + -webkit-animation: $content + -moz-animation: $content + -o-animation: $content + +=keyframe($name) + @keyframes #{$name} + @content + + @-moz-keyframes #{$name} + @content + + @-webkit-keyframes #{$name} + @content + + @-o-keyframes #{$name} + @content + +=text-shadow($text_shadow) + text-shadow: $text_shadow + +=transform_origin($origin-x, $origin-y) + -webkit-transform-origin: $origin-x, $origin-y + -moz-transform-origin: $origin-x, $origin-y + -o-transform-origin: $origin-x, $origin-y + -ms-transform-origin: $origin-x, $origin-y + transform-origin: $origin-x, $origin-y + + + +=border($top, $bottom, $left, $right) + border-top-color: $top !important + border-bottom-color: $bottom !important + border-left-color: $left !important + border-right-color: $right !important + + +=position_center($position, $top, $left) + position: $position + top: $top + left: $left + +transform(translate(-50%, -50%)) + +=vertical_align($height) + &:before + content: '' + display: inline-block + vertical-align: middle + height: $height + width: .1px +=vertical_align_without_veritable() + &:before + content: '' + display: inline-block + vertical-align: middle + width: .1px + += clearfix() + &:before,&:after + content: '' + display: table + &:after + clear: both + + += opacity($opacity) + opacity: $opacity + $opacity-ie: $opacity * 100 + filter: alpha(opacity = $opacity-ie) + += link_settings($link, $visited, $hover, $active) + &:link + color: $link + &:visited + color: $visited + &:hover + color: $hover + &:active + color: $active + + += normal_box($s) + width: $s + height: $s + line-height: $s + += perspective($size) + perspective: $size + -webkit-perspective: $size + -moz-perspective: $size + += letter-spacing($letter-spacing) + -webkit-letter-spacing: $letter-spacing + -moz-letter-spacing: $letter-spacing + -ms-letter-spacing: $letter-spacing + -o-letter-spacing: $letter-spacing + letter-spacing: $letter-spacing diff --git a/app/assets/stylesheets/shared/bootstrap_and_overrides.sass b/app/assets/stylesheets/shared/bootstrap_and_overrides.sass new file mode 100644 index 0000000..c9bf593 --- /dev/null +++ b/app/assets/stylesheets/shared/bootstrap_and_overrides.sass @@ -0,0 +1,7 @@ +/* + =require twitter-bootstrap-static/bootstrap + + Use Font Awesome icons (default) + To use Glyphicons sprites instead of Font Awesome, replace with "require twitter-bootstrap-static/sprites" + =require twitter-bootstrap-static/fontawesome + */ diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb new file mode 100644 index 0000000..934b6f1 --- /dev/null +++ b/app/controllers/accounts_controller.rb @@ -0,0 +1,63 @@ +class AccountsController < AdminController + before_action :set_account, only: [:show, :edit, :update, :destroy] + + def index + @accounts = paginated tabular_filter.add_keys_replacements({email: 'accounts.email', on_hold: 'accounts.on_hold'}). + apply(select_accounts.order 'email', :email) + end + + def show + end + + def edit + end + + def update + respond_to do |format| + if @account.update(account_params) + format.html { redirect_to @account, notice: 'Account was successfully updated.' } + format.json { head :no_content } + else + format.html { render action: 'edit' } + format.json { render json: @account.errors, status: :unprocessable_entity } + end + end + end + + def destroy + redirect_to accounts_url + end + + def vacancy + redirect_to accounts_path(vacancy: Vacancy.find(params[:id]).name) + end + + private + + def select_accounts + if params.has_key? :vacancy + @title = params[:vacancy].pluralize.humanize + Account.where(vacancy: Vacancy.find_by(name: params[:vacancy])) + elsif params.has_key? :referrer + referrer = Account.find(params[:referrer]) + @title = "Referrals of #{referrer.email}" + paginate Account.where(referrer: referrer) + else + Account.all + end + end + + # Use callbacks to share common setup or constraints between actions. + def set_account + @account = Account.find(params[:id]) + end + + # Never trust parameters from the scary internet, only allow the white list through. + def account_params + if params[:account][:password].blank? + params[:account][:password] = nil + params[:account][:password_confirmation] = nil + end + params.require(:account).permit(:email, :wallet_address, :on_hold, :referrer_id, :subscribed, :password, :password_confirmation) + end +end diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb new file mode 100644 index 0000000..1cc360e --- /dev/null +++ b/app/controllers/admin_controller.rb @@ -0,0 +1,16 @@ +class AdminController < ApplicationController + + def index + # console + end + + def paginated(scope) + scope.paginate(page: params[:page], per_page: 20) + end + + helper_method :tabular_filter + + def tabular_filter + @tabular_filter ||= TabularFilter.new(params) + end +end diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb new file mode 100644 index 0000000..ff645df --- /dev/null +++ b/app/controllers/application_controller.rb @@ -0,0 +1,43 @@ +class ApplicationController < ActionController::Base + protect_from_forgery with: :exception + before_action :check_administrator, unless: :devise_controller? + before_filter :set_locale + + helper_method :current_url_for_locale + def current_url_for_locale(locale) + request.get? ? url_for(params.merge(locale: locale)) : url_for(locale: locale) + end + + protected + def check_administrator + if current_account.nil? + authenticate_account! + elsif current_account.administrator.nil? + redirect_to root_url, alert: 'You have not enough rights to do it!' + end + end + + def extract_best_locale + if request.env['HTTP_ACCEPT_LANGUAGE'] + return request.env['HTTP_ACCEPT_LANGUAGE'].scan(/^[a-z]{2}/).first || I18n.default_locale + end + I18n.default_locale + end + + def set_locale + ActionMailer::Base.default_url_options = {:host => request.host_with_port} + params[:locale] = extract_best_locale if params[:locale].nil? + if I18n.available_locales.include?(params[:locale].to_sym) + current_account.update(locale: params[:locale]) if current_account && current_account.locale != params[:locale] + I18n.locale = params[:locale] + else + flash.now[:notice] = "#{params[:locale]} translation not available" + logger.error flash.now[:notice] + end + end + + def self.default_url_options(options={}) + options.merge({locale: I18n.locale}) + end + +end diff --git a/app/controllers/blocks_controller.rb b/app/controllers/blocks_controller.rb new file mode 100644 index 0000000..7526288 --- /dev/null +++ b/app/controllers/blocks_controller.rb @@ -0,0 +1,67 @@ +class BlocksController < AdminController + before_action :set_block, only: [:edit, :update] + layout false + + def edit + end + + def update + replace_line_breaks + update_block_by_version + respond_to do |format| + format.js + end + end + + def apply + BlockVersion.by_admin(current_account).last.activate + respond_to do |format| + format.js { render nothing: true, status: 200 } + format.html { redirect_to :back } + end + end + + def cancel + last_block_version = BlockVersion.by_admin(current_account).last + if last_block_version.present? and !last_block_version.active + last_block_version.blocks.destroy_all + end + respond_to do |format| + format.js { render nothing: true, status: 200 } + format.html { redirect_to :back } + end + end + + private + def set_block + @block = Block.last_for_admin(params[:id], current_account) + end + + def block_params + params.require(:block).permit(:key, localed_attr(:text)) + end + + def replace_line_breaks + locales.each do |locale| + split_text = params[:block]["text_#{locale}"].split(/\r\n|\n\r|\r|\n/) + params[:block]["text_#{locale}"] = split_text.map {|p| p.blank? ? '<br>' : "<p>#{p}</p>"}.join + end + end + + def update_block_by_version + full_params = block_params + full_params[:key] = params[:id] + if @block.block_version.active? + block_version = BlockVersion.find_or_create_by(account: current_account, active: false) + @block = Block.new(key: params[:id], block_version: block_version) + @prev_block = Block.active.by_key(params[:id]).last + if @prev_block + @prev_block.text_phrase.translations.each do |translation| + full_params["text_#{translation.locale}"] = translation.text if translation.locale != I18n.locale.to_s + end + end + end + @block.update(full_params) + end + +end diff --git a/app/controllers/concerns/.keep b/app/controllers/concerns/.keep new file mode 100644 index 0000000..e69de29 diff --git a/app/controllers/concerns/sortable.rb b/app/controllers/concerns/sortable.rb new file mode 100644 index 0000000..11c0fd5 --- /dev/null +++ b/app/controllers/concerns/sortable.rb @@ -0,0 +1,17 @@ +module Sortable + extend ActiveSupport::Concern + + included do + before_action :update_position, only: :update + end + + def update_position + if params.has_key?(:position) + item = controller_name.classify.constantize.find(params[:id]) + item.insert_at(params[:position].to_i) + render nothing: true, status: :ok + false + end + end + +end \ No newline at end of file diff --git a/app/controllers/concerns/tabular_filter.rb b/app/controllers/concerns/tabular_filter.rb new file mode 100644 index 0000000..6ec59f6 --- /dev/null +++ b/app/controllers/concerns/tabular_filter.rb @@ -0,0 +1,226 @@ +class TabularFilter + include ActionView::Helpers + + def initialize(params) + filters_params = params.select{|key| key.to_s.match(/tf.?_.+/)} + @filters = Hash[filters_params.map{|k,v| [k.to_s.match(/tf.?_(.+)/)[1],{value: v, mode: k.to_s.match(/tf(.?)_.+/)[1]}]}] + @keys_replacements = {} + @joins = {} + end + + def translations(*translated_columns) + relations Hash[translated_columns.map { |c| [c, '.:t'] }] + end + + def relations(args) + # EXAMPLE: {manager: 'accounts.name', client: 'accounts.name', ware: 'wares.name:t', name: '.:t'} + args.keys.each do |key| + value = args[key].split('.') + table_name = value[0] + join_table_name = key.to_s.pluralize + column_params = value[1].split(':') + column_name = column_params[0] + translatable = false + if column_params.length > 1 && column_params[1]=='t' + translatable = true + join_table_name += "_#{column_name}_translations" + end + @joins[key] = {table_name: table_name, join_table_name: join_table_name, column: key, join_column: column_name, + translatable: translatable} + add_keys_replacements(key => "#{join_table_name}.#{translatable ? 'text' : column_name}") + end + self + end + + def add_keys_replacements(keys) + @keys_replacements.merge! keys + self + end + + def apply(scope, args = {}) + decode_apply_args(args) + @table_name = scope.table.name + active? ? add_joins(scope).where(condition).uniq : scope + end + + def decode_apply_args(args) + @skip = [] + if args.has_key? :skip + if args[:skip].is_a? Array + args[:skip].each { |value| @skip << value } + else + @skip << args[:skip].to_sym + end + end + end + + def add_joins(scope) + @joins.each do |key, join_data| + next if @skip.include? key.to_sym + jt_column = join_data[:join_column] + jt_name = join_data[:join_table_name] + if jt_column.empty? + jt_column = join_data[:column] + jt = @table_name + column = 'id' + else + jt = join_data[:table_name] + column = join_data[:column].to_s + '_id' + end + if join_data[:translatable] + scope = scope. + joins "LEFT JOIN phrase_containers `#{jt}_containers` ON `#{jt}_containers`.`translatable_id` = `#{@table_name}`.`#{column}` AND `#{jt}_containers`.`translatable_type`='#{jt.classify}' AND `#{jt}_containers`.`attribute_name`='#{jt_column}'", + "LEFT JOIN `phrases` `#{jt}_phrases` ON `#{jt}_phrases`.`id` = `#{jt}_containers`.`phrase_id`", + "LEFT JOIN `translations` `#{jt_name}` ON `#{jt_name}`.`phrase_id` = `#{jt}_phrases`.`id` AND `#{jt_name}`.`locale` = '#{I18n.locale}'" + else + scope = scope. + joins "LEFT JOIN `#{jt}` `#{jt_name}` ON `#{jt_name}`.`id` = `#{@table_name}`.`#{column}`" + end + end + scope + end + + def condition + condition = '' + @filters.keys.each do |key| + return 'false' if @skip.include? key.to_sym + condition << ' and ' unless condition.blank? + condition << key_condition(key) + end + condition + end + + def key_condition(key) + @key = key + condition = '' + sub_keys = key.split(':').map(&:to_sym).map { |k| @keys_replacements.include?(k) ? @keys_replacements[k] : k } + (0..sub_keys.length - 1).each do + condition << ' or ' unless condition.blank? + condition << current_keys_condition(sub_keys) + sub_keys << sub_keys.shift + end + "(#{condition})" + end + + def current_keys_condition(keys) + condition = '' + values = @filters[@key][:value].split(' ') + (0..values.length - 1).each do + condition << ' or ' unless condition.blank? + condition << current_values_condition(keys, values) + values << values.shift + end + condition + end + + def current_values_condition(keys, values) + condition = '' + (0..[values.length, keys.length].min - 1).each do |i| + condition << ' and ' unless condition.blank? + condition << value_condition(keys[i], values[i]) + end + "(#{condition})" + end + + #noinspection RubyAssignmentExpressionInConditionalInspection + def value_condition(key, value) + col_name = key.to_s + col_name = "#{@table_name}.#{col_name}" if col_name.gsub(/\./).count == 0 + case @filters[@key][:mode] + when 'd' + date = value.to_datetime + "(#{col_name} BETWEEN '#{date.beginning_of_day.to_s(:db)}' AND '#{date.end_of_day.to_s(:db)}')" + when 'b' + value == '1' ? "(#{col_name} = 1)" : "(#{col_name} = 0 OR #{col_name} IS NULL)" + else + if value == '!*' + return "(#{col_name} is null or #{col_name}='')" + elsif value == '*' + return "(#{col_name} is not null and #{col_name}<>'')" + elsif match = /^(==)(\d*.\d*)$/.match(value) + return "(#{col_name}=#{match[2]})" + elsif match = /^(<>)(\d*.\d*)$/.match(value) + return "(#{col_name}!=#{match[2]})" + elsif match = /^(!=|[><=])(\d*.\d*)$/.match(value) + return "(#{col_name}#{match[1]}#{match[2]})" + end + "#{col_name} like '%#{value}%'" + end + end + + def active? + !@filters.empty? + end + + def empty? + @filters.empty? + end + + def row_helper(*args) + out = "<tr id='filters'>" + put = true + args = args[0] if args[0].is_a? Array + args.each_with_index do |param, i| + param = 1 if param == '-' || param == '' + if param.is_a? Integer + if i == args.size - 1 + if block_given? + out << "<th class='actions' colspan='#{param}'>#{yield}</th>" + else + out << "<th class='actions' colspan='#{param}'>#{link_to '', '?', class: 'clear_btn clear_tabular_filters', + title: t('helpers.links.clear', default: 'Clear')}</th>" + end + else + out << "<th colspan='#{param}'></th>" if put + end + put = true + elsif !!param == param + put = param + elsif param.is_a? Hash + param.keys.each do |key| + out << generate_control(param[key], key) if put + end + else + param_parts = param.to_s.split(':') + type = param_parts.length > 1 ? param_parts[1].to_sym : :text + out << generate_control(type, param_parts[0]) if put + put = true + end + end + out << '</tr>' + out.html_safe + end + + private + + def generate_control(type, param) + case type + when :text, :string, :as_text, :as_string + "<th>#{field_helper param}</th>" + when :bool, :boolean, :as_bool, :as_boolean + "<th>#{yes_no_helper param}</th>" + when :date, :as_date + "<th>#{date_helper param}</th>" + else + '<th></th>' + end + end + + def field_helper(attr) + text_field_tag attr, value_for(attr), class: 'filter' + end + + def yes_no_helper(attr) + select_tag attr, options_for_select([[t(:yes), 1], [t(:no), 0]], value_for(attr)), + include_blank: true, class: 'filter boolean' + end + + def date_helper(attr) + text_field_tag attr, value_for(attr), class: 'filter date_picker' + end + + def value_for(attr) + @filters.has_key?(attr) ? @filters[attr][:value] : '' + end + +end diff --git a/app/controllers/front_controller.rb b/app/controllers/front_controller.rb new file mode 100644 index 0000000..2095e90 --- /dev/null +++ b/app/controllers/front_controller.rb @@ -0,0 +1,12 @@ +class FrontController < ApplicationController + skip_before_action :check_administrator + + def index + @pages = Page.active.anchors + end + + def page + @page = Page.find_by(url_id: params[:id]) || Page.find(params[:id]) + end + +end diff --git a/app/controllers/newsletters_controller.rb b/app/controllers/newsletters_controller.rb new file mode 100644 index 0000000..81ab90c --- /dev/null +++ b/app/controllers/newsletters_controller.rb @@ -0,0 +1,110 @@ +class NewslettersController < AdminController + before_action :set_newsletter, only: [:show, :edit, :update, :destroy, :sending, :resend] + + # GET /newsletters + # GET /newsletters.json + def index + @newsletters = Newsletter.all + end + + # GET /newsletters/1 + # GET /newsletters/1.json + def show + end + + # GET /newsletters/new + def new + @newsletter = params.has_key?(:newsletter) ? Newsletter.new(newsletter_params) : Newsletter.new + end + + # GET /newsletters/1/edit + def edit + end + + # POST /newsletters + # POST /newsletters.json + def create + @newsletter = Newsletter.new(newsletter_params) + + respond_to do |format| + if @newsletter.save + format.html { redirect_to @newsletter, notice: 'Newsletter was successfully created.' } + format.json { render :show, status: :created, location: @newsletter } + else + format.html { render :new } + format.json { render json: @newsletter.errors, status: :unprocessable_entity } + end + end + end + + # PATCH/PUT /newsletters/1 + # PATCH/PUT /newsletters/1.json + def update + respond_to do |format| + if @newsletter.update(newsletter_params) + format.html { redirect_to @newsletter, notice: 'Newsletter was successfully updated.' } + format.json { render :show, status: :ok, location: @newsletter } + else + format.html { render :edit } + format.json { render json: @newsletter.errors, status: :unprocessable_entity } + end + end + end + + # DELETE /newsletters/1 + # DELETE /newsletters/1.json + def destroy + @newsletter.destroy + respond_to do |format| + format.html { redirect_to newsletters_url, notice: 'Newsletter was successfully destroyed.' } + format.json { head :no_content } + end + end + + def resend + @newsletter.update(last_id: nil) + redirect_to send_newsletter_url + end + + def sending + if @newsletter.last_id.nil? + init_newsletter + elsif @newsletter.processed_id < @newsletter.last_id + sending_newsletter + end + end + + private + def init_newsletter + @newsletter.update(last_id: filtered_accounts.last.id, processed_id: 0) + end + + def filtered_accounts + Account.where(subscribed: true).for_filter.where(@newsletter.recipient_filter).order(:id) + end + + def sending_newsletter + @accounts = filtered_accounts.where('accounts.id > ?', @newsletter.processed_id).first(100) + begin + FrontMailer.newsletter(@newsletter.text_for_request(request), @accounts.map(&:email), @newsletter.subject).deliver_now + rescue Exception => error + Rails.logger.error("Error on send newsletter to #{error.message}") + end + params = {processed_id: @accounts.last.id} + if @accounts.last.id >= @newsletter.last_id + params[:processed_at] = DateTime.current + params[:last_id] = @accounts.last.id + end + @newsletter.update(params) + end + + # Use callbacks to share common setup or constraints between actions. + def set_newsletter + @newsletter = Newsletter.find(params[:id]) + end + + # Never trust parameters from the scary internet, only allow the white list through. + def newsletter_params + params.require(:newsletter).permit(:subject, :text, :date, :recipient_filter) + end +end diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb new file mode 100644 index 0000000..89e2dcd --- /dev/null +++ b/app/controllers/pages_controller.rb @@ -0,0 +1,70 @@ +class PagesController < AdminController + before_action :set_page, only: [:show, :edit, :update, :destroy] + include Sortable + + # GET /pages + def index + @pages = Page.all + end + + # GET /pages/1 + def show + end + + # GET /pages/new + def new + @page = Page.new + end + + # GET /pages/1/edit + def edit + end + + # POST /pages + # POST /pages.json + def create + @page = Page.new(page_params) + + respond_to do |format| + if @page.save + format.html { redirect_to @page, notice: 'Page was successfully created.' } + else + format.html { render :new } + end + end + end + + # PATCH/PUT /pages/1 + # PATCH/PUT /pages/1.json + def update + respond_to do |format| + if @page.update(page_params) + format.html { redirect_to @page, notice: 'Page was successfully updated.' } + else + format.html { render :edit } + end + end + end + + # DELETE /pages/1 + # DELETE /pages/1.json + def destroy + @page.destroy + respond_to do |format| + format.html { redirect_to pages_url, notice: 'Page was successfully destroyed.' } + format.json { head :no_content } + end + end + + private + # Use callbacks to share common setup or constraints between actions. + def set_page + @page = Page.find(params[:id]) + end + + # Never trust parameters from the scary internet, only allow the white list through. + def page_params + params.require(:page).permit(localed_attr(:title), :position, :mode, (:path if params[:page][:mode] == 'path'), + (:link if params[:page][:mode] == 'link'), localed_attr(:body), :url_id, :enabled, :keywords, localed_attr(:description)) + end +end diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb new file mode 100644 index 0000000..4a8adde --- /dev/null +++ b/app/controllers/settings_controller.rb @@ -0,0 +1,58 @@ +class SettingsController < AdminController + before_action :set_setting, only: [:update, :destroy] + + # GET /settings + # GET /settings.json + def index + @settings = Setting.init.all + end + + # POST /settings + # POST /settings.json + def create + @setting = Setting.new(setting_params) + + respond_to do |format| + if @setting.save + format.html { redirect_to settings_url, notice: 'Setting was successfully created.' } + else + format.json { render json: @setting.errors, status: :unprocessable_entity } + end + end + end + + # PATCH/PUT /settings/1 + # PATCH/PUT /settings/1.json + def update + respond_to do |format| + if @setting.update(setting_params) + format.html { redirect_to settings_url, notice: 'Setting was successfully updated.' } + format.json { render json: {}, status: :ok, location: @tag } + else + format.html { render :edit } + format.json { render json: @setting.errors, status: :unprocessable_entity } + end + end + end + + # DELETE /settings/1 + # DELETE /settings/1.json + def destroy + @setting.destroy + respond_to do |format| + format.html { redirect_to settings_url, notice: 'Setting was successfully destroyed.' } + format.json { head :no_content } + end + end + + private + # Use callbacks to share common setup or constraints between actions. + def set_setting + @setting = Setting.find(params[:id]) + end + + # Never trust parameters from the scary internet, only allow the white list through. + def setting_params + params.require(:setting).permit(:value) + end +end diff --git a/app/helpers/admin_helper.rb b/app/helpers/admin_helper.rb new file mode 100644 index 0000000..d7e9bb1 --- /dev/null +++ b/app/helpers/admin_helper.rb @@ -0,0 +1,12 @@ +module AdminHelper + def current_admin_path + if params['controller'] == 'admin' && params['action'] == 'index' + link_to t('activerecord.attributes.page.links.admin_area'), admin_index_path, class: 'navbar-brand' + else + link_to t("activerecord.models.#{controller_name.sub('Controller', '').singularize.downcase}.few"), + controller_path, class: 'navbar-brand' + end + end + +end + diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb new file mode 100644 index 0000000..c1c80a0 --- /dev/null +++ b/app/helpers/application_helper.rb @@ -0,0 +1,38 @@ +module ApplicationHelper + def truncate_html(html, length, &block) + truncate html.nil? ? '' : sanitize(html, tags: {}).squish , length: length, separator: ' ', &block + end + + def is_administrator? + current_account.present? && current_account.administrator.present? + end + + def show_amount(amount) + "#{((amount || 0) * Bank::SATOSHI_COEFF).round} <strong>SATOSHI</strong>".html_safe + end + + def to_d digits_after_dot, value + if value.present? + "%.#{digits_after_dot}f" % value + else + value + end + end + + def localize_datetime(date) + "#{l date.to_date} #{date.strftime('%H:%M:%S')}" if date.present? + end + + def timer_timeslot(seconds) + [60, 60, 1000].map { |count| seconds, n = seconds.divmod(count); n.to_s.rjust(2, '0') }.reverse.join(':') + end + + def humanize_timeslot(seconds) + [[60, 'second'], [60, 'minute'], [24, 'hour'], [1000, 'day']].map { |count, name| + if seconds > 0 + seconds, n = seconds.divmod(count) + n > 0 ? pluralize(n.to_i, name) : nil + end + }.compact.reverse.join(', ') + end +end diff --git a/app/helpers/blocks_helper.rb b/app/helpers/blocks_helper.rb new file mode 100644 index 0000000..bf6d967 --- /dev/null +++ b/app/helpers/blocks_helper.rb @@ -0,0 +1,22 @@ +module BlocksHelper + def block_tag(key, options=nil, &block) + text = block_given? ? capture(&block) : nil + if account_signed_in? + b = Block.last_for_admin(key, current_account, text) + else + b = Block.last(key, text) + end + b.apply_options(options).html + end + + def blocks_changing_allowed? + account_signed_in? && current_account.administrator.present? + end + + def blocks_changed? + last_version = BlockVersion.by_admin(current_account).last + blocks_changing_allowed? and last_version.present? and !last_version.active and last_version.blocks.present? + end +end + + diff --git a/app/helpers/certificates_helper.rb b/app/helpers/certificates_helper.rb new file mode 100644 index 0000000..1bc2041 --- /dev/null +++ b/app/helpers/certificates_helper.rb @@ -0,0 +1,2 @@ +module CertificatesHelper +end diff --git a/app/helpers/front_helper.rb b/app/helpers/front_helper.rb new file mode 100644 index 0000000..4c95b17 --- /dev/null +++ b/app/helpers/front_helper.rb @@ -0,0 +1,59 @@ +module FrontHelper + def title(title) + content_for :title do + [title, Setting.title].compact.join(' | ') + end + end + + def description(description) + content_for :description do + description.present? ? description : Setting.description + end + end + + def keywords(keywords) + content_for :keywords do + keywords.present? ? keywords : Setting.keywords + end + end + + def og_image(value) + content_for(:og_image) { full_path value } + end + + def og_type(value) + content_for(:og_type) { value } + end + + def og_url(value) + content_for(:og_url) { value } + end + + def full_path(path) + "#{request.protocol + request.host_with_port + path.to_s}" + end + + def recently_rated?(rate_data) + rate_data && Time.now.to_i - rate_data['rated_at'] < 86400 #- 24 hours + end + + def balance + "#{(current_account ? current_account.reload.balance * Bank::SATOSHI_COEFF : 0).to_i} s" + end + + def today_played_games + current_account.operating_date == Date.today ? current_account.played_games : 0 + end + + def expected_revenue + left_days > 0 ? Setting.all_days_bonus : Setting.one_day_bonus + end + + def left_days + account = current_account + continuous_days = account.operating_date && account.operating_date >= Date.yesterday ? account.continuous_days : 0 + left_days = Setting.days_for_bonus - continuous_days + [left_days, 0].max + end + +end diff --git a/app/helpers/pages_helper.rb b/app/helpers/pages_helper.rb new file mode 100644 index 0000000..63dbee7 --- /dev/null +++ b/app/helpers/pages_helper.rb @@ -0,0 +1,17 @@ +module PagesHelper + def link_to_page(page) + link_to(page.title, page_url_for(page), target: (:_blank if page.mode == 'link')).html_safe + end + + def page_url_for(page) + if page.mode == 'page' + front_page_path(page.url) + elsif page.mode == 'anchor' + root_path anchor: "page_#{page.url}" + elsif page.mode == 'path' + send Page.links[page.link.to_sym] + else + page.link + end + end +end diff --git a/app/helpers/services_helper.rb b/app/helpers/services_helper.rb new file mode 100644 index 0000000..de58435 --- /dev/null +++ b/app/helpers/services_helper.rb @@ -0,0 +1,2 @@ +module ServicesHelper +end diff --git a/app/mailers/.keep b/app/mailers/.keep new file mode 100644 index 0000000..e69de29 diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb new file mode 100644 index 0000000..024f10a --- /dev/null +++ b/app/mailers/application_mailer.rb @@ -0,0 +1,4 @@ +class ApplicationMailer < ActionMailer::Base + default from: "support@worldofrps.com" + layout 'mailer' +end diff --git a/app/mailers/front_mailer.rb b/app/mailers/front_mailer.rb new file mode 100644 index 0000000..1dd5d3b --- /dev/null +++ b/app/mailers/front_mailer.rb @@ -0,0 +1,26 @@ +class FrontMailer < ApplicationMailer + # layout false, only: [:newsletter] + # layout false, :only => 'newsletter' + + def welcome(account) + mail to: account.email, subject: 'Welcome to World Of RPS!' + end + + def withdraw_accepted(account) + @subject = 'World Of RPS Informer' + mail to: account.email, subject: @subject + end + + def withdraw_completed(account) + @subject = 'World Of RPS Informer' + mail to: account.email, subject: @subject + end + + def newsletter(text, recipients, subject='World Of RPS Informer') + @subject = subject + @text = text + @_action_has_layout = false + mail bcc: recipients, subject: subject + end + +end diff --git a/app/models/.keep b/app/models/.keep new file mode 100644 index 0000000..e69de29 diff --git a/app/models/account.rb b/app/models/account.rb new file mode 100644 index 0000000..f64de44 --- /dev/null +++ b/app/models/account.rb @@ -0,0 +1,39 @@ +class Account < ActiveRecord::Base + devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable + has_one :administrator + + # after_create :send_welcome_mail + + # def self.from_omniauth(auth, current_user, ip_address, referrer_id = nil) + # authorization = SocialAuthorization.where(:provider => auth.provider, :uid => auth.uid.to_s).first_or_initialize + # if authorization.account.blank? + # account = current_user.nil? ? Account.where(email: auth["info"]["email"]).first : current_user + # if account.blank? + # account = Account.new + # account.ip_address = ip_address + # account.password = @password = Devise.friendly_token[0, 10] + # account.email = auth.info.email + # account.referrer_id = referrer_id + # # account.confirmed_at = Time.now + # account.save + # end + # authorization.username = auth.info.name + # authorization.account = account + # authorization.save + # end + # authorization.account + # end + + def caption + email + end + + # def send_welcome_mail + # if current_sign_in_ip.present? + # Thread.new do + # FrontMailer.welcome(self).deliver_now + # end + # end + # end + +end diff --git a/app/models/administrator.rb b/app/models/administrator.rb new file mode 100644 index 0000000..659ca76 --- /dev/null +++ b/app/models/administrator.rb @@ -0,0 +1,3 @@ +class Administrator < ActiveRecord::Base + include Accounted +end diff --git a/app/models/block.rb b/app/models/block.rb new file mode 100644 index 0000000..1175c8a --- /dev/null +++ b/app/models/block.rb @@ -0,0 +1,84 @@ +class Block < ActiveRecord::Base + belongs_to :block_version + validates :block_version, presence: true + + attr_translatable :text + + scope :by_key, -> (key) { where(key: key) } + scope :active, -> { joins(:block_version).where('block_versions.active' => true) } + + def self.last(key, default_text = nil) + block = Block.active.by_key(key).last + block = Block.new(key: key, text: default_text) if block.nil? + block.prepare + end + + def self.last_for_admin(key, admin, default_text = nil) + block = Block.by_key(key).joins(:block_version). + where('block_versions.active=? or block_versions.account_id=?', true, admin).last + + if block.nil? + block_version = BlockVersion.where(account: admin).last + if block_version.nil? or block_version.active? + block_version = BlockVersion.create(account: admin, active: false) + end + block = Block.new(key: key, block_version: block_version, text: default_text) + end + + block.prepare + end + + def prepare + @text = text.present? ? text : key.to_s.humanize + @tag = :div + @tag_options = [] + @tag_class = "block block_key_#{key}" + self + end + + def apply_options(options) + if options.is_a? Hash + options.each_pair do |key, value| + if key.to_sym == :class + apply_class_options value + elsif key.to_sym == :tag + @tag = value.to_sym + else + @tag_options.append "#{key}='#{value}'" + end + end + else + apply_class_options options + end + self + end + + def apply_class_options(options) + if options.is_a? Array + @tag_class += ' ' + options.join(' ') + elsif options.present? + @tag_class += ' ' + options.to_s + end + end + + def html + @tag_options.append "class='#{@tag_class}'" + @tag_options.append 'data-container' if tag_container? + + "<#{@tag} #{@tag_options.join(' ')}>#{tag_container? ? html_text : plain_text}</#{@tag}>".html_safe + end + + def html_text + (text || @text).html_safe + end + + def plain_text + ActionView::Base.full_sanitizer.sanitize(text || @text) + end + + private + def tag_container? + @tag != :p && @tag != :span + end + +end diff --git a/app/models/block_version.rb b/app/models/block_version.rb new file mode 100644 index 0000000..d1ba863 --- /dev/null +++ b/app/models/block_version.rb @@ -0,0 +1,13 @@ +class BlockVersion < ActiveRecord::Base + has_many :blocks, dependent: :destroy + belongs_to :account, class_name: Rails.configuration.x.active_translation.admin_class_name || 'Account' + validates :account, presence: true + + scope :active, -> { where(active: true) } + scope :inactive, -> { where(active: [false, nil]) } + scope :by_admin, -> (admin) { where(account: admin) } + + def activate + update_attributes(active: true) + end +end diff --git a/app/models/ckeditor/asset.rb b/app/models/ckeditor/asset.rb new file mode 100644 index 0000000..2476743 --- /dev/null +++ b/app/models/ckeditor/asset.rb @@ -0,0 +1,7 @@ +class Ckeditor::Asset < ActiveRecord::Base + include Ckeditor::Orm::ActiveRecord::AssetBase + + delegate :url, :current_path, :content_type, :to => :data + + validates_presence_of :data +end diff --git a/app/models/ckeditor/attachment_file.rb b/app/models/ckeditor/attachment_file.rb new file mode 100644 index 0000000..43a3872 --- /dev/null +++ b/app/models/ckeditor/attachment_file.rb @@ -0,0 +1,7 @@ +class Ckeditor::AttachmentFile < Ckeditor::Asset + mount_uploader :data, CkeditorAttachmentFileUploader, :mount_on => :data_file_name + + def url_thumb + @url_thumb ||= Ckeditor::Utils.filethumb(filename) + end +end diff --git a/app/models/ckeditor/picture.rb b/app/models/ckeditor/picture.rb new file mode 100644 index 0000000..74f6da4 --- /dev/null +++ b/app/models/ckeditor/picture.rb @@ -0,0 +1,7 @@ +class Ckeditor::Picture < Ckeditor::Asset + mount_uploader :data, CkeditorPictureUploader, :mount_on => :data_file_name + + def url_content + url(:content) + end +end diff --git a/app/models/concerns/.keep b/app/models/concerns/.keep new file mode 100644 index 0000000..e69de29 diff --git a/app/models/concerns/accounted.rb b/app/models/concerns/accounted.rb new file mode 100644 index 0000000..d41f349 --- /dev/null +++ b/app/models/concerns/accounted.rb @@ -0,0 +1,10 @@ +module Accounted + extend ActiveSupport::Concern + + included do + validates :account, presence: true + scope :by_account, ->(account) { where("#{self.table_name}.account_id = ?", account.id) } + belongs_to :account + end + +end \ No newline at end of file diff --git a/app/models/newsletter.rb b/app/models/newsletter.rb new file mode 100644 index 0000000..ceaf972 --- /dev/null +++ b/app/models/newsletter.rb @@ -0,0 +1,5 @@ +class Newsletter < ActiveRecord::Base + def text_for_request(request) + text.gsub(/src\s*=\s*"\s*\//, 'src="' + request.protocol + request.host_with_port + '/') + end +end diff --git a/app/models/page.rb b/app/models/page.rb new file mode 100644 index 0000000..962b5d8 --- /dev/null +++ b/app/models/page.rb @@ -0,0 +1,39 @@ +class Page < ActiveRecord::Base + acts_as_list + + attr_translatable! :title + attr_translatable :body, :description + + default_scope { order(:position) } + + scope :active, -> { where(enabled: true) } + scope :pages, -> { where(mode: :page) } + scope :anchors, -> { where(mode: :anchor) } + + def path + link + end + + def path=(value) + self.link = value + end + + def url + url_id || id + end + + def self.modes + %w(path link page anchor) + end + + def self.links + { + main: :root_path, + contact_us: :contact_us_path + } + end + + def self.find_by_url(url_id) + Page.find_by(url_id: url_id) || Page.find_by(id: url_id) + end +end diff --git a/app/models/phrase.rb b/app/models/phrase.rb new file mode 100644 index 0000000..12d77e8 --- /dev/null +++ b/app/models/phrase.rb @@ -0,0 +1,126 @@ +class Phrase < ActiveRecord::Base + has_many :translations, dependent: :destroy + has_many :phrase_containers + + accepts_nested_attributes_for :translations + + after_create :create_translations + after_save :update_translations + + def text(*args) + set_params_by_args *args + value = nil + if texts_cache.has_key? @locale + value = texts_cache[@locale] + else + translation = get_translation + value = translation.text if translation + end + + if value.blank? and @seek_closest_locale + translation = get_closest_translation + if translation and translation.text.present? + if translation.locale == @locale + value = texts_cache[@locale] = translation.text + else + value = @show_symbol ? "#{translation.locale.upcase}: #{translation.text}" : translation.text + end + end + end + + @locale = nil + value + end + + def text=(text) + set_params_by_args + translation = get_or_build_translation + translation.text = text + changed_translations[@locale] = translation + texts_cache[@locale] = text + @locale = nil + end + + def texts_cache + @texts ||= {} + end + + def reload + texts_cache.clear + super + end + + def update_translations + changed_translations.values.each &:save + changed_translations.clear + end + + def locale=(locale) + @locale = locale.to_s + end + + def get_closest_translation + if changed_translations.empty? + translations.not_blank.localed(@locale).first + # translations.localed(@locale).first + else + all_translations = changed_translations.clone + translations.each do |t| + if all_translations[t.locale].blank? and t.text.present? + all_translations[t.locale] = t + end + # all_translations[t.locale] = t unless all_translations.has_key?(t.locale) + end + closest_locales_for(@locale).each do |l| + return all_translations[l] if all_translations[l] and all_translations[l].text.present? + end + nil + end + end + + def empty? + any_translation = get_any_translation + any_translation.nil? or not any_translation.text.present? + end + + def completed? + (locales - translations.map(&:locale)).empty? + end + + def get_translation(locale = nil) + locale ||= @locale + changed_translations[locale] || translations.find_by(locale: locale) + end + + private + + def set_params_by_args(*args) + if args && args[0] && (args[0].is_a? Hash) + @locale = args[0][:locale].to_s if args[0].has_key? :locale + @show_symbol = args[0][:symbol] if args[0].has_key? :symbol + end + @seek_closest_locale = @locale.nil? + @locale ||= I18n.locale.to_s + end + + def closest_locales_for(locale) + ([locale] + (locales - [locale])) + end + + def get_or_build_translation + get_translation || translations.build(locale: @locale) + end + + def get_any_translation + changed_translations.values.first || (translations.where.not(text: ['', nil]).first unless new_record?) + end + + def create_translations + changed_translations.values.each { |t| t.update phrase_id: id } + changed_translations.clear + end + + def changed_translations + @changed_translations ||= {} + end +end diff --git a/app/models/phrase_container.rb b/app/models/phrase_container.rb new file mode 100644 index 0000000..fff68e6 --- /dev/null +++ b/app/models/phrase_container.rb @@ -0,0 +1,115 @@ +class PhraseContainer < ActiveRecord::Base + belongs_to :phrase + belongs_to :translatable, polymorphic: true + + validates :translatable, presence: true + + scope :for, ->(translatable, attribute_name) { where(translatable: translatable, attribute_name: attribute_name) } + + before_save do + phrase.save + end + + before_destroy do + if phrase.present? && phrase.phrase_containers.count == 1 + phrase.destroy + end + end + + def empty? + phrase.nil? || phrase.empty? + end + + def text(*args) + value = phrase.text(*args) + @locale = nil + value + end + + def text=(text) + @locale ||= I18n.locale.to_s + if phrase.nil? + # build_phrase(locale: @locale, text: text) unless set_phrase_by_translation(text) + build_phrase(locale: @locale, text: text) + else + change_phrase(text) + end + @locale = nil + end + + def locale=(locale) + @locale = locale.to_s + end + + private + + # def set_phrase_by_translation(text) + # translation = Translation.by_locale(@locale).where.not(phrase_id: nil).find_by(text: text) + # if translation + # self.phrase = translation.phrase + # true + # else + # false + # end + # end + + def change_phrase(text) + # if phrase.phrase_containers.count < 2 || phrase.get_translation(@locale).nil? + phrase.locale, phrase.text = @locale, text + # else + # suitable_phrase = find_best_suitable_phrase(text) + # if suitable_phrase.present? + # take_new_phrase(suitable_phrase) + # else + # build_new_phrase(text) + # end + # end + end + + # def find_best_suitable_phrase(text) + # max_translations_found = 0 + # best_suitable_phrase = nil + # Translation.by_locale(@locale).where.not(phrase_id: nil, text:['', nil]).where(text: text).each do |some_translation| + # some_phrase = some_translation.phrase + # current_translations_count = 0 + # (locales - [@locale]).each do |locale| + # t = phrase.get_translation(locale) + # if t and t.text.present? + # current_translations_count += some_phrase.translations.find_by(text: t.text, locale: t.locale).present? ? 1:-1 + # end + # end + # if current_translations_count > max_translations_found + # best_suitable_phrase = some_phrase + # max_translations_found = current_translations_count + # end + # end + # best_suitable_phrase + # end + + # def take_new_phrase(new_phrase) + # locales.each do |locale| + # t = phrase.get_translation(locale) + # if t and new_phrase.translations.where.not(text: ['', nil]).find_by(locale: t.locale).nil? + # new_phrase.locale = locale + # new_phrase.text = t.text + # end + # end + # self.phrase = new_phrase + # end + + # def build_new_phrase(text) + # old_phrase = phrase + # build_phrase + # locales.each do |locale| + # phrase.locale = locale + # if @locale == locale + # phrase.text = text + # else + # t = old_phrase.get_translation(locale) + # phrase.text = t.text if t and t.text.present? + # end + # end + # phrase + # end + +end diff --git a/app/models/setting.rb b/app/models/setting.rb new file mode 100644 index 0000000..061d6a8 --- /dev/null +++ b/app/models/setting.rb @@ -0,0 +1,58 @@ +# noinspection RubyClassVariableUsageInspection +class Setting < ActiveRecord::Base + validates :name, presence: true, uniqueness: true + validates :value, presence: true + + before_update :reset_setting_variable + + default_scope { order :name } + + DEFAULTS = { + site_name: 'Personal site', + title: 'Personal site', + description: 'Site of your dreams.', + keywords: 'site, personal site, own site', + gse_id: '007392588842326689376:3onw-lza4mc', + google_analytics_id: 'UA-63039804-12' + } + + def self.init + DEFAULTS.keys.each { |name| get(name) } + self + end + + def self.get(name) + setting = find_or_initialize_by(name: name) + setting.update(value: DEFAULTS[name.to_sym]) if setting.new_record? + setting.value + end + + def self.site_name + @@site_name ||= get(:site_name) + end + + def self.title + @@title ||= get(:title) + end + + def self.description + @@description ||= get(:description) + end + + def self.keywords + @@keywords ||= get(:keywords) + end + + def self.gse_id + @@gse_id ||= get(:gse_id) + end + + def self.google_analytics_id + @@google_analytics_id ||= get(:google_analytics_id) + end + + private + def reset_setting_variable + self.class.class_variable_set "@@#{name}", nil + end +end diff --git a/app/models/translation.rb b/app/models/translation.rb new file mode 100644 index 0000000..792c955 --- /dev/null +++ b/app/models/translation.rb @@ -0,0 +1,26 @@ +class Translation < ActiveRecord::Base + belongs_to :phrase + + validates :phrase, presence: true, unless: :new_record? + + scope :by_locale, ->(*locale) { where(locale: (locale.nil? || locale.compact.join.empty?) ? I18n.locale : locale) } + scope :with_phrase_containers, -> { joins(phrase: :phrase_containers) } + scope :for, ->(translatable, attribute_name) do + with_phrase_containers.merge(PhraseContainer.for(translatable, attribute_name)) + end + + scope :localed, ->(*locale) do + if locale.nil? + locale = [I18n.locale.to_s] + elsif locale.is_a? Array + locale = locale.compact.join.empty? ? [I18n.locale.to_s] : locale.compact.map(&:to_s) + else + locale = [locale.to_s] + end + ordered_locales = locale + (locales - locale) + order(ordered_locales.map { |l| "`translations`.`locale` = '#{l}' DESC" }.join(', ')) + end + + scope :not_blank, -> { where.not(text: [nil, '']) } + +end diff --git a/app/uploaders/ckeditor_attachment_file_uploader.rb b/app/uploaders/ckeditor_attachment_file_uploader.rb new file mode 100644 index 0000000..f4041f4 --- /dev/null +++ b/app/uploaders/ckeditor_attachment_file_uploader.rb @@ -0,0 +1,36 @@ +# encoding: utf-8 +class CkeditorAttachmentFileUploader < CarrierWave::Uploader::Base + include Ckeditor::Backend::CarrierWave + + # Include RMagick or ImageScience support: + # include CarrierWave::RMagick + # include CarrierWave::MiniMagick + # include CarrierWave::ImageScience + + # Choose what kind of storage to use for this uploader: + storage :file + + # Override the directory where uploaded files will be stored. + # This is a sensible default for uploaders that are meant to be mounted: + def store_dir + "uploads/ckeditor/attachments/#{model.id}" + end + + # Provide a default URL as a default if there hasn't been a file uploaded: + # def default_url + # "/images/fallback/" + [version_name, "default.png"].compact.join('_') + # end + + # Process files as they are uploaded: + # process :scale => [200, 300] + # + # def scale(width, height) + # # do something + # end + + # Add a white list of extensions which are allowed to be uploaded. + # For images you might use something like this: + def extension_white_list + Ckeditor.attachment_file_types + end +end diff --git a/app/uploaders/ckeditor_picture_uploader.rb b/app/uploaders/ckeditor_picture_uploader.rb new file mode 100644 index 0000000..46c8d7b --- /dev/null +++ b/app/uploaders/ckeditor_picture_uploader.rb @@ -0,0 +1,47 @@ +# encoding: utf-8 +class CkeditorPictureUploader < CarrierWave::Uploader::Base + include Ckeditor::Backend::CarrierWave + + # Include RMagick or ImageScience support: + # include CarrierWave::RMagick + include CarrierWave::MiniMagick + # include CarrierWave::ImageScience + + # Choose what kind of storage to use for this uploader: + storage :file + + # Override the directory where uploaded files will be stored. + # This is a sensible default for uploaders that are meant to be mounted: + def store_dir + "uploads/ckeditor/pictures/#{model.id}" + end + + # Provide a default URL as a default if there hasn't been a file uploaded: + # def default_url + # "/images/fallback/" + [version_name, "default.png"].compact.join('_') + # end + + # Process files as they are uploaded: + # process :scale => [200, 300] + # + # def scale(width, height) + # # do something + # end + + process :read_dimensions + + # Create different versions of your uploaded files: + version :thumb do + process :resize_to_fill => [118, 100] + end + + version :content do + process :resize_to_limit => [800, 800] + end + + # Add a white list of extensions which are allowed to be uploaded. + # For images you might use something like this: + def extension_white_list + Ckeditor.image_file_types + end +end diff --git a/app/uploaders/image_uploader.rb b/app/uploaders/image_uploader.rb new file mode 100644 index 0000000..e7a6d0e --- /dev/null +++ b/app/uploaders/image_uploader.rb @@ -0,0 +1,55 @@ +# encoding: utf-8 + +class ImageUploader < CarrierWave::Uploader::Base + + # Include RMagick or MiniMagick support: + # include CarrierWave::RMagick + include CarrierWave::MiniMagick + + # Choose what kind of storage to use for this uploader: + storage :file + # storage :fog + + # Override the directory where uploaded files will be stored. + # This is a sensible default for uploaders that are meant to be mounted: + def store_dir + "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}" + end + + # Provide a default URL as a default if there hasn't been a file uploaded: + # def default_url + # # For Rails 3.1+ asset pipeline compatibility: + # # ActionController::Base.helpers.asset_path("fallback/" + [version_name, "default.png"].compact.join('_')) + # + # "/images/fallback/" + [version_name, "default.png"].compact.join('_') + # end + + # Process files as they are uploaded: + process :resize_to_limit => [800, 800] + # + # def scale(width, height) + # # do something + # end + + # Create different versions of your uploaded files: + version :thumb do + process :resize_to_fit => [128, 128] + end + + version :small_thumb, from_version: :thumb do + process resize_to_fill: [32, 32] + end + + # Add a white list of extensions which are allowed to be uploaded. + # For images you might use something like this: + # def extension_white_list + # %w(jpg jpeg gif png) + # end + + # Override the filename of the uploaded files: + # Avoid using model.id or version_name here, see uploader/store.rb for details. + # def filename + # "something.jpg" if original_filename + # end + +end diff --git a/app/views/accounts/_form.html.haml b/app/views/accounts/_form.html.haml new file mode 100644 index 0000000..6681745 --- /dev/null +++ b/app/views/accounts/_form.html.haml @@ -0,0 +1,9 @@ += simple_form_for @account, :html => { :class => 'form-horizontal' } do |f| + = f.input :email + = f.input :password, label: 'Password (put only if want to change)' + = f.input :password_confirmation + = f.input :subscribed + = f.input :on_hold + + = f.button :submit, :class => 'btn-primary' + = link_to t('.cancel', :default => t("helpers.links.cancel")), accounts_path, :class => 'btn btn-default' diff --git a/app/views/accounts/edit.html.haml b/app/views/accounts/edit.html.haml new file mode 100644 index 0000000..22a1d96 --- /dev/null +++ b/app/views/accounts/edit.html.haml @@ -0,0 +1,4 @@ +- model_class = Account +.page-header + %h1=t '.title', :default => [:'helpers.titles.edit', 'Edit %{model}'], :model => model_class.model_name.human.titleize += render :partial => "form" diff --git a/app/views/accounts/index.html.haml b/app/views/accounts/index.html.haml new file mode 100644 index 0000000..caa39c7 --- /dev/null +++ b/app/views/accounts/index.html.haml @@ -0,0 +1,34 @@ +- model_class = Account +.page-header + %h1 + = model_class.model_name.human(count: 2) + .pull-right + = link_to 'Newsletter', new_newsletter_path(params), class: 'btn btn-default' +.filtered_pagination + = will_paginate @accounts + - params = @tabular_filter.condition.present? ? {newsletter: {recipient_filter: @tabular_filter.condition}} : nil +%table.table.table-striped.filtered_table + %thead + %tr + %th= model_class.human_attribute_name(:email) + %th= model_class.human_attribute_name(:subscribed) + %th= model_class.human_attribute_name(:on_hold) + %th= model_class.human_attribute_name(:created_at) + %th= t 'helpers.actions' + = tabular_filter.row_helper ['email', {subscribed: :bool}, {on_hold: :bool}, '-', '-'] do + -link_to '?', class: 'btn btn-default btn-xs' do + %i.fa.fa-close + %tbody + - @accounts.each do |account| + %tr + %td= link_to account.email, account_path(account) + %td= account.subscribed + %td= account.on_hold + %td=localize_datetime account.created_at + %td.actions + = link_to edit_account_path(account), title: 'Edit', class: 'btn btn-default btn-xs' do + %i.fa.fa-edit + = link_to account_path(account), method: :delete, data: {confirm: 'Are you sure?'}, title: 'Destroy', + class: 'btn btn-xs btn-danger' do + %i.fa.fa-trash + diff --git a/app/views/accounts/new.html.haml b/app/views/accounts/new.html.haml new file mode 100644 index 0000000..1741592 --- /dev/null +++ b/app/views/accounts/new.html.haml @@ -0,0 +1,4 @@ +- model_class = Account +.page-header + %h1=t '.title', :default => [:'helpers.titles.new', 'New %{model}'], :model => model_class.model_name.human.titleize += render :partial => "form" diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml new file mode 100644 index 0000000..4affeae --- /dev/null +++ b/app/views/accounts/show.html.haml @@ -0,0 +1,39 @@ +- model_class = Account +.page-header + %h1=model_class.model_name.human.titleize + +%p + %strong= model_class.human_attribute_name(:email) + ':' + = @account.email +%p + %strong= model_class.human_attribute_name(:updated_at) + ':' + = @account.updated_at +%p + %strong= model_class.human_attribute_name(:subscribed) + ':' + = @account.subscribed +%p + %strong= model_class.human_attribute_name(:on_hold) + ':' + = @account.on_hold +%p + %strong= model_class.human_attribute_name(:reset_password_token) + ':' + = @account.reset_password_token +%p + %strong= model_class.human_attribute_name(:reset_password_sent_at) + ':' + = @account.reset_password_sent_at +%p + %strong= model_class.human_attribute_name(:current_sign_in_at) + ':' + = @account.current_sign_in_at +%p + %strong= model_class.human_attribute_name(:last_sign_in_at) + ':' + = @account.last_sign_in_at +%p + %strong= model_class.human_attribute_name(:current_sign_in_ip) + ':' + = @account.current_sign_in_ip +%p + %strong= model_class.human_attribute_name(:last_sign_in_ip) + ':' + = @account.last_sign_in_ip + +%br += link_to t('.back', :default => t("helpers.links.back")), accounts_path, :class => 'btn btn-default' += link_to t('.edit', :default => t("helpers.links.edit")), edit_account_path(@account), :class => 'btn btn-default' += link_to t('.destroy', :default => t("helpers.links.destroy")), account_path(@account), :method => "delete", :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-danger' diff --git a/app/views/active_translation/_localed_inputs.html.haml b/app/views/active_translation/_localed_inputs.html.haml new file mode 100644 index 0000000..2c4e14f --- /dev/null +++ b/app/views/active_translation/_localed_inputs.html.haml @@ -0,0 +1,17 @@ +.row + .col-sm-12.col-xs-12 + %div{class: ('tab-content' if locales.count > 1)} + -locales.each do |locale| + .tab-pane{class: ["#{locale}_tab", locale == I18n.locale.to_s ? 'active' : nil].compact.join(' ')} + -attributes.each do |input_type, attribute_names| + -attribute_names = [attribute_names] unless attribute_names.is_a?(Array) + -attribute_names.each do |attribute_name| + %div{class: "localized_#{attribute_name}"} + -if input_type.to_s == 'cktext_area' + %br + =f.cktext_area "#{attribute_name}_#{locale}", ckeditor: {language: I18n.locale} + =f.error "#{attribute_name}_#{locale}" + -elsif input_type.to_s == 'text_area' + =f.input "#{attribute_name}_#{locale}", as: :text, input_html: {rows: 4}, label: t("attributes.#{attribute_name}") + -else + =f.send(input_type.to_sym, "#{attribute_name}_#{locale}".to_sym, label: t("attributes.#{attribute_name}")) diff --git a/app/views/active_translation/_localed_tabs.html.haml b/app/views/active_translation/_localed_tabs.html.haml new file mode 100644 index 0000000..255e937 --- /dev/null +++ b/app/views/active_translation/_localed_tabs.html.haml @@ -0,0 +1,7 @@ +.row + .col-sm-12.col-xs-12 + -if locales.count > 1 + %ul.nav.nav-tabs + -locales.each do |locale| + %li{class: ('active' if locale == I18n.locale.to_s)} + %a{data: {toggle: 'tab'}, href: ".#{locale}_tab"}= t("locale.#{locale}") diff --git a/app/views/active_translation/_localed_tabs_and_inputs.html.haml b/app/views/active_translation/_localed_tabs_and_inputs.html.haml new file mode 100644 index 0000000..51aaf22 --- /dev/null +++ b/app/views/active_translation/_localed_tabs_and_inputs.html.haml @@ -0,0 +1,2 @@ +=render 'active_translation/localed_tabs' +=render 'active_translation/localed_inputs', f: f, attributes: attributes diff --git a/app/views/admin/index.html.haml b/app/views/admin/index.html.haml new file mode 100644 index 0000000..59e6820 --- /dev/null +++ b/app/views/admin/index.html.haml @@ -0,0 +1,3 @@ +.row + .col-xs-12.text-center + = t('activerecord.attributes.page.links.admin_area') \ No newline at end of file diff --git a/app/views/blocks/_blocks_controls.html.haml b/app/views/blocks/_blocks_controls.html.haml new file mode 100644 index 0000000..323a26c --- /dev/null +++ b/app/views/blocks/_blocks_controls.html.haml @@ -0,0 +1,6 @@ +#blocks_controls{style: ('display: none;' unless blocks_changed?)} + %span.caption= t('blocks.apply_changes') + = link_to blocks_apply_path, method: :post, class: 'apply', title: 'Apply blocks changes' do + %i.fa.fa-2x.fa-check-circle-o + = link_to blocks_cancel_path, method: :post, class: 'cancel', title: 'Cancel blocks changes' do + %i.fa.fa-2x.fa-times-circle-o \ No newline at end of file diff --git a/app/views/blocks/edit.html.haml b/app/views/blocks/edit.html.haml new file mode 100644 index 0000000..52be2b1 --- /dev/null +++ b/app/views/blocks/edit.html.haml @@ -0,0 +1,4 @@ += simple_form_for @block, url: update_block_path(@block.key), method: :patch, remote: true, html: { class: 'form-horizontal' } do |f| + = render 'active_translation/localed_tabs_and_inputs', f: f, attributes: {text_area: :text} + = link_to t('helpers.links.ok'), '#', class: 'btn btn-primary', id: :apply_block_editing + = link_to t('helpers.links.cancel'), '#', class: 'btn btn-default', id: :cancel_block_editing diff --git a/app/views/blocks/update.js.erb b/app/views/blocks/update.js.erb new file mode 100644 index 0000000..5aa1718 --- /dev/null +++ b/app/views/blocks/update.js.erb @@ -0,0 +1,11 @@ +$(".block.block_key_<%=j @block.key %>").each(function() { + $block = $(this); + $block.html($block.data('container') != undefined ? "<%=j @block.html_text %>" : "<%=j @block.plain_text %>"); +}); + +$controls = $('#blocks_controls'); +<% if blocks_changed? %> + $controls.show(); +<% else %> + $controls.hide(); +<% end %> diff --git a/app/views/front/index.html.haml b/app/views/front/index.html.haml new file mode 100644 index 0000000..f90ed3f --- /dev/null +++ b/app/views/front/index.html.haml @@ -0,0 +1,10 @@ +-@pages.each do |page| + .anchor{id: "page_#{page.url}"} + .container + .row + .col-xs-12.text-center + %h2= page.title + .container + .row + .col-xs-12 + = page.body.html_safe diff --git a/app/views/front/page.html.haml b/app/views/front/page.html.haml new file mode 100644 index 0000000..84e8e04 --- /dev/null +++ b/app/views/front/page.html.haml @@ -0,0 +1,6 @@ +-title(@page.title) + +#page + .row + .col-lg-12 + =@page.body.to_s.html_safe \ No newline at end of file diff --git a/app/views/layouts/_front_meta.html.haml b/app/views/layouts/_front_meta.html.haml new file mode 100644 index 0000000..ee95128 --- /dev/null +++ b/app/views/layouts/_front_meta.html.haml @@ -0,0 +1,28 @@ +%meta(charset="utf-8") +%meta(http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1") + +%title= content_for?(:title) ? yield(:title) : Setting.title +%meta{name: 'description', content: content_for?(:description) ? yield(:description) : Setting.description} +%meta{name: 'keywords', content: content_for?(:keywords) ? yield(:keywords) : Setting.keywords } +%meta{property: 'og:site_name', content: Setting.site_name } +%meta{property: 'og:title', content: content_for?(:title) ? yield(:title) : Setting.title } +%meta{property: 'og:description', content: content_for?(:description) ? yield(:description) : Setting.description } +%meta{property: 'og:type', content: content_for?(:og_type) ? yield(:og_type) : 'website' } +%meta{property: 'og:url', content: content_for?(:og_url) ? yield(:og_url) : request.original_url } +%meta{property: 'og:image', content: content_for?(:og_image) ? yield(:og_image) : image_url('logo.png') } + += favicon_link_tag 'apple-touch-icon-144x144-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '144x144' += favicon_link_tag 'apple-touch-icon-114x114-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '114x114' += favicon_link_tag 'apple-touch-icon-72x72-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '72x72' += favicon_link_tag 'apple-touch-icon-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png' += favicon_link_tag '/favicon.png', :rel => 'shortcut icon' += csrf_meta_tags + +-if Rails.env.production? && Setting.google_analytics_id + :javascript + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + ga('create', "#{Setting.google_analytics_id}", 'auto'); + ga('send', 'pageview'); \ No newline at end of file diff --git a/app/views/layouts/_language_selector.html.haml b/app/views/layouts/_language_selector.html.haml new file mode 100644 index 0000000..b9606c8 --- /dev/null +++ b/app/views/layouts/_language_selector.html.haml @@ -0,0 +1,10 @@ +- if locales.count > 1 + %li.navbar-btn.dropdown#language_selector + %button.btn.btn-default.btn-sm.style_lang.dropdown-toggle(id="language_selector" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false") + = t("locale.#{I18n.locale}") + %b.caret + %ul.dropdown-menu.pull-right(aria-labelledby="language_selector") + -locales.each do |locale| + %li{class: ('active' if I18n.locale == locale.to_sym)}= link_to t("locale.#{locale}"), + current_url_for_locale(locale), data: { no_turbolink: true } + diff --git a/app/views/layouts/_menu.html.haml b/app/views/layouts/_menu.html.haml new file mode 100644 index 0000000..b8114f0 --- /dev/null +++ b/app/views/layouts/_menu.html.haml @@ -0,0 +1,4 @@ +.nav_menu + -Page.active.each do |page| + .navbar-btn{class: (:active if current_page? page_url_for(page))} + = link_to_page page diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml new file mode 100644 index 0000000..5834c6c --- /dev/null +++ b/app/views/layouts/admin.html.haml @@ -0,0 +1,67 @@ +!!! 5 +%html{lang: I18n.locale} + %head + %meta(charset="utf-8") + %meta(http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1") + %meta(name="viewport" content="width=device-width, initial-scale=1.0") + %title= content_for?(:title) ? yield(:title) : 'Admin area' + = csrf_meta_tags + / Le HTML5 shim, for IE6-8 support of HTML elements + /[if lt IE 9] + = javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" + = stylesheet_link_tag 'shared', :media => "all" + = stylesheet_link_tag 'admin', :media => "all" + = favicon_link_tag 'apple-touch-icon-144x144-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '144x144' + = favicon_link_tag 'apple-touch-icon-114x114-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '114x114' + = favicon_link_tag 'apple-touch-icon-72x72-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '72x72' + = favicon_link_tag 'apple-touch-icon-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png' + = favicon_link_tag '/favicon.png', :rel => 'shortcut icon' + = javascript_include_tag 'shared' + = javascript_include_tag 'ckeditor/init' + = javascript_include_tag 'admin' + + + %body.admin-body + .navbar.navbar-default.navbar-fixed-top + .container-fluid + %button.navbar-toggle(type="button" data-toggle="collapse" data-target=".navbar-responsive-collapse") + %span.icon-bar + %span.icon-bar + %span.icon-bar + %a.navbar-brand(href="#{admin_path}" data-no-turbolink)= t('activerecord.attributes.page.links.admin_root') + %a.navbar-brand > + -#%a.navbar-brand#current_admin_path(href="#{admin_path}") Admin root + = current_admin_path.html_safe + + .navbar-collapse.collapse.navbar-responsive-collapse.navbar-right + %ul.nav.navbar-nav + %li.navbar-text= t('helpers.titles.logged_in_as') + %li.navbar-btn.dropdown + %button.btn.btn-default.btn-sm.dropdown-toggle(id="sign_in_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false") + = current_account.email + %b.caret + %ul.dropdown-menu.dropdown-menu-right(aria-labelledby="sign_in_menu") + %li= link_to t('helpers.links.change_password'), edit_account_registration_path, data: { no_turbolink: true } + %li= link_to t('helpers.links.sign_out'), destroy_account_session_path, method: :delete + + =render 'layouts/language_selector' + + .container-fluid.yield-container + .row + .col-xs-0 + #links_panel + .well.sidebar-nav + %ul.nav.nav-list + %li{class: (:selected if params['controller'] == 'admin' && params['action'] == 'index')}= link_to t('activerecord.attributes.page.links.admin_area'), admin_index_path + %li{class: (:selected if controller.is_a? AccountsController)}= link_to t('activerecord.models.account.few'), accounts_path + %li{class: (:selected if controller.is_a? PagesController)}= link_to t('activerecord.models.page.few'), pages_path + %li{class: (:selected if controller.is_a? NewslettersController)}= link_to t('activerecord.models.newsletter.few'), newsletters_path + %li{class: (:selected if controller.is_a? SettingsController)}= link_to t('activerecord.models.setting.few'), settings_path + %li= link_to t('helpers.links.front'), root_path, target: :_blank + .handle + %i.fa.fa-chevron-circle-right.fa-2x + .col-xs-12.yield-column + = bootstrap_flash + = yield + %footer + %p © SPS Company 2016 diff --git a/app/views/layouts/front.html.haml b/app/views/layouts/front.html.haml new file mode 100644 index 0000000..e6fb9a7 --- /dev/null +++ b/app/views/layouts/front.html.haml @@ -0,0 +1,51 @@ +!!! 5 +%html{lang: I18n.locale} + %head + = render 'layouts/front_meta' + %meta(name="viewport" content="width=device-width, initial-scale=1.0") + %script{:src => "http://maps.googleapis.com/maps/api/js?key=AIzaSyDY0kkJiTPVd2U7aTOAwhc9ySH6oHxOIYM"} + / Le HTML5 shim, for IE6-8 support of HTML elements + /[if lt IE 9] + = javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js' + + = stylesheet_link_tag 'shared', :media => "all" + = stylesheet_link_tag 'front', :media => "all" + = javascript_include_tag 'shared' + = javascript_include_tag '//imasdk.googleapis.com/js/sdkloader/ima3.js' + = javascript_include_tag 'front' + - if current_account && current_account.administrator + = stylesheet_link_tag 'admin_front', :media => "all" + = javascript_include_tag 'ckeditor/init' + = javascript_include_tag 'admin_front' + %body + .mob_back + %header#landing_header + .info_box + .container + .row + .col-sm-6.col-xs-12.text-center + = block_tag :site_name, tag: :h1 + .col-sm-6.text-right.hidden-xs + .row + .col-sm-6.text-center.info-block + = block_tag :contacts + .col-sm-6.text-center.info-block + = block_tag :summary + + .box_sandwich.visible-xs + .sandwich + .mobile_menu.panel-group + = render 'layouts/menu' + %nav.hidden-xs + = render 'layouts/menu' + %ul.language_box + =render 'layouts/language_selector' + + - if current_account && current_account.administrator + =render 'blocks/blocks_controls' + + #yield_content + = bootstrap_flash + = yield + + =javascript_include_tag "http://cse.google.com/cse.js?cx=#{Setting.gse_id};" if Setting.gse_id.present? diff --git a/app/views/newsletters/_form.html.haml b/app/views/newsletters/_form.html.haml new file mode 100644 index 0000000..ce2f7e8 --- /dev/null +++ b/app/views/newsletters/_form.html.haml @@ -0,0 +1,8 @@ += simple_form_for @newsletter, :html => { :class => 'form-horizontal' } do |f| + = render 'recipients_info', recipient_filter: @newsletter.recipient_filter + = f.input :recipient_filter, as: :hidden + = f.input :subject + = f.cktext_area :text, ckeditor: {language: I18n.locale} + %br + = f.button :submit, :class => 'btn-primary' + = link_to t('.cancel', :default => t("helpers.links.cancel")), newsletters_path, :class => 'btn btn-default' diff --git a/app/views/newsletters/_recipients_info.html.haml b/app/views/newsletters/_recipients_info.html.haml new file mode 100644 index 0000000..8ed6ecd --- /dev/null +++ b/app/views/newsletters/_recipients_info.html.haml @@ -0,0 +1,7 @@ +%p + - if @newsletter.recipient_filter.present? + %strong Recipient filter: + = @newsletter.recipient_filter + %br + %strong Number of recipient: + = Account.where(subscribed: true).where(@newsletter.recipient_filter).count diff --git a/app/views/newsletters/edit.html.haml b/app/views/newsletters/edit.html.haml new file mode 100644 index 0000000..192e40e --- /dev/null +++ b/app/views/newsletters/edit.html.haml @@ -0,0 +1,4 @@ +- model_class = Newsletter +.page-header + %h1=t '.title', :default => [:'helpers.titles.edit', 'Edit %{model}'], :model => model_class.model_name.human.titleize += render :partial => 'form' diff --git a/app/views/newsletters/index.html.haml b/app/views/newsletters/index.html.haml new file mode 100644 index 0000000..9a3ac3f --- /dev/null +++ b/app/views/newsletters/index.html.haml @@ -0,0 +1,28 @@ +- model_class = Newsletter +.page-header + %h1=t '.title', :default => model_class.model_name.human(count: 2) +%table.table.table-striped + %thead + %tr + %th= model_class.human_attribute_name(:id) + %th= model_class.human_attribute_name(:subject) + %th= model_class.human_attribute_name(:text) + %th= model_class.human_attribute_name(:processed_at) + %th= model_class.human_attribute_name(:created_at) + %th=t '.actions', :default => t("helpers.actions") + %tbody + - @newsletters.each do |newsletter| + %tr + %td= link_to newsletter.id, newsletter_path(newsletter) + %td= link_to newsletter.subject, newsletter_path(newsletter) + %td= link_to sanitize(newsletter.text, tags: {}).first(250), newsletter_path(newsletter) + %td= newsletter.processed_at + %td= newsletter.created_at + %td.actions + = link_to edit_newsletter_path(newsletter), title: 'Edit', :class => 'btn btn-default btn-xs' do + %i.fa.fa-edit + = link_to newsletter_path(newsletter), method: :delete, data: {confirm: 'Are you sure?'}, title: 'Destroy', + class: 'btn btn-xs btn-danger' do + %i.fa.fa-trash + += link_to t('.new', :default => t("helpers.links.new")), new_newsletter_path, :class => 'btn btn-primary' diff --git a/app/views/newsletters/new.html.haml b/app/views/newsletters/new.html.haml new file mode 100644 index 0000000..1122144 --- /dev/null +++ b/app/views/newsletters/new.html.haml @@ -0,0 +1,4 @@ +- model_class = Newsletter +.page-header + %h1=t '.title', :default => [:'helpers.titles.new', 'New %{model}'], :model => model_class.model_name.human.titleize += render :partial => "form" diff --git a/app/views/newsletters/sending.html.haml b/app/views/newsletters/sending.html.haml new file mode 100644 index 0000000..9d5373a --- /dev/null +++ b/app/views/newsletters/sending.html.haml @@ -0,0 +1,9 @@ +.page-header + %h1 + Newsletter is sending now, please don't close this page. +.progress.progress-bar-striped.active + #newsletter_progress.progress-bar{'aria-valuemax' => '100', 'aria-valuemin' => '0', 'aria-valuenow' => '0', role: 'progressbar', style: 'width: 0%;'} + +#sending_complete{style: 'display: none;'} + = link_to t('.back', :default => t("helpers.links.back")), newsletters_path, :class => 'btn btn-default' + diff --git a/app/views/newsletters/sending.json.jbuilder b/app/views/newsletters/sending.json.jbuilder new file mode 100644 index 0000000..251c7e2 --- /dev/null +++ b/app/views/newsletters/sending.json.jbuilder @@ -0,0 +1 @@ +json.extract! @newsletter, :id, :last_id, :processed_id diff --git a/app/views/newsletters/show.html.haml b/app/views/newsletters/show.html.haml new file mode 100644 index 0000000..cd02bae --- /dev/null +++ b/app/views/newsletters/show.html.haml @@ -0,0 +1,29 @@ +- model_class = Newsletter +.page-header + %h1=t '.title', :default => model_class.model_name.human.titleize += render 'recipients_info' +%p + %strong= model_class.human_attribute_name(:subject) + ':' + %br + = @newsletter.subject +%p + %strong= model_class.human_attribute_name(:Message) + ':' + %br + = FrontMailer.newsletter(@newsletter.text_for_request(request), [], @newsletter.subject).body.to_s.html_safe +%p + %strong= model_class.human_attribute_name(:processed_at) + ':' + %br + = @newsletter.processed_at + + += link_to t('.back', :default => t("helpers.links.back")), newsletters_path, :class => 'btn btn-default' += link_to t('.edit', :default => t("helpers.links.edit")), edit_newsletter_path(@newsletter), :class => 'btn btn-default' += link_to t('.destroy', :default => t("helpers.links.destroy")), newsletter_path(@newsletter), :method => "delete", :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-danger' + +- if @newsletter.last_id.nil? + = link_to 'Send', send_newsletter_path(@newsletter), :data => { confirm: 'Start sending, are you sure?' }, :class => 'btn btn-danger' +- elsif @newsletter.processed_id < @newsletter.last_id + = link_to 'Continue sending', send_newsletter_path(@newsletter), :class => 'btn btn-danger' + = link_to 'Resend', resend_newsletter_path(@newsletter), :data => { confirm: 'Send again, are you sure?' }, class: 'btn btn-danger' +- else + = link_to 'Resend', resend_newsletter_path(@newsletter), :data => { confirm: 'Send again, are you sure?' }, class: 'btn btn-danger' diff --git a/app/views/pages/_form.html.haml b/app/views/pages/_form.html.haml new file mode 100644 index 0000000..f2768fd --- /dev/null +++ b/app/views/pages/_form.html.haml @@ -0,0 +1,14 @@ += simple_form_for @page, :html => { :class => 'form-horizontal' } do |f| + = render 'active_translation/localed_tabs_and_inputs', f: f, attributes: {input: :title} + = f.input :enabled + = f.input :url_id + = f.input :mode, as: :select, collection: Page.modes.map{|m| [m, m.to_sym]}, include_blank: false + #path_fields + = f.input :path, as: :select, collection: Page.links.keys.map{|k| [k, k]}, include_blank: false + #link_fields + = f.input :link + #page_fields + =render 'active_translation/localed_inputs', f: f, attributes: {cktext_area: :body, input: :description} + = f.input :keywords + = f.button :submit, :class => 'btn-primary' + = link_to t('.cancel', :default => t("helpers.links.cancel")), pages_path, :class => 'btn btn-default' diff --git a/app/views/pages/edit.html.haml b/app/views/pages/edit.html.haml new file mode 100644 index 0000000..40d2f72 --- /dev/null +++ b/app/views/pages/edit.html.haml @@ -0,0 +1,4 @@ +- model_class = Page +.page-header + %h1=t '.title', :default => [:'helpers.titles.edit', 'Edit %{model}'], :model => model_class.model_name.human.titleize += render :partial => "form" diff --git a/app/views/pages/index.html.haml b/app/views/pages/index.html.haml new file mode 100644 index 0000000..be9537e --- /dev/null +++ b/app/views/pages/index.html.haml @@ -0,0 +1,33 @@ +- model_class = Page +.page-header + %h1= model_class.model_name.human(count: 2) +%table.table.table-striped + %thead + %tr + %th + %th= model_class.human_attribute_name(:title) + %th= model_class.human_attribute_name(:mode) + %th= model_class.human_attribute_name(:body) + %th= model_class.human_attribute_name(:url_id) + %th= model_class.human_attribute_name(:enabled) + %th= model_class.human_attribute_name(:created_at) + %th=t 'helpers.actions' + %tbody + - @pages.each do |page| + %tr.sort_item{data: {id: page.id}} + %td.sort_icon + .fa.fa-arrows-v + %td= link_to page.title, page_path(page) + %td= page.mode + %td= truncate_html page.body, 100 + %td= page.url_id + %td= page.enabled + %td=localize_datetime page.created_at + %td.actions + = link_to edit_page_path(page), title: 'Edit', class: 'btn btn-default btn-xs' do + %i.fa.fa-edit + = link_to page_path(page), method: :delete, data: {confirm: 'Are you sure?'}, title: 'Destroy', + class: 'btn btn-xs btn-danger' do + %i.fa.fa-trash + += link_to t('helpers.links.new'), new_page_path, class: 'btn btn-primary' diff --git a/app/views/pages/new.html.haml b/app/views/pages/new.html.haml new file mode 100644 index 0000000..0375b6a --- /dev/null +++ b/app/views/pages/new.html.haml @@ -0,0 +1,4 @@ +- model_class = Page +.page-header + %h1=t '.title', :default => [:'helpers.titles.new', 'New %{model}'], :model => model_class.model_name.human.titleize += render :partial => "form" diff --git a/app/views/pages/show.html.haml b/app/views/pages/show.html.haml new file mode 100644 index 0000000..cdbdaf8 --- /dev/null +++ b/app/views/pages/show.html.haml @@ -0,0 +1,41 @@ +- model_class = Page +.page-header + %h1= model_class.model_name.human.titleize + +%p + %strong= model_class.human_attribute_name(:title) + ':' + = @page.title +%p + %strong= model_class.human_attribute_name(:enabled) + ':' + = @page.enabled +%p + %strong= model_class.human_attribute_name(:url_id) + ':' + = @page.url_id +%p + %strong= model_class.human_attribute_name(:mode) + ':' + = @page.mode +-if @page.mode == 'path' + %p + %strong= model_class.human_attribute_name(:link) + ':' + = link_to @page.link, send(Page.links[@page.link.to_sym]), target: :_blank +-elsif @page.mode == 'link' + %p + %strong= model_class.human_attribute_name(:link) + ':' + = link_to @page.link, @page.link, target: :_blank +-else + %p + %strong= model_class.human_attribute_name(:body) + ':' + %br + = @page.body.to_s.html_safe + %p + %strong= model_class.human_attribute_name(:keywords) + ':' + %br + = @page.keywords + %p + %strong= model_class.human_attribute_name(:description) + ':' + %br + = @page.description + += link_to t('helpers.links.back'), pages_path, :class => 'btn btn-default' += link_to t('helpers.links.edit'), edit_page_path(@page), class: 'btn btn-default' += link_to t('helpers.links.destroy'), page_path(@page), method: 'delete', data: { confirm: t('helpers.links.confirm') }, class: 'btn btn-danger' diff --git a/app/views/settings/index.html.haml b/app/views/settings/index.html.haml new file mode 100644 index 0000000..487f872 --- /dev/null +++ b/app/views/settings/index.html.haml @@ -0,0 +1,19 @@ +- model_class = Setting +.page-header + %h1=t '.title', :default => model_class.model_name.human(count: 2) +%table.table.table-striped.editable_rows{'data-resource' => model_class.name.underscore} + %thead + %tr + %th= model_class.human_attribute_name(:updated_at) + %th= model_class.human_attribute_name(:name) + %th= model_class.human_attribute_name(:value) + %th=t '.actions', :default => t("helpers.actions") + %tbody + - @settings.each do |setting| + %tr{'data-id' => setting.id} + %td=localize_datetime setting.updated_at + %td= setting.name.humanize + %td{data: :value}= setting.value + %td.actions + = link_to edit_setting_path(setting), class: 'btn btn-default btn-xs edit' do + %i.fa.fa-edit diff --git a/base_site.iml b/base_site.iml new file mode 100644 index 0000000..39aace7 --- /dev/null +++ b/base_site.iml @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module type="RUBY_MODULE" version="4"> + <component name="FacetManager"> + <facet type="RailsFacetType" name="Ruby on Rails"> + <configuration> + <RAILS_FACET_CONFIG_ID NAME="RAILS_FACET_SUPPORT_REMOVED" VALUE="false" /> + <RAILS_FACET_CONFIG_ID NAME="RAILS_TESTS_SOURCES_PATCHED" VALUE="true" /> + <RAILS_FACET_CONFIG_ID NAME="RAILS_FACET_APPLICATION_ROOT" VALUE="$MODULE_DIR$" /> + </configuration> + </facet> + </component> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" /> + <sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" /> + <excludeFolder url="file://$MODULE_DIR$/.bundle" /> + <excludeFolder url="file://$MODULE_DIR$/components" /> + <excludeFolder url="file://$MODULE_DIR$/public/system" /> + <excludeFolder url="file://$MODULE_DIR$/tmp" /> + <excludeFolder url="file://$MODULE_DIR$/vendor/bundle" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="library" scope="PROVIDED" name="actionmailer (v4.2.5.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="actionpack (v4.2.5.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="actionview (v4.2.5.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="activejob (v4.2.5.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="activemodel (v4.2.5.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="activerecord (v4.2.5.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="activesupport (v4.2.5.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="acts_as_list (v0.7.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="arel (v6.0.3, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="autoprefixer-rails (v6.3.6, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="bcrypt (v3.1.11, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="binding_of_caller (v0.7.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="bootstrap-sass (v3.3.6, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="bootstrap-will_paginate (v0.0.10, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="bootstrap3-datetimepicker-rails (v4.15.35, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="builder (v3.2.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="bundler (v1.11.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="capistrano (v3.4.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="capistrano-bundler (v1.1.4, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="capistrano-faster-assets (v1.0.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="capistrano-rails (v1.1.6, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="capistrano-rvm (v0.1.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="carrierwave (v0.11.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="ckeditor (v4.1.6, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="climate_control (v0.0.3, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="cocaine (v0.5.8, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="coffee-rails (v4.1.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="coffee-script (v2.4.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="coffee-script-source (v1.10.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="commonjs (v0.2.7, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.0.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="debug_inspector (v0.0.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="devise (v3.5.6, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="devise-i18n (v1.0.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="erubis (v2.7.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="execjs (v2.6.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="font-awesome-rails (v4.6.0.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="globalid (v0.3.6, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="haml (v4.0.7, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="haml-rails (v0.9.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="html2haml (v2.0.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="i18n (v0.7.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="jbuilder (v2.4.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="jquery-rails (v4.1.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="jquery-ui-rails (v5.0.5, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="json (v1.8.3, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="less (v2.6.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="less-rails (v2.7.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="loofah (v2.0.3, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="mail (v2.6.4, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="mime-types (v3.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2016.0221, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="mini_magick (v4.5.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="mini_portile2 (v2.0.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="minitest (v5.8.4, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="momentjs-rails (v2.11.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="multi_json (v1.11.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="mysql2 (v0.4.3, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="nested_form (v0.3.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="net-scp (v1.2.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="net-ssh (v3.1.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.6.7.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="orm_adapter (v0.5.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="rack (v1.6.4, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="rack-test (v0.6.3, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="rails (v4.2.5.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="rails-deprecated_sanitizer (v1.0.3, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="rails-dom-testing (v1.0.7, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="rails-html-sanitizer (v1.0.3, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="railties (v4.2.5.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="rake (v11.1.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="rdoc (v4.2.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="responders (v2.1.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="ruby_parser (v3.8.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="sass (v3.4.22, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="sass-rails (v5.0.4, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="sdoc (v0.4.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="sexp_processor (v4.7.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="simple_form (v3.2.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="sprockets (v3.6.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="sprockets-rails (v3.0.4, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="sshkit (v1.9.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="thor (v0.19.1, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.5, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="tilt (v2.0.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="turbolinks (v2.5.3, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="twitter-bootstrap-rails (v3.2.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.2, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="tzinfo-data (v1.2016.3, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="uglifier (v3.0.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="warden (v1.2.6, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="web-console (v2.3.0, ruby-2.1.5-p273) [gem]" level="application" /> + <orderEntry type="library" scope="PROVIDED" name="will_paginate (v3.1.0, ruby-2.1.5-p273) [gem]" level="application" /> + </component> + <component name="RModuleSettingsStorage"> + <LOAD_PATH number="0" /> + <I18N_FOLDERS number="1" string0="$MODULE_DIR$/config/locales" /> + </component> +</module> \ No newline at end of file diff --git a/bin/bundle b/bin/bundle new file mode 100644 index 0000000..e3c2f62 --- /dev/null +++ b/bin/bundle @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby.exe +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) +load Gem.bin_path('bundler', 'bundle') diff --git a/bin/rails b/bin/rails new file mode 100644 index 0000000..c9a0f38 --- /dev/null +++ b/bin/rails @@ -0,0 +1,4 @@ +#!/usr/bin/env ruby.exe +APP_PATH = File.expand_path('../../config/application', __FILE__) +require_relative '../config/boot' +require 'rails/commands' diff --git a/bin/rake b/bin/rake new file mode 100644 index 0000000..f6ed5a2 --- /dev/null +++ b/bin/rake @@ -0,0 +1,4 @@ +#!/usr/bin/env ruby.exe +require_relative '../config/boot' +require 'rake' +Rake.application.run diff --git a/bin/setup b/bin/setup new file mode 100644 index 0000000..2d041ee --- /dev/null +++ b/bin/setup @@ -0,0 +1,29 @@ +#!/usr/bin/env ruby.exe +require 'pathname' + +# path to your application root. +APP_ROOT = Pathname.new File.expand_path('../../', __FILE__) + +Dir.chdir APP_ROOT do + # This script is a starting point to setup your application. + # Add necessary setup steps to this file: + + puts "== Installing dependencies ==" + system "gem install bundler --conservative" + system "bundle check || bundle install" + + # puts "\n== Copying sample files ==" + # unless File.exist?("config/database.yml") + # system "cp config/database.yml.sample config/database.yml" + # end + + puts "\n== Preparing database ==" + system "bin/rake db:setup" + + puts "\n== Removing old logs and tempfiles ==" + system "rm -f log/*" + system "rm -rf tmp/cache" + + puts "\n== Restarting application server ==" + system "touch tmp/restart.txt" +end diff --git a/config.ru b/config.ru new file mode 100644 index 0000000..bd83b25 --- /dev/null +++ b/config.ru @@ -0,0 +1,4 @@ +# This file is used by Rack-based servers to start the application. + +require ::File.expand_path('../config/environment', __FILE__) +run Rails.application diff --git a/config/application.rb b/config/application.rb new file mode 100644 index 0000000..df59f66 --- /dev/null +++ b/config/application.rb @@ -0,0 +1,26 @@ +require File.expand_path('../boot', __FILE__) + +require 'rails/all' + +# Require the gems listed in Gemfile, including any gems +# you've limited to :test, :development, or :production. +Bundler.require(*Rails.groups) + +module Stellar + class Application < Rails::Application + # Settings in config/environments/* take precedence over those specified here. + # Application configuration should go into files in config/initializers + # -- all .rb files in that directory are automatically loaded. + + # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. + # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. + config.time_zone = 'Kyiv' + + # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. + # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] + config.i18n.default_locale = :uk + + # Do not swallow errors in after_commit/after_rollback callbacks. + config.active_record.raise_in_transactional_callbacks = true + end +end diff --git a/config/boot.rb b/config/boot.rb new file mode 100644 index 0000000..6b750f0 --- /dev/null +++ b/config/boot.rb @@ -0,0 +1,3 @@ +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) + +require 'bundler/setup' # Set up gems listed in the Gemfile. diff --git a/config/database.yml b/config/database.yml new file mode 100644 index 0000000..554e6c1 --- /dev/null +++ b/config/database.yml @@ -0,0 +1,24 @@ +default: &default + adapter: mysql2 + encoding: utf8 + reconnect: false + pool: 5 + host: localhost + +development: + <<: *default + database: base_sites_development + username: devuser + password: devpassword + +test: + <<: *default + database: base_sites_test + username: devuser + password: devpassword + +production: + <<: *default + database: base_sites + username: spserviceuser + password: spservicepassword diff --git a/config/deploy.rb b/config/deploy.rb new file mode 100644 index 0000000..89627bc --- /dev/null +++ b/config/deploy.rb @@ -0,0 +1,88 @@ +# config valid only for current version of Capistrano +lock '3.4.0' + +# DEPLOY +set :application, 'haba_plastics' +# set :deploy_to, '/var/www/amaox' # Default deploy_to directory is /var/www/my_app_name +set :scm, :svn +set :repo_url, 'http://svn.sp-service.com.ua/svnroot/svn/haba_plastics/trunk' +# set :format, :pretty # Default value for :format is :pretty +# set :log_level, :debug # Default value for :log_level is :debug +# set :pty, true # Default value for :pty is false +# set :linked_files, fetch(:linked_files, []).push('config/vacancies.yml') # Default is [] +set :linked_dirs, fetch(:linked_dirs, []).push('log', 'public/uploads', 'files') # Default is [] +# set :default_env, { path: "/opt/ruby/bin:$PATH" } # Default value for default_env is {} +# set :keep_releases, 5 # Default value for keep_releases is 5 + +# RVM +# set :rvm_type, :user # Defaults to: :auto +set :rvm_ruby_version, '2.1.5' # Defaults to: 'default' +# set :rvm_custom_path, '~/.rvm' # only needed if not detected + +# RAILS +set :rails_env, 'production' # If the environment differs from the stage name +# set :migration_role, 'migrator' # Defaults to 'db' +# set :conditionally_migrate, true # Defaults to false. If true, it's skip migration if files in db/migrate not modified +# set :assets_roles, [:web, :app] # Defaults to [:web] + +# BUNDLER +# In order to the bundler install gems to default directory otherwise it will be create gems folder in project directory +set :bundle_path, -> {} +set :bundle_flags, '--system --quiet' + +# WHENEVER +# set :whenever_environment, -> { fetch(:stage) } +# set :whenever_identifier, -> { "#{fetch(:application)}_#{fetch(:stage)}" } + +puts "Started deploy in #{fetch(:stage)} mode!" + +namespace :deploy do + desc 'Restart application' + task :restart do + on roles(:app) do + execute "mkdir -p #{File.join(current_path, 'tmp')}; touch #{File.join(current_path, 'tmp', 'restart.txt')}" + end + end + + desc 'Reload the database with seed data' + task :seed do + on roles(:app) do + within "#{current_path}" do + with rails_env: :production do + execute :rake, "db:seed" + end + end + end + end + + desc 'Tail production log' + task :tail_log do + on roles(:app) do + trap('INT') { puts 'Interupted'; exit 0; } + execute "tail -f #{shared_path}/log/production.log" do |channel, stream, data| + puts # for an extra line break before the host name + puts "#{channel[:host]}: #{data}" + break if stream == :err + end + end + end + + after 'deploy:publishing', 'deploy:restart' + + after :restart, :x_bin_rails do + on roles(:web), in: :groups, limit: 3, wait: 10 do + within release_path do + execute :chmod, "u+x bin/rails" + end + end + end + + after :restart, :clear_cache do + on roles(:web), in: :groups, limit: 3, wait: 10 do + # Here we can do anything such as: + # within release_path do + # execute :rake, 'cache:clear' + # end + end + end +end diff --git a/config/deploy/production.rb b/config/deploy/production.rb new file mode 100644 index 0000000..b7e01f1 --- /dev/null +++ b/config/deploy/production.rb @@ -0,0 +1,2 @@ +server 'storage.sp-service.com.u', user: 'deploy', roles: %w{app db web} +# set :rvm_custom_path, '/usr/local/rvm' # only needed if not detected diff --git a/config/deploy/staging.rb b/config/deploy/staging.rb new file mode 100644 index 0000000..a166a7d --- /dev/null +++ b/config/deploy/staging.rb @@ -0,0 +1 @@ +server 'storage.sp-service.com.ua', user: 'deploy', roles: %w{app db web} diff --git a/config/environment.rb b/config/environment.rb new file mode 100644 index 0000000..ee8d90d --- /dev/null +++ b/config/environment.rb @@ -0,0 +1,5 @@ +# Load the Rails application. +require File.expand_path('../application', __FILE__) + +# Initialize the Rails application. +Rails.application.initialize! diff --git a/config/environments/development.rb b/config/environments/development.rb new file mode 100644 index 0000000..4166e0b --- /dev/null +++ b/config/environments/development.rb @@ -0,0 +1,41 @@ +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + # In the development environment your application's code is reloaded on + # every request. This slows down response time but is perfect for development + # since you don't have to restart the web server when you make code changes. + config.cache_classes = false + + # Do not eager load code on boot. + config.eager_load = false + + # Show full error reports and disable caching. + config.consider_all_requests_local = true + config.action_controller.perform_caching = false + + # Don't care if the mailer can't send. + config.action_mailer.raise_delivery_errors = false + + # Print deprecation notices to the Rails logger. + config.active_support.deprecation = :log + + # Raise an error on page load if there are pending migrations. + config.active_record.migration_error = :page_load + + # Debug mode disables concatenation and preprocessing of assets. + # This option may cause significant delays in view rendering with a large + # number of complex assets. + config.assets.debug = false + + # Asset digests allow you to set far-future HTTP expiration dates on all assets, + # yet still be able to expire them through the digest params. + config.assets.digest = true + + # Adds additional error checking when serving assets at runtime. + # Checks for improperly declared sprockets dependencies. + # Raises helpful error messages. + config.assets.raise_runtime_errors = true + + # Raises error for missing translations + # config.action_view.raise_on_missing_translations = true +end diff --git a/config/environments/production.rb b/config/environments/production.rb new file mode 100644 index 0000000..5c1b32e --- /dev/null +++ b/config/environments/production.rb @@ -0,0 +1,79 @@ +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + # Code is not reloaded between requests. + config.cache_classes = true + + # Eager load code on boot. This eager loads most of Rails and + # your application in memory, allowing both threaded web servers + # and those relying on copy on write to perform better. + # Rake tasks automatically ignore this option for performance. + config.eager_load = true + + # Full error reports are disabled and caching is turned on. + config.consider_all_requests_local = false + config.action_controller.perform_caching = true + + # Enable Rack::Cache to put a simple HTTP cache in front of your application + # Add `rack-cache` to your Gemfile before enabling this. + # For large-scale production use, consider using a caching reverse proxy like + # NGINX, varnish or squid. + # config.action_dispatch.rack_cache = true + + # Disable serving static files from the `/public` folder by default since + # Apache or NGINX already handles this. + config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present? + + # Compress JavaScripts and CSS. + config.assets.js_compressor = :uglifier + # config.assets.css_compressor = :sass + + # Do not fallback to assets pipeline if a precompiled asset is missed. + config.assets.compile = false + + # Asset digests allow you to set far-future HTTP expiration dates on all assets, + # yet still be able to expire them through the digest params. + config.assets.digest = true + + # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb + + # Specifies the header that your server uses for sending files. + # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache + # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX + + # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. + # config.force_ssl = true + + # Use the lowest log level to ensure availability of diagnostic information + # when problems arise. + config.log_level = :debug + + # Prepend all log lines with the following tags. + # config.log_tags = [ :subdomain, :uuid ] + + # Use a different logger for distributed setups. + # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) + + # Use a different cache store in production. + # config.cache_store = :mem_cache_store + + # Enable serving of images, stylesheets, and JavaScripts from an asset server. + # config.action_controller.asset_host = 'http://assets.example.com' + + # Ignore bad email addresses and do not raise email delivery errors. + # Set this to true and configure the email server for immediate delivery to raise delivery errors. + # config.action_mailer.raise_delivery_errors = false + + # Enable locale fallbacks for I18n (makes lookups for any locale fall back to + # the I18n.default_locale when a translation cannot be found). + config.i18n.fallbacks = true + + # Send deprecation notices to registered listeners. + config.active_support.deprecation = :notify + + # Use default logging formatter so that PID and timestamp are not suppressed. + config.log_formatter = ::Logger::Formatter.new + + # Do not dump schema after migrations. + config.active_record.dump_schema_after_migration = false +end diff --git a/config/environments/test.rb b/config/environments/test.rb new file mode 100644 index 0000000..1c19f08 --- /dev/null +++ b/config/environments/test.rb @@ -0,0 +1,42 @@ +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + # The test environment is used exclusively to run your application's + # test suite. You never need to work with it otherwise. Remember that + # your test database is "scratch space" for the test suite and is wiped + # and recreated between test runs. Don't rely on the data there! + config.cache_classes = true + + # Do not eager load code on boot. This avoids loading your whole application + # just for the purpose of running a single test. If you are using a tool that + # preloads Rails for running tests, you may have to set it to true. + config.eager_load = false + + # Configure static file server for tests with Cache-Control for performance. + config.serve_static_files = true + config.static_cache_control = 'public, max-age=3600' + + # Show full error reports and disable caching. + config.consider_all_requests_local = true + config.action_controller.perform_caching = false + + # Raise exceptions instead of rendering exception templates. + config.action_dispatch.show_exceptions = false + + # Disable request forgery protection in test environment. + config.action_controller.allow_forgery_protection = false + + # Tell Action Mailer not to deliver emails to the real world. + # The :test delivery method accumulates sent emails in the + # ActionMailer::Base.deliveries array. + config.action_mailer.delivery_method = :test + + # Randomize the order test cases are executed. + config.active_support.test_order = :random + + # Print deprecation notices to the stderr. + config.active_support.deprecation = :stderr + + # Raises error for missing translations + # config.action_view.raise_on_missing_translations = true +end diff --git a/config/initializers/active_translation.rb b/config/initializers/active_translation.rb new file mode 100644 index 0000000..aaa594e --- /dev/null +++ b/config/initializers/active_translation.rb @@ -0,0 +1,20 @@ +#encoding: utf-8 + +require 'active_translation/active_translation' + +LANGUAGES = [ + %w(Ukrainian uk), + %w(English en) + # %w(Deutsch de) +] + +def locales + @locales ||= LANGUAGES.map{|l| l[1]} +end + +def localed_attr(attr) + locales.map {|l| "#{attr.to_s}_#{l}".to_sym} << attr +end + +Rails.application.config.i18n.available_locales = locales + diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb new file mode 100644 index 0000000..f5e3544 --- /dev/null +++ b/config/initializers/assets.rb @@ -0,0 +1,15 @@ +# Be sure to restart your server when you modify this file. + +# Version of your assets, change this if you want to expire all your assets. +Rails.application.config.assets.version = '1.0' + +# Add additional assets to the asset load path +# Rails.application.config.assets.paths << Emoji.images_path + +# Precompile additional assets. +# application.js, application.css, and all non-JS/CSS in app/assets folder are already added. +# Rails.application.config.assets.precompile += %w( search.js ) +Rails.application.config.assets.precompile += %w(ckeditor/* shared.js admin.js front.js) +Rails.application.config.assets.precompile += %w(shared.css admin.css front.css) +Rails.application.config.assets.precompile += %w(admin_front.js admin_front.css) +Rails.application.config.assets.precompile += %w(.svg .eot .woff .ttf ) diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb new file mode 100644 index 0000000..59385cd --- /dev/null +++ b/config/initializers/backtrace_silencers.rb @@ -0,0 +1,7 @@ +# Be sure to restart your server when you modify this file. + +# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. +# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } + +# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. +# Rails.backtrace_cleaner.remove_silencers! diff --git a/config/initializers/ckeditor.rb b/config/initializers/ckeditor.rb new file mode 100644 index 0000000..cdeec99 --- /dev/null +++ b/config/initializers/ckeditor.rb @@ -0,0 +1,39 @@ +# Use this hook to configure ckeditor +Ckeditor.setup do |config| + # ==> ORM configuration + # Load and configure the ORM. Supports :active_record (default), :mongo_mapper and + # :mongoid (bson_ext recommended) by default. Other ORMs may be + # available as additional gems. + require "ckeditor/orm/active_record" + + # Allowed image file types for upload. + # Set to nil or [] (empty array) for all file types + # By default: %w(jpg jpeg png gif tiff) + # config.image_file_types = ["jpg", "jpeg", "png", "gif", "tiff"] + + # Allowed attachment file types for upload. + # Set to nil or [] (empty array) for all file types + # By default: %w(doc docx xls odt ods pdf rar zip tar tar.gz swf) + # config.attachment_file_types = ["doc", "docx", "xls", "odt", "ods", "pdf", "rar", "zip", "tar", "swf"] + + # Setup authorization to be run as a before filter + # By default: there is no authorization. + # config.authorize_with :cancan + + # Asset model classes + # config.picture_model { Ckeditor::Picture } + # config.attachment_file_model { Ckeditor::AttachmentFile } + + # Paginate assets + # By default: 24 + # config.default_per_page = 24 + + # Customize ckeditor assets path + # By default: nil + # config.asset_path = "http://www.example.com/assets/ckeditor/" + + # To reduce the asset precompilation time, you can limit plugins and/or languages to those you need: + # By default: nil (no limit) + # config.assets_languages = ['en', 'uk'] + # config.assets_plugins = ['image', 'smiley'] +end diff --git a/config/initializers/cookies_serializer.rb b/config/initializers/cookies_serializer.rb new file mode 100644 index 0000000..7f70458 --- /dev/null +++ b/config/initializers/cookies_serializer.rb @@ -0,0 +1,3 @@ +# Be sure to restart your server when you modify this file. + +Rails.application.config.action_dispatch.cookies_serializer = :json diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb new file mode 100644 index 0000000..b735161 --- /dev/null +++ b/config/initializers/devise.rb @@ -0,0 +1,265 @@ +# Use this hook to configure devise mailer, warden hooks and so forth. +# Many of these configuration options can be set straight in your model. +Devise.setup do |config| + # The secret key used by Devise. Devise uses this key to generate + # random tokens. Changing this key will render invalid all existing + # confirmation, reset password and unlock tokens in the database. + # Devise will use the `secret_key_base` on Rails 4+ applications as its `secret_key` + # by default. You can change it below and use your own secret key. + config.secret_key = '3e4cafacb13e0b16028deb0c6c4e531af0ae4ddafc6c2998be687f7c42e7935c7a618b2d299df236a7696142f594c78f2f2f0894552d1ddbf91ef75bb09211eb' + + # ==> Mailer Configuration + # Configure the e-mail address which will be shown in Devise::Mailer, + # note that it will be overwritten if you use your own mailer class + # with default "from" parameter. + config.mailer_sender = 'please-change-me-at-config-initializers-devise@example.com' + + # Configure the class responsible to send e-mails. + # config.mailer = 'Devise::Mailer' + + # ==> ORM configuration + # Load and configure the ORM. Supports :active_record (default) and + # :mongoid (bson_ext recommended) by default. Other ORMs may be + # available as additional gems. + require 'devise/orm/active_record' + + # ==> Configuration for any authentication mechanism + # Configure which keys are used when authenticating a user. The default is + # just :email. You can configure it to use [:username, :subdomain], so for + # authenticating a user, both parameters are required. Remember that those + # parameters are used only when authenticating and not when retrieving from + # session. If you need permissions, you should implement that in a before filter. + # You can also supply a hash where the value is a boolean determining whether + # or not authentication should be aborted when the value is not present. + # config.authentication_keys = [:email] + + # Configure parameters from the request object used for authentication. Each entry + # given should be a request method and it will automatically be passed to the + # find_for_authentication method and considered in your model lookup. For instance, + # if you set :request_keys to [:subdomain], :subdomain will be used on authentication. + # The same considerations mentioned for authentication_keys also apply to request_keys. + # config.request_keys = [] + + # Configure which authentication keys should be case-insensitive. + # These keys will be downcased upon creating or modifying a user and when used + # to authenticate or find a user. Default is :email. + config.case_insensitive_keys = [:email] + + # Configure which authentication keys should have whitespace stripped. + # These keys will have whitespace before and after removed upon creating or + # modifying a user and when used to authenticate or find a user. Default is :email. + config.strip_whitespace_keys = [:email] + + # Tell if authentication through request.params is enabled. True by default. + # It can be set to an array that will enable params authentication only for the + # given strategies, for example, `config.params_authenticatable = [:database]` will + # enable it only for database (email + password) authentication. + # config.params_authenticatable = true + + # Tell if authentication through HTTP Auth is enabled. False by default. + # It can be set to an array that will enable http authentication only for the + # given strategies, for example, `config.http_authenticatable = [:database]` will + # enable it only for database authentication. The supported strategies are: + # :database = Support basic authentication with authentication key + password + # config.http_authenticatable = false + + # If 401 status code should be returned for AJAX requests. True by default. + # config.http_authenticatable_on_xhr = true + + # The realm used in Http Basic Authentication. 'Application' by default. + # config.http_authentication_realm = 'Application' + + # It will change confirmation, password recovery and other workflows + # to behave the same regardless if the e-mail provided was right or wrong. + # Does not affect registerable. + # config.paranoid = true + + # By default Devise will store the user in session. You can skip storage for + # particular strategies by setting this option. + # Notice that if you are skipping storage for all authentication paths, you + # may want to disable generating routes to Devise's sessions controller by + # passing skip: :sessions to `devise_for` in your config/routes.rb + config.skip_session_storage = [:http_auth] + + # By default, Devise cleans up the CSRF token on authentication to + # avoid CSRF token fixation attacks. This means that, when using AJAX + # requests for sign in and sign up, you need to get a new CSRF token + # from the server. You can disable this option at your own risk. + # config.clean_up_csrf_token_on_authentication = true + + # ==> Configuration for :database_authenticatable + # For bcrypt, this is the cost for hashing the password and defaults to 10. If + # using other encryptors, it sets how many times you want the password re-encrypted. + # + # Limiting the stretches to just one in testing will increase the performance of + # your test suite dramatically. However, it is STRONGLY RECOMMENDED to not use + # a value less than 10 in other environments. Note that, for bcrypt (the default + # encryptor), the cost increases exponentially with the number of stretches (e.g. + # a value of 20 is already extremely slow: approx. 60 seconds for 1 calculation). + config.stretches = Rails.env.test? ? 1 : 10 + + # Setup a pepper to generate the encrypted password. + # config.pepper = '4d3b48fa3c9542fc2a2efa8a1794a6de6c755429e9a8213d2900f702bd25c58b9caef7689e8430cbf007680daf9955019e002feb8ef65ff3d6616b8309af3350' + + # ==> Configuration for :confirmable + # A period that the user is allowed to access the website even without + # confirming their account. For instance, if set to 2.days, the user will be + # able to access the website for two days without confirming their account, + # access will be blocked just in the third day. Default is 0.days, meaning + # the user cannot access the website without confirming their account. + # config.allow_unconfirmed_access_for = 2.days + + # A period that the user is allowed to confirm their account before their + # token becomes invalid. For example, if set to 3.days, the user can confirm + # their account within 3 days after the mail was sent, but on the fourth day + # their account can't be confirmed with the token any more. + # Default is nil, meaning there is no restriction on how long a user can take + # before confirming their account. + # config.confirm_within = 3.days + + # If true, requires any email changes to be confirmed (exactly the same way as + # initial account confirmation) to be applied. Requires additional unconfirmed_email + # db field (see migrations). Until confirmed, new email is stored in + # unconfirmed_email column, and copied to email column on successful confirmation. + config.reconfirmable = true + + # Defines which key will be used when confirming an account + # config.confirmation_keys = [:email] + + # ==> Configuration for :rememberable + # The time the user will be remembered without asking for credentials again. + # config.remember_for = 2.weeks + + # Invalidates all the remember me tokens when the user signs out. + config.expire_all_remember_me_on_sign_out = true + + # If true, extends the user's remember period when remembered via cookie. + # config.extend_remember_period = false + + # Options to be passed to the created cookie. For instance, you can set + # secure: true in order to force SSL only cookies. + # config.rememberable_options = {} + + # ==> Configuration for :validatable + # Range for password length. + config.password_length = 8..72 + + # Email regex used to validate email formats. It simply asserts that + # one (and only one) @ exists in the given string. This is mainly + # to give user feedback and not to assert the e-mail validity. + # config.email_regexp = /\A[^@]+@[^@]+\z/ + + # ==> Configuration for :timeoutable + # The time you want to timeout the user session without activity. After this + # time the user will be asked for credentials again. Default is 30 minutes. + # config.timeout_in = 30.minutes + + # If true, expires auth token on session timeout. + # config.expire_auth_token_on_timeout = false + + # ==> Configuration for :lockable + # Defines which strategy will be used to lock an account. + # :failed_attempts = Locks an account after a number of failed attempts to sign in. + # :none = No lock strategy. You should handle locking by yourself. + # config.lock_strategy = :failed_attempts + + # Defines which key will be used when locking and unlocking an account + # config.unlock_keys = [:email] + + # Defines which strategy will be used to unlock an account. + # :email = Sends an unlock link to the user email + # :time = Re-enables login after a certain amount of time (see :unlock_in below) + # :both = Enables both strategies + # :none = No unlock strategy. You should handle unlocking by yourself. + # config.unlock_strategy = :both + + # Number of authentication tries before locking an account if lock_strategy + # is failed attempts. + # config.maximum_attempts = 20 + + # Time interval to unlock the account if :time is enabled as unlock_strategy. + # config.unlock_in = 1.hour + + # Warn on the last attempt before the account is locked. + # config.last_attempt_warning = true + + # ==> Configuration for :recoverable + # + # Defines which key will be used when recovering the password for an account + # config.reset_password_keys = [:email] + + # Time interval you can reset your password with a reset password key. + # Don't put a too small interval or your users won't have the time to + # change their passwords. + config.reset_password_within = 6.hours + + # When set to false, does not sign a user in automatically after their password is + # reset. Defaults to true, so a user is signed in automatically after a reset. + # config.sign_in_after_reset_password = true + + # ==> Configuration for :encryptable + # Allow you to use another encryption algorithm besides bcrypt (default). You can use + # :sha1, :sha512 or encryptors from others authentication tools as :clearance_sha1, + # :authlogic_sha512 (then you should set stretches above to 20 for default behavior) + # and :restful_authentication_sha1 (then you should set stretches to 10, and copy + # REST_AUTH_SITE_KEY to pepper). + # + # Require the `devise-encryptable` gem when using anything other than bcrypt + # config.encryptor = :sha512 + + # ==> Scopes configuration + # Turn scoped views on. Before rendering "sessions/new", it will first check for + # "users/sessions/new". It's turned off by default because it's slower if you + # are using only default views. + # config.scoped_views = false + + # Configure the default scope given to Warden. By default it's the first + # devise role declared in your routes (usually :user). + # config.default_scope = :user + + # Set this configuration to false if you want /users/sign_out to sign out + # only the current scope. By default, Devise signs out all scopes. + # config.sign_out_all_scopes = true + + # ==> Navigation configuration + # Lists the formats that should be treated as navigational. Formats like + # :html, should redirect to the sign in page when the user does not have + # access, but formats like :xml or :json, should return 401. + # + # If you have any extra navigational formats, like :iphone or :mobile, you + # should add them to the navigational formats lists. + # + # The "*/*" below is required to match Internet Explorer requests. + # config.navigational_formats = ['*/*', :html] + + # The default HTTP method used to sign out a resource. Default is :delete. + config.sign_out_via = :delete + + # ==> OmniAuth + # Add a new OmniAuth provider. Check the wiki for more information on setting + # up on your models and hooks. + # config.omniauth :github, 'APP_ID', 'APP_SECRET', scope: 'user,public_repo' + + # ==> Warden configuration + # If you want to use other strategies, that are not supported by Devise, or + # change the failure app, you can configure them inside the config.warden block. + # + # config.warden do |manager| + # manager.intercept_401 = false + # manager.default_strategies(scope: :user).unshift :some_external_strategy + # end + + # ==> Mountable engine configurations + # When using Devise inside an engine, let's call it `MyEngine`, and this engine + # is mountable, there are some extra configurations to be taken into account. + # The following options are available, assuming the engine is mounted as: + # + # mount MyEngine, at: '/my_engine' + # + # The router that invoked `devise_for`, in the example above, would be: + # config.router_name = :my_engine + # + # When using OmniAuth, Devise cannot automatically set OmniAuth path, + # so you need to do it manually. For the users scope, it would be: + # config.omniauth_path_prefix = '/my_engine/users/auth' +end diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb new file mode 100644 index 0000000..4a994e1 --- /dev/null +++ b/config/initializers/filter_parameter_logging.rb @@ -0,0 +1,4 @@ +# Be sure to restart your server when you modify this file. + +# Configure sensitive parameters which will be filtered from the log file. +Rails.application.config.filter_parameters += [:password] diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb new file mode 100644 index 0000000..ac033bf --- /dev/null +++ b/config/initializers/inflections.rb @@ -0,0 +1,16 @@ +# Be sure to restart your server when you modify this file. + +# Add new inflection rules using the following format. Inflections +# are locale specific, and you may define rules for as many different +# locales as you wish. All of these examples are active by default: +# ActiveSupport::Inflector.inflections(:en) do |inflect| +# inflect.plural /^(ox)$/i, '\1en' +# inflect.singular /^(ox)en/i, '\1' +# inflect.irregular 'person', 'people' +# inflect.uncountable %w( fish sheep ) +# end + +# These inflection rules are supported but not enabled by default: +# ActiveSupport::Inflector.inflections(:en) do |inflect| +# inflect.acronym 'RESTful' +# end diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb new file mode 100644 index 0000000..dc18996 --- /dev/null +++ b/config/initializers/mime_types.rb @@ -0,0 +1,4 @@ +# Be sure to restart your server when you modify this file. + +# Add new mime types for use in respond_to blocks: +# Mime::Type.register "text/richtext", :rtf diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb new file mode 100644 index 0000000..61eaf4b --- /dev/null +++ b/config/initializers/session_store.rb @@ -0,0 +1,3 @@ +# Be sure to restart your server when you modify this file. + +Rails.application.config.session_store :cookie_store, key: '_stellar_session' diff --git a/config/initializers/simple_form.rb b/config/initializers/simple_form.rb new file mode 100644 index 0000000..d5492e5 --- /dev/null +++ b/config/initializers/simple_form.rb @@ -0,0 +1,166 @@ +# Use this setup block to configure all options available in SimpleForm. +SimpleForm.setup do |config| + # Wrappers are used by the form builder to generate a + # complete input. You can remove any component from the + # wrapper, change the order or even add your own to the + # stack. The options given below are used to wrap the + # whole input. + config.wrappers :default, class: :input, + hint_class: :field_with_hint, error_class: :field_with_errors do |b| + ## Extensions enabled by default + # Any of these extensions can be disabled for a + # given input by passing: `f.input EXTENSION_NAME => false`. + # You can make any of these extensions optional by + # renaming `b.use` to `b.optional`. + + # Determines whether to use HTML5 (:email, :url, ...) + # and required attributes + b.use :html5 + + # Calculates placeholders automatically from I18n + # You can also pass a string as f.input placeholder: "Placeholder" + b.use :placeholder + + ## Optional extensions + # They are disabled unless you pass `f.input EXTENSION_NAME => true` + # to the input. If so, they will retrieve the values from the model + # if any exists. If you want to enable any of those + # extensions by default, you can change `b.optional` to `b.use`. + + # Calculates maxlength from length validations for string inputs + b.optional :maxlength + + # Calculates pattern from format validations for string inputs + b.optional :pattern + + # Calculates min and max from length validations for numeric inputs + b.optional :min_max + + # Calculates readonly automatically from readonly attributes + b.optional :readonly + + ## Inputs + b.use :label_input + b.use :hint, wrap_with: { tag: :span, class: :hint } + b.use :error, wrap_with: { tag: :span, class: :error } + + ## full_messages_for + # If you want to display the full error message for the attribute, you can + # use the component :full_error, like: + # + # b.use :full_error, wrap_with: { tag: :span, class: :error } + end + + # The default wrapper to be used by the FormBuilder. + config.default_wrapper = :default + + # Define the way to render check boxes / radio buttons with labels. + # Defaults to :nested for bootstrap config. + # inline: input + label + # nested: label > input + config.boolean_style = :nested + + # Default class for buttons + config.button_class = 'btn' + + # Method used to tidy up errors. Specify any Rails Array method. + # :first lists the first message for each field. + # Use :to_sentence to list all errors for each field. + # config.error_method = :first + + # Default tag used for error notification helper. + config.error_notification_tag = :div + + # CSS class to add for error notification helper. + config.error_notification_class = 'error_notification' + + # ID to add for error notification helper. + # config.error_notification_id = nil + + # Series of attempts to detect a default label method for collection. + # config.collection_label_methods = [ :to_label, :name, :title, :to_s ] + + # Series of attempts to detect a default value method for collection. + # config.collection_value_methods = [ :id, :to_s ] + + # You can wrap a collection of radio/check boxes in a pre-defined tag, defaulting to none. + # config.collection_wrapper_tag = nil + + # You can define the class to use on all collection wrappers. Defaulting to none. + # config.collection_wrapper_class = nil + + # You can wrap each item in a collection of radio/check boxes with a tag, + # defaulting to :span. Please note that when using :boolean_style = :nested, + # SimpleForm will force this option to be a label. + # config.item_wrapper_tag = :span + + # You can define a class to use in all item wrappers. Defaulting to none. + # config.item_wrapper_class = nil + + # How the label text should be generated altogether with the required text. + # config.label_text = lambda { |label, required, explicit_label| "#{required} #{label}" } + + # You can define the class to use on all labels. Default is nil. + # config.label_class = nil + + # You can define the default class to be used on forms. Can be overriden + # with `html: { :class }`. Defaulting to none. + # config.default_form_class = nil + + # You can define which elements should obtain additional classes + # config.generate_additional_classes_for = [:wrapper, :label, :input] + + # Whether attributes are required by default (or not). Default is true. + # config.required_by_default = true + + # Tell browsers whether to use the native HTML5 validations (novalidate form option). + # These validations are enabled in SimpleForm's internal config but disabled by default + # in this configuration, which is recommended due to some quirks from different browsers. + # To stop SimpleForm from generating the novalidate option, enabling the HTML5 validations, + # change this configuration to true. + config.browser_validations = false + + # Collection of methods to detect if a file type was given. + # config.file_methods = [ :mounted_as, :file?, :public_filename ] + + # Custom mappings for input types. This should be a hash containing a regexp + # to match as key, and the input type that will be used when the field name + # matches the regexp as value. + # config.input_mappings = { /count/ => :integer } + + # Custom wrappers for input types. This should be a hash containing an input + # type as key and the wrapper that will be used for all inputs with specified type. + # config.wrapper_mappings = { string: :prepend } + + # Namespaces where SimpleForm should look for custom input classes that + # override default inputs. + # config.custom_inputs_namespaces << "CustomInputs" + + # Default priority for time_zone inputs. + # config.time_zone_priority = nil + + # Default priority for country inputs. + # config.country_priority = nil + + # When false, do not use translations for labels. + # config.translate_labels = true + + # Automatically discover new inputs in Rails' autoload path. + # config.inputs_discovery = true + + # Cache SimpleForm inputs discovery + # config.cache_discovery = !Rails.env.development? + + # Default class for inputs + # config.input_class = nil + + # Define the default class of the input wrapper of the boolean input. + config.boolean_label_class = 'checkbox' + + # Defines if the default input wrapper class should be included in radio + # collection wrappers. + # config.include_default_input_wrapper_class = true + + # Defines which i18n scope will be used in Simple Form. + # config.i18n_scope = 'simple_form' +end diff --git a/config/initializers/simple_form_bootstrap.rb b/config/initializers/simple_form_bootstrap.rb new file mode 100644 index 0000000..11f29a4 --- /dev/null +++ b/config/initializers/simple_form_bootstrap.rb @@ -0,0 +1,175 @@ +# Use this setup block to configure all options available in SimpleForm. +SimpleForm.setup do |config| + config.error_notification_class = 'alert alert-danger' + config.button_class = 'btn btn-default' + config.boolean_label_class = nil + + config.wrappers :registration, tag: 'div', class: 'registration', error_class: 'has-error' do |b| + b.use :html5 + b.use :placeholder + b.optional :maxlength + b.optional :pattern + b.optional :min_max + b.optional :readonly + b.use :label, class: 'reg_label' + + b.use :input, class: 'reg_input' + b.use :error, wrap_with: { tag: 'span', class: 'help-block' } + b.use :hint, wrap_with: { tag: 'p', class: 'help-block' } + end + config.wrappers :contact_us, tag: 'div', class: 'contact_us', error_class: 'has-error' do |b| + b.use :html5 + b.use :placeholder + b.optional :maxlength + b.optional :pattern + b.optional :min_max + b.optional :readonly + b.use :label, class: 'contact_us_label col-sm-4.col-xs-12' + + b.use :input, class: 'contact_us_input col-sm-8 col-xs-12' + b.use :error, wrap_with: { tag: 'span', class: 'help-block' } + b.use :hint, wrap_with: { tag: 'p', class: 'help-block' } + end + + config.wrappers :vertical_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b| + b.use :html5 + b.use :placeholder + b.optional :maxlength + b.optional :pattern + b.optional :min_max + b.optional :readonly + b.use :label, class: 'control-label' + + b.use :input, class: 'form-control' + b.use :error, wrap_with: { tag: 'span', class: 'help-block' } + b.use :hint, wrap_with: { tag: 'p', class: 'help-block' } + end + config.wrappers :contact_us, tag: 'div', class: 'contact_us', error_class: 'contact_us_has-error' do |b| + b.use :html5 + b.use :placeholder + b.optional :maxlength + b.optional :pattern + b.optional :min_max + b.optional :readonly + b.use :label, class: 'contact_us_label col-sm-3 col-xs-12' + + b.use :input, class: 'contact_us_input col-sm-9 col-xs-12' + b.use :error, wrap_with: { tag: 'span', class: 'contact_us_help-block ' } + b.use :hint, wrap_with: { tag: 'p', class: 'contact_us_help-block ' } + end + config.wrappers :vertical_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b| + b.use :html5 + b.use :placeholder + b.optional :maxlength + b.optional :readonly + b.use :label, class: 'control-label' + + b.use :input + b.use :error, wrap_with: { tag: 'span', class: 'help-block' } + b.use :hint, wrap_with: { tag: 'p', class: 'help-block' } + end + + config.wrappers :vertical_boolean, tag: 'div', class: 'form-group', error_class: 'has-error' do |b| + b.use :html5 + b.optional :readonly + + b.wrapper tag: 'div', class: 'checkbox' do |ba| + ba.use :label_input + end + + b.use :error, wrap_with: { tag: 'span', class: 'help-block' } + b.use :hint, wrap_with: { tag: 'p', class: 'help-block' } + end + + config.wrappers :vertical_radio_and_checkboxes, tag: 'div', class: 'form-group', error_class: 'has-error' do |b| + b.use :html5 + b.optional :readonly + b.use :label, class: 'control-label' + b.use :input + b.use :error, wrap_with: { tag: 'span', class: 'help-block' } + b.use :hint, wrap_with: { tag: 'p', class: 'help-block' } + end + + config.wrappers :horizontal_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b| + b.use :html5 + b.use :placeholder + b.optional :maxlength + b.optional :pattern + b.optional :min_max + b.optional :readonly + b.use :label, class: 'col-sm-3 control-label' + + b.wrapper tag: 'div', class: 'col-sm-9' do |ba| + ba.use :input, class: 'form-control' + ba.use :error, wrap_with: { tag: 'span', class: 'help-block' } + ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' } + end + end + + config.wrappers :horizontal_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b| + b.use :html5 + b.use :placeholder + b.optional :maxlength + b.optional :readonly + b.use :label, class: 'col-sm-3 control-label' + + b.wrapper tag: 'div', class: 'col-sm-9' do |ba| + ba.use :input + ba.use :error, wrap_with: { tag: 'span', class: 'help-block' } + ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' } + end + end + + config.wrappers :horizontal_boolean, tag: 'div', class: 'form-group', error_class: 'has-error' do |b| + b.use :html5 + b.optional :readonly + + b.wrapper tag: 'div', class: 'col-sm-offset-3 col-sm-9' do |wr| + wr.wrapper tag: 'div', class: 'checkbox' do |ba| + ba.use :label_input, class: 'col-sm-9' + end + + wr.use :error, wrap_with: { tag: 'span', class: 'help-block' } + wr.use :hint, wrap_with: { tag: 'p', class: 'help-block' } + end + end + + config.wrappers :horizontal_radio_and_checkboxes, tag: 'div', class: 'form-group', error_class: 'has-error' do |b| + b.use :html5 + b.optional :readonly + + b.use :label, class: 'col-sm-3 control-label' + + b.wrapper tag: 'div', class: 'col-sm-9' do |ba| + ba.use :input + ba.use :error, wrap_with: { tag: 'span', class: 'help-block' } + ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' } + end + end + + config.wrappers :inline_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b| + b.use :html5 + b.use :placeholder + b.optional :maxlength + b.optional :pattern + b.optional :min_max + b.optional :readonly + b.use :label, class: 'sr-only' + + b.use :input, class: 'form-control' + b.use :error, wrap_with: { tag: 'span', class: 'help-block' } + b.use :hint, wrap_with: { tag: 'p', class: 'help-block' } + end + + # Wrappers for forms and inputs using the Bootstrap toolkit. + # Check the Bootstrap docs (http://getbootstrap.com) + # to learn about the different styles for forms and inputs, + # buttons and other elements. + config.default_wrapper = :vertical_form + config.wrapper_mappings = { + check_boxes: :vertical_radio_and_checkboxes, + radio_buttons: :vertical_radio_and_checkboxes, + file: :vertical_file_input, + boolean: :vertical_boolean, + } +end diff --git a/config/initializers/wrap_parameters.rb b/config/initializers/wrap_parameters.rb new file mode 100644 index 0000000..33725e9 --- /dev/null +++ b/config/initializers/wrap_parameters.rb @@ -0,0 +1,14 @@ +# Be sure to restart your server when you modify this file. + +# This file contains settings for ActionController::ParamsWrapper which +# is enabled by default. + +# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. +ActiveSupport.on_load(:action_controller) do + wrap_parameters format: [:json] if respond_to?(:wrap_parameters) +end + +# To enable root element in JSON for ActiveRecord objects. +# ActiveSupport.on_load(:active_record) do +# self.include_root_in_json = true +# end diff --git a/config/locales/en.bootstrap.yml b/config/locales/en.bootstrap.yml new file mode 100644 index 0000000..44e74b4 --- /dev/null +++ b/config/locales/en.bootstrap.yml @@ -0,0 +1,28 @@ +# Sample localization file for English. Add more files in this directory for other locales. +# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. + +en: + breadcrumbs: + application: + root: "Index" + pages: + pages: "Pages" + helpers: + actions: "Actions" + links: + back: "Back" + cancel: "Cancel" + confirm: "Are you sure?" + destroy: "Delete" + new: "New" + edit: "Edit" + apply: "Apply" + ok: "OK" + change_password: "Change password" + sign_out: "Sign out" + titles: + edit: "Edit %{model}" + save: "Save %{model}" + new: "New %{model}" + delete: "Delete %{model}" + logged_in_as: "Logged in as:" diff --git a/config/locales/en.yml b/config/locales/en.yml new file mode 100644 index 0000000..fdca8a5 --- /dev/null +++ b/config/locales/en.yml @@ -0,0 +1,128 @@ +en: + attributes: + id: Id + name: Name + login: Login + email: Email + password: Password + account: Account + identifier: Identifier + updated_at: Updated at + created_at: Created at + date: Date + number: Number + type: Type + image: Image + description: Description + subject: Subject + meta_keywords: Keywords + meta_description: Description + positions: Positions + processed_at: Processed at + text: Text + url_id: URL identifier + subscribed: Subscribed + on_hold: On hold + value: Value + activerecord: + models: + account: + one: Account + few: Accounts + many: Accounts + other: Accounts + administrator: + one: Administrator + few: Administrators + many: Administrators + other: Administrators + block: + one: Block + few: Blocks + many: Blocks + other: Blocks + certificate: + one: Certificate + few: Certificates + many: Certificates + other: Certificates + page: + one: Page + few: Pages + many: Pages + other: Pages + service: + one: Service + few: Services + many: Services + other: Services + setting: + one: Setting + few: Settings + many: Settings + other: Settings + social_network_link: + one: Social network link + few: Social network links + many: Social network links + other: Social network links + email: + one: Email + few: Emails + many: Emails + other: Emails + newsletter: + one: Newsletter + few: Newsletters + many: Newsletters + other: Newsletters + attributes: + account: + admin: Administrator + login: Login + email: Email + name: Name + last_name: Last name + middle_name: Middle name + page: + title: Title + body: Page body + enabled: Active + mode: Mode + modes: + path: Internal link + link: External link + page: Page + links: + main: Home page + contact_us: Contact us + admin_root: Admin + admin_area: Admin area + date: + formats: + default: ! '%d.%m.%Y' + long: ! '%d %B %Y' + short: ! '%d %b' + blocks: + apply_changes: Apply changes? + + + locale: + uk: РЈРєСЂ + ru: Р СѓСЃ + en: Eng + de: Ger + + info_box: + title: Plastic and aesthetic surgery + hospital: 8th Communal Clinical Hospital + department: Centre thermal injuries and plastic surgery + doctor_name: Dr. Taras Khaba + + about_me: About me + certificates: Certificates + services: Services + contacts: Contacts + helpers: + links: + front: "Site preview" diff --git a/config/locales/ru.bootstrap.yml b/config/locales/ru.bootstrap.yml new file mode 100644 index 0000000..a8969c1 --- /dev/null +++ b/config/locales/ru.bootstrap.yml @@ -0,0 +1,28 @@ +# Sample localization file for English. Add more files in this directory for other locales. +# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. + +ru: + breadcrumbs: + application: + root: "Главная" + pages: + pages: "Страницы" + helpers: + actions: "Действия" + links: + back: "Назад" + cancel: "Отменить" + confirm: "Р’С‹ уверены?" + destroy: "Удалить" + new: "Создать" + edit: "Редактировать" + apply: "Применить" + ok: "Хорошо" + change_password: "Рзменить пароль" + sign_out: "Выйти" + titles: + edit: "Редактировать %{model}" + save: "Сохранить %{model}" + new: "Создать %{model}" + delete: "Удалить %{model}" + logged_in_as: "Р’С‹ вошли как:" diff --git a/config/locales/ru.yml b/config/locales/ru.yml new file mode 100644 index 0000000..7d27aad --- /dev/null +++ b/config/locales/ru.yml @@ -0,0 +1,376 @@ +ru: + attributes: + id: РљРѕРґ + name: Название + login: Логин + email: Електронный адрес + password: Пароль + account: Учетная запись + identifier: Рдентификатор + updated_at: Обновлено + created_at: Создано + date: Дата + number: Номер + type: РўРёРї + image: Рзображение + description: Описание + subject: Тема + meta_keywords: Ключевые слова + meta_description: Описание + positions: Позиции + processed_at: Обработано + text: Текст + url_id: Рдентификатор ссылки + subscribed: Получает рассылку + on_hold: РќР° удерживании + value: Значение + activerecord: + models: + account: + one: Учетная запись + few: Учетные записи + many: Учетных записей + other: Учетные записи + administrator: + one: Администратор + few: Администраторы + many: Администраторов + other: Администраторы + block: + one: Блок + few: Блоки + many: Блоки + other: Блоки + certificate: + one: Сертификат + few: Сертификаты + many: Сертификатов + other: Сертификаты + page: + one: Страница + few: Страницы + many: Страниц + other: Страницы + service: + one: Услуга + few: Услуги + many: Услуг + other: Услуги + setting: + one: Настройка + few: Настройки + many: Настройок + other: Настройки + social_network_link: + one: Ссылка РЅР° социальную сеть + few: Ссылок РЅР° социальную сеть + many: Ссылки РЅР° социальную сеть + other: Ссылки РЅР° социальную сеть + email: + one: Рлектронное РїРёСЃСЊРјРѕ + few: Рлектронные РїРёСЃСЊРјР° + many: Рлектронных писем + other: Рлектронные РїРёСЃСЊРјР° + newsletter: + one: Рассылка + few: Рассылки + many: Рассылок + other: Рассылки + attributes: + account: + admin: Администратор + login: Логин + email: Електронный адрес + name: Імя + last_name: Фамилия + middle_name: Отчество + page: + title: Название страницы + body: Тело страницы + enabled: Активная + mode: Режим + modes: + path: Внутренняя ссылка + link: Внешняя ссылка + page: Страница + links: + main: Домашняя страница + contact_us: Написать нам + admin_root: РђРґРјС–РЅРєР° + admin_area: Панель администратора + errors: + models: + messages: + accepted: необходимо подтвердить + confirmation: РЅРµ совпадает СЃ подтверждением + empty: РЅРµ может быть пустым + equal_to: может иметь только значение, равное %{count} + even: может иметь только непарное значение + exclusion: имеет зарезервированное значение + greater_than: может иметь значение больше чем %{count} + invalid: имеет неверное значение + less_than: может иметь значение меньше чем %{count} + less_than_or_equal_to: может иметь значение меньше или равное %{count} + not_a_number: РЅРµ является числом + not_an_integer: РЅРµ является целым числом + odd: может иметь только парное значение + record_invalid: ! "Возникли ошибки: %{errors}" + + taken: уже существует + greater_than_or_equal_to: может иметь значение большее или равное %{count} + greater_than: "должно бить больше %{count}" + blank: РЅРµ может отсутствовать + inclusion: имеет непредсказуемое значение + cannot_change_warehouse: "Невозможно изменить слад" + invalid_format: Неправильный формат + output_ware_documents_are_present: "есть подчиненные расходные документы" + client_card_present: присутствует, удалить невозможно + not_a_number: РЅРµ является числом + + too_long: + few: слишком большая длина (РЅРµ может быть больше чем %{count} символы) + many: слишком большая длина (РЅРµ может быть больше чем %{count} символов) + one: слишком большая длина (РЅРµ может быть больше чем %{count} СЃРёРјРІРѕР») + other: слишком большая длина (РЅРµ может быть больше чем %{count} символов) + too_short: + few: нодостаточной длины (РЅРµ может быть меньше %{count} символы) + many: нодостаточной длины (РЅРµ может быть меньше %{count} символов) + one: нодостаточной длины (РЅРµ может быть меньше %{count} символа) + other: нодостаточной длины (РЅРµ может быть меньше %{count} символов) + wrong_length: + few: неверной длины (может быть длиной СЂРѕРІРЅРѕ %{count} символы) + many: неверной длины (может быть длиной СЂРѕРІРЅРѕ %{count} символов) + one: неверной длины (может быть длиной СЂРѕРІРЅРѕ %{count} СЃРёРјРІРѕР») + other: неверной длины (может быть длиной СЂРѕРІРЅРѕ %{count} символов) + template: + body: "Возникли следующие проблеми:" + header: + few: "%{model}: сохранение РЅРµ состоялось РёР·-Р·Р° %{count} ошибок" + many: "%{model}: сохранение РЅРµ состоялось РёР·-Р·Р° %{count} ошибок" + one: "%{model}: сохранение РЅРµ состоялось РёР·-Р·Р° %{count} ошибки" + other: "%{model}: сохранение РЅРµ состоялось РёР·-Р·Р° %{count} ошибок" + + date: + abbr_day_names: + - РќРґ + - РџРЅ + - Р’С‚ + - РЎСЂ + - Чт + - РџС‚ + - РЎР± + abbr_month_names: + - + - января + - февраля + - марта + - апреля + - мая + - июля + - РёСЋРЅСЏ + - августа + - сентября + - октября + - РЅРѕСЏР±СЂСЏ + - декабря + day_names: + - воскресенье + - понедельник + - вторник + - среда + - четверг + - пятница + - суббота + formats: + default: ! '%d.%m.%Y' + long: ! '%d %B %Y' + short: ! '%d %b' + month_names: + - + - января + - февраля + - марта + - апреля + - мая + - июля + - РёСЋРЅСЏ + - августа + - сентября + - октября + - РЅРѕСЏР±СЂСЏ + - декабря + order: + - :day + - :month + - :year + datetime: + distance_in_words: + about_x_hours: + few: около %{count} часов + many: около %{count} часов + one: около %{count} часа + other: около %{count} часов + about_x_months: + few: около %{count} месяцев + many: около %{count} месяцев + one: около %{count} месяца + other: около %{count} месяцев + about_x_years: + few: около %{count} лет + many: около %{count} лет + one: около %{count} РіРѕРґР° + other: около %{count} лет + almost_x_years: + one: почти %{count} РіРѕРґ + few: почти %{count} РіРѕРґР° + many: почти %{count} лет + other: почти %{count} лет + half_a_minute: меньше минуты + less_than_x_minutes: + few: меньше %{count} РјРёРЅСѓС‚ + many: меньше %{count} РјРёРЅСѓС‚ + one: меньше %{count} минуты + other: меньше %{count} РјРёРЅСѓС‚ + less_than_x_seconds: + few: меньше %{count} секунд + many: меньше %{count} секунд + one: меньше %{count} секунды + other: меньше %{count} секунд + over_x_years: + few: больше %{count} лет + many: больше %{count} лет + one: больше %{count} РіРѕРґР° + other: больше %{count} лет + x_days: + few: ! '%{count} РґРЅСЏ' + many: ! '%{count} дней' + one: ! '%{count} день' + other: ! '%{count} РґРЅСЏ' + x_minutes: + few: ! '%{count} минуты' + many: ! '%{count} РјРёРЅСѓС‚' + one: ! '%{count} минуту' + other: ! '%{count} минуты' + x_months: + few: ! '%{count} месяца' + many: ! '%{count} месяцев' + one: ! '%{count} месяц' + other: ! '%{count} месяца' + x_seconds: + few: ! '%{count} секунды' + many: ! '%{count} секунд' + one: ! '%{count} секунда' + other: ! '%{count} секунды' + prompts: + day: Дней + hour: Часов + minute: РњРёРЅСѓС‚ + month: Месяцев + second: Секунд + year: Лет + + number: + currency: + format: + delimiter: " " + format: "%n %u" + precision: 2 + separator: "," + significant: false + strip_insignificant_zeros: false + unit: РіСЂРЅ. + format: + delimiter: " " + precision: 3 + separator: "," + significant: false + strip_insignificant_zeros: false + human: + decimal_units: + format: "%n %u" + units: + billion: + few: миллиарда + many: миллиардов + one: миллиард + other: миллиардов + million: + few: милиона + many: милионов + one: милион + other: милионов + quadrillion: + few: квадрильйона + many: квадрильйонов + one: квадрильйон + other: квадрильйонов + thousand: + few: тысячи + many: тысяч + one: тысяча + other: тысяч + trillion: + few: триллиона + many: триллионов + one: триллион + other: триллионов + unit: "" + format: + delimiter: "" + precision: 1 + significant: false + strip_insignificant_zeros: false + storage_units: + format: "%n %u" + units: + byte: + few: байта + many: байт + one: байт + other: байта + gb: ГБ + kb: РљР‘ + mb: РњР‘ + tb: РўР‘ + percentage: + format: + delimiter: "" + precision: + format: + delimiter: "" + support: + array: + last_word_connector: " Рё " + two_words_connector: " Рё " + words_connector: ", " + time: + formats: + default: "%a, %d %b %Y, %H:%M:%S %z" + long: "%d %B %Y, %H:%M" + short: "%d %b, %H:%M" + pm: вечора + am: ранку + + blocks: + apply_changes: Применить изменения? + + + locale: + uk: РЈРєСЂ + ru: Р СѓСЃ + en: Eng + de: Ger + + info_box: + title: Пластическая Рё эстетическая С…РёСЂСѓСЂРіРёСЏ + hospital: Коммунальная 8-СЏ клиническая больница + department: Центр термической травмы Рё пластической С…РёСЂСѓСЂРіРёРё + doctor_name: Хаба Тарас Петрович + + about_me: РћР±Рѕ РјРЅРµ + certificates: Сертификаты + services: Услуги + contacts: Контакты + helpers: + links: + front: "Просмотр сайта" diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml new file mode 100644 index 0000000..2374383 --- /dev/null +++ b/config/locales/simple_form.en.yml @@ -0,0 +1,31 @@ +en: + simple_form: + "yes": 'Yes' + "no": 'No' + required: + text: 'required' + mark: '*' + # You can uncomment the line below if you need to overwrite the whole required html. + # When using html, text and mark won't be used. + # html: '<abbr title="required">*</abbr>' + error_notification: + default_message: "Please review the problems below:" + # Examples + # labels: + # defaults: + # password: 'Password' + # user: + # new: + # email: 'E-mail to sign in.' + # edit: + # email: 'E-mail.' + # hints: + # defaults: + # username: 'User name to sign in.' + # password: 'No special characters, please.' + # include_blanks: + # defaults: + # age: 'Rather not say' + # prompts: + # defaults: + # age: 'Select your age' diff --git a/config/locales/simple_form.ru.yml b/config/locales/simple_form.ru.yml new file mode 100644 index 0000000..addcaaa --- /dev/null +++ b/config/locales/simple_form.ru.yml @@ -0,0 +1,31 @@ +ru: + simple_form: + "yes": 'Да' + "no": 'Нет' + required: + text: 'обязательный' + mark: '*' + # You can uncomment the line below if you need to overwrite the whole required html. + # When using html, text and mark won't be used. + # html: '<abbr title="required">*</abbr>' + error_notification: + default_message: "Пожалуйста, просмотрите следующие проблемы:" + # Examples + # labels: + # defaults: + # password: 'Password' + # user: + # new: + # email: 'E-mail to sign in.' + # edit: + # email: 'E-mail.' + # hints: + # defaults: + # username: 'User name to sign in.' + # password: 'No special characters, please.' + # include_blanks: + # defaults: + # age: 'Rather not say' + # prompts: + # defaults: + # age: 'Select your age' diff --git a/config/locales/simple_form.uk.yml b/config/locales/simple_form.uk.yml new file mode 100644 index 0000000..a242b07 --- /dev/null +++ b/config/locales/simple_form.uk.yml @@ -0,0 +1,31 @@ +uk: + simple_form: + "yes": 'Так' + "no": 'РќС–' + required: + text: 'вимагається' + mark: '*' + # You can uncomment the line below if you need to overwrite the whole required html. + # When using html, text and mark won't be used. + # html: '<abbr title="required">*</abbr>' + error_notification: + default_message: "Будь ласка, перегляньте наступні проблеми:" + # Examples + # labels: + # defaults: + # password: 'Password' + # user: + # new: + # email: 'E-mail to sign in.' + # edit: + # email: 'E-mail.' + # hints: + # defaults: + # username: 'User name to sign in.' + # password: 'No special characters, please.' + # include_blanks: + # defaults: + # age: 'Rather not say' + # prompts: + # defaults: + # age: 'Select your age' diff --git a/config/locales/uk.bootstrap.yml b/config/locales/uk.bootstrap.yml new file mode 100644 index 0000000..9fea9b1 --- /dev/null +++ b/config/locales/uk.bootstrap.yml @@ -0,0 +1,28 @@ +# Sample localization file for English. Add more files in this directory for other locales. +# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. + +uk: + breadcrumbs: + application: + root: "Головна" + pages: + pages: "Сторінки" + helpers: + actions: "Дії" + links: + back: "Назад" + cancel: "Скасувати" + confirm: "Р’Рё впевнені?" + destroy: "Видалити" + new: "Створити" + edit: "Редагувати" + apply: "Застосовувати" + ok: "Гаразд" + change_password: "Змінити пароль" + sign_out: "Вийти" + titles: + edit: "Редагувати %{model}" + save: "Зберегти %{model}" + new: "Створити %{model}" + delete: "Видалити %{model}" + logged_in_as: "Р’Рё увійшли СЏРє:" diff --git a/config/locales/uk.yml b/config/locales/uk.yml new file mode 100644 index 0000000..ec40fce --- /dev/null +++ b/config/locales/uk.yml @@ -0,0 +1,376 @@ +uk: + attributes: + id: РљРѕРґ + name: Назва + login: Логін + email: Електронна адреса + password: Пароль + account: Обліковий запис + identifier: Ідентифікатор + updated_at: Оновлено + created_at: Створено + date: Дата + number: Номер + type: РўРёРї + image: Зображення + description: РћРїРёСЃ + subject: Тема + meta_keywords: Ключові слова + meta_description: РћРїРёСЃ + positions: Позиції + processed_at: Опрацьовано + text: Текст + url_id: Ідентифікатор посилання + subscribed: Отримує розсилку + on_hold: РќР° утриманні + value: Значення + activerecord: + models: + account: + one: Обліковий запис + few: Облікові записи + many: Облікові записів + other: Облікові записи + administrator: + one: Адміністратор + few: Адміністратори + many: Адміністраторів + other: Адміністратори + block: + one: Блок + few: Блоки + many: Блоки + other: Блоки + certificate: + one: Сертифікат + few: Сертифікати + many: Сертифікатів + other: Сертифікати + page: + one: Сторінка + few: Сторінки + many: Сторінок + other: Сторінки + service: + one: Послуга + few: Послуги + many: Послуг + other: Послуги + setting: + one: Налаштування + few: Налаштування + many: Налаштувань + other: Налаштування + social_network_link: + one: Посилання РЅР° соціальну мережу + few: Посилань РЅР° соціальну мережу + many: Посилання РЅР° соціальну мережу + other: Посилання РЅР° соціальну мережу + email: + one: Електронний лист + few: Електронні листи + many: Електроннх листів + other: Електронні листи + newsletter: + one: Розсилка + few: Розсилки + many: Розсилок + other: Розсилки + attributes: + account: + admin: Адміністратор + login: Логін + email: Електронна адреса + name: Ім'СЏ + last_name: Прізвище + middle_name: РџРѕ батькові + page: + title: Назва сторінки + body: Тіло сторінки + enabled: Активна + mode: Режим + modes: + path: Внутрішнє посилання + link: Зовнішнє посилання + page: Сторінка + links: + main: Домашня сторінка + contact_us: Написати нам + admin_root: РђРґРјС–РЅРєР° + admin_area: Панель адміністратора + errors: + models: + messages: + accepted: необхідно підтвердити + confirmation: РЅРµ співпадає Р· підтвердженням + empty: РЅРµ може бути порожнім + equal_to: може мати лише значення, СЂС–РІРЅРµ %{count} + even: може мати лише непарне значення + exclusion: має зарезервоване значення + greater_than: може мати значення більше %{count} + invalid: має невірне значення + less_than: може мати значення менше чим %{count} + less_than_or_equal_to: може мати значення менше чи СЂС–РІРЅРµ %{count} + not_a_number: РЅРµ являється числом + not_an_integer: РЅРµ являється цілим числом + odd: може мати лише парне значення + record_invalid: ! 'Виникли помилки: %{errors}' + + taken: Вже С–СЃРЅСѓС” + greater_than_or_equal_to: Може мати значення більше чи СЂС–РІРЅРµ %{count} + greater_than: "РџРѕРІРёРЅРЅРѕ бути більше %{count}" + blank: РќРµ може бути відсутнім + inclusion: Має непередбачуване значення + not_a_number: РќРµ являється числом + cannot_change_warehouse: Неможливо змінити склад + invalid_format: Неправильний формат + output_ware_documents_are_present: "присутні підлеглі СЂРѕР·С…С–РґРЅС– документи" + client_card_present: присутня, видалити неможливо + + too_long: + few: надто велика довжина (РЅРµ може бути більше чим %{count} символи) + many: надто велика довжина (РЅРµ може бути більше чим %{count} символи) + one: надто велика довжина (РЅРµ може бути більше чим %{count} СЃРёРјРІРѕР») + other: надто велика довжина (РЅРµ може бути більше чим %{count} символу) + too_short: + few: нодостатньої довжини (РЅРµ може бути менше %{count} символів) + many: нодостатньої довжини (РЅРµ може бути менше %{count} символів) + one: нодостатньої довжини (РЅРµ може бути менше %{count} символу) + other: нодостатньої довжини (РЅРµ може бути менше %{count} символів) + wrong_length: + few: невірної довжини (може бути довжиною СЂС–РІРЅРѕ %{count} символи) + many: невірної довжини (може бути довжиною СЂС–РІРЅРѕ %{count} символів) + one: невірної довжини (може бути довжиною СЂС–РІРЅРѕ %{count} СЃРёРјРІРѕР») + other: невірної довжини (може бути довжиною СЂС–РІРЅРѕ %{count} символу) + template: + body: 'Виникли наступні проблеми:' + header: + few: '%{model}: збереження РЅРµ відбулося через %{count} помилок' + many: '%{model}: збереження РЅРµ відбулося через %{count} помилок' + one: '%{model}: збереження РЅРµ відбулося через %{count} помилку' + other: '%{model}: збереження РЅРµ відбулося через %{count} помилок' + + date: + abbr_day_names: + - РќРґ + - РџРЅ + - Р’С‚ + - РЎСЂ + - Чт + - РџС‚ + - РЎР± + abbr_month_names: + - + - січня + - лютого + - березня + - квітня + - травня + - червня + - липня + - серпня + - вересня + - жовтня + - листопада + - РіСЂСѓРґРЅСЏ + day_names: + - неділя + - понеділок + - вівторок + - середа + - четвер + - Рї'ятница + - субота + formats: + default: ! '%d.%m.%Y' + long: ! '%d %B %Y' + short: ! '%d %b' + month_names: + - + - січня + - лютого + - березня + - квітня + - травня + - червня + - липня + - серпня + - вересня + - жовтня + - листопада + - РіСЂСѓРґРЅСЏ + order: + - :day + - :month + - :year + datetime: + distance_in_words: + about_x_hours: + few: близько %{count} РіРѕРґРёРЅ + many: близько %{count} РіРѕРґРёРЅ + one: близько %{count} РіРѕРґРёРЅРё + other: близько %{count} РіРѕРґРёРЅРё + about_x_months: + few: близько %{count} місяців + many: близько %{count} місяців + one: близько %{count} місяця + other: близько %{count} місяця + about_x_years: + few: близько %{count} СЂРѕРєС–РІ + many: близько %{count} СЂРѕРєС–РІ + one: близько %{count} СЂРѕРєСѓ + other: близько %{count} СЂРѕРєС–РІ + almost_x_years: + one: майже 1 СЂС–Рє + few: майже %{count} СЂРѕРєСѓ + many: майже %{count} СЂРѕРєС–РІ + other: майже %{count} СЂРѕРєС–РІ + half_a_minute: менше хвилини + less_than_x_minutes: + few: менше %{count} хвилин + many: менше %{count} хвилин + one: менше %{count} хвилини + other: менше %{count} хвилини + less_than_x_seconds: + few: менше %{count} секунд + many: менше %{count} секунд + one: менше %{count} секунди + other: менше %{count} секунди + over_x_years: + few: більше %{count} СЂРѕРєС–РІ + many: більше %{count} СЂРѕРєС–РІ + one: більше %{count} СЂРѕРєСѓ + other: більше %{count} СЂРѕРєС–РІ + x_days: + few: ! '%{count} РґРЅСЏ' + many: ! '%{count} РґРЅС–РІ' + one: ! '%{count} день' + other: ! '%{count} РґРЅСЏ' + x_minutes: + few: ! '%{count} хвилини' + many: ! '%{count} хвилин' + one: ! '%{count} хвилину' + other: ! '%{count} хвилини' + x_months: + few: ! '%{count} місяця' + many: ! '%{count} місяців' + one: ! '%{count} РјС–СЃСЏС†' + other: ! '%{count} місяця' + x_seconds: + few: ! '%{count} секунди' + many: ! '%{count} секунд' + one: ! '%{count} секунда' + other: ! '%{count} секунди' + prompts: + day: День + hour: Годин + minute: Хвилин + month: Місяць + second: Секунд + year: Р С–РєС–РІ + + number: + currency: + format: + delimiter: ' ' + format: '%n %u' + precision: 2 + separator: ',' + significant: false + strip_insignificant_zeros: false + unit: РіСЂРЅ. + format: + delimiter: ' ' + precision: 3 + separator: ',' + significant: false + strip_insignificant_zeros: false + human: + decimal_units: + format: '%n %u' + units: + billion: + few: мільярдів + many: мільярдів + one: мільярдів + other: мільярдів + million: + few: мільйонів + many: мільйонів + one: мільйон + other: мільйонів + quadrillion: + few: квадрільйонів + many: квадрільйонів + one: квадрільйон + other: квадрільйонів + thousand: + few: тисяч + many: тисяч + one: тисяча + other: тисяч + trillion: + few: трильйонів + many: трильйонів + one: трильйон + other: трильйонів + unit: '' + format: + delimiter: '' + precision: 1 + significant: false + strip_insignificant_zeros: false + storage_units: + format: '%n %u' + units: + byte: + few: байту + many: байт + one: байт + other: байту + gb: ГБ + kb: РљР‘ + mb: РњР‘ + tb: РўР‘ + percentage: + format: + delimiter: '' + precision: + format: + delimiter: '' + support: + array: + last_word_connector: ' С– ' + two_words_connector: ' С– ' + words_connector: ', ' + time: + formats: + default: '%a, %d %b %Y, %H:%M:%S %z' + long: ! '%d %B %Y' + short: '%d %b, %H:%M' + pm: вечора + am: ранку + + blocks: + apply_changes: Застосувати Р·РјС–РЅРё? + + + locale: + uk: РЈРєСЂ + ru: Р СѓСЃ + en: Eng + de: Ger + + info_box: + title: Пластична та естетична С…С–СЂСѓСЂРіС–СЏ + hospital: Комунальна 8-РјР° клінічна лікарня + department: Центр Термічної травми та пластичної С…С–СЂСѓСЂРіС–С— + doctor_name: Хаба Тарас Петрович + + about_me: РџСЂРѕ мене + certificates: Сертифікати + services: Послуги + contacts: Контакти + helpers: + links: + front: "Перегляд сайту" diff --git a/config/routes.rb b/config/routes.rb new file mode 100644 index 0000000..22e3072 --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,42 @@ +Rails.application.routes.draw do + scope '(:locale)', {locale: Regexp.new(locales.join '|')} do + devise_for :accounts + + scope '/admin' do + mount Ckeditor::Engine => '/ckeditor' + resources :pages + resources :settings, only: [:index, :edit, :update] + + controller :accounts do + get 'accounts' => :index, as: 'accounts' + get 'account/:id' => :show, as: 'account' + get 'account/:id/edit' => :edit, as: 'edit_account' + patch 'account/:id' => :update + end + + resources :newsletters + controller :newsletters do + get 'newsletters/:id/send' => :sending, as: 'send_newsletter' + get 'newsletters/:id/resend' => :resend, as: 'resend_newsletter' + end + + controller :admin do + get '/' => :index, as: :admin_index + end + + controller :blocks do + post 'blocks/apply' => :apply + post 'blocks/cancel' => :cancel + patch 'blocks/:id/' => :update, as: :update_block + get 'blocks/:id/edit' => :edit + end + + root 'pages#index', as: :admin + end + + get '/' => 'front#index' + get 'pages/:id' => 'front#page', as: :front_page + + root 'front#index' + end +end diff --git a/config/secrets.yml b/config/secrets.yml new file mode 100644 index 0000000..ee49c17 --- /dev/null +++ b/config/secrets.yml @@ -0,0 +1,22 @@ +# Be sure to restart your server when you modify this file. + +# Your secret key is used for verifying the integrity of signed cookies. +# If you change this key, all old signed cookies will become invalid! + +# Make sure the secret is at least 30 characters and all random, +# no regular words or you'll be exposed to dictionary attacks. +# You can use `rake secret` to generate a secure secret key. + +# Make sure the secrets in this file are kept private +# if you're sharing your code publicly. + +development: + secret_key_base: 131a0967dd145c8199cb4d109570ea8f417d41d9e339cb005a6638535f08e7004cbf1823f03f9b93a14df3dcf67fa84decdea0ada8298226da8e3161b2466979 + +test: + secret_key_base: 3e8261c71d235168cca1d58f99529b2ec3f4d8ca319de079e9b19749585d7956f406ab5ffc3d1434155861ebcb62540f37eff704e3ebca8862758490630e00b3 + +# Do not keep production secrets in the repository, +# instead read values from the environment. +production: + secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> diff --git a/db/migrate/20150506142023_devise_create_accounts.rb b/db/migrate/20150506142023_devise_create_accounts.rb new file mode 100644 index 0000000..494b0ff --- /dev/null +++ b/db/migrate/20150506142023_devise_create_accounts.rb @@ -0,0 +1,49 @@ +class DeviseCreateAccounts < ActiveRecord::Migration + def change + create_table(:accounts) do |t| + ## Database authenticatable + t.string :email, null: false, default: '' + t.string :encrypted_password, null: false, default: '' + t.decimal :balance, precision: 8, scale: 2, null:false, default: 0 + t.boolean :on_hold, null: false, default: false + t.boolean :subscribed, null: false, default: true + t.string :locale, null: false, default: :en + + ## Recoverable + t.string :reset_password_token + t.datetime :reset_password_sent_at + + ## Rememberable + t.datetime :remember_created_at + + ## Trackable + t.integer :sign_in_count, default: 0, null: false + t.datetime :current_sign_in_at + t.datetime :last_sign_in_at + t.string :current_sign_in_ip + t.string :last_sign_in_ip + + ## Confirmable + t.string :confirmation_token + t.datetime :confirmed_at + t.datetime :confirmation_sent_at + t.string :unconfirmed_email # Only if using reconfirmable + + ## Lockable + # t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts + # t.string :unlock_token # Only if unlock strategy is :email or :both + # t.datetime :locked_at + + + t.timestamps null: false + end + + add_index :accounts, :email, unique: true + add_index :accounts, :reset_password_token, unique: true + add_index :accounts, :on_hold + add_index :accounts, :subscribed + add_index :accounts, :locale + add_index :accounts, :confirmation_token, unique: true + # add_index :accounts, :unlock_token, unique: true + end +end diff --git a/db/migrate/20150506142148_create_administrators.rb b/db/migrate/20150506142148_create_administrators.rb new file mode 100644 index 0000000..eeb6841 --- /dev/null +++ b/db/migrate/20150506142148_create_administrators.rb @@ -0,0 +1,10 @@ +class CreateAdministrators < ActiveRecord::Migration + def change + create_table :administrators do |t| + t.integer :account_id, null: false + + t.timestamps null: false + end + add_index :administrators, :account_id + end +end diff --git a/db/migrate/20150517084222_create_active_translation.rb b/db/migrate/20150517084222_create_active_translation.rb new file mode 100644 index 0000000..5d04253 --- /dev/null +++ b/db/migrate/20150517084222_create_active_translation.rb @@ -0,0 +1,23 @@ +class CreateActiveTranslation < ActiveRecord::Migration + def change + create_table :translations do |t| + t.string :locale, index: true + t.text :text + t.integer :phrase_id, index: true + t.timestamps null: false + end + add_index :translations, :text, length: {:text => 255} + + create_table :phrases do |t| + t.timestamps null: false + end + + create_table :phrase_containers do |t| + t.integer :translatable_id + t.string :translatable_type + t.string :attribute_name, index: true + t.integer :phrase_id, index: true + end + add_index :phrase_containers, [:translatable_id, :translatable_type] + end +end diff --git a/db/migrate/20150525174028_create_newsletters.rb b/db/migrate/20150525174028_create_newsletters.rb new file mode 100644 index 0000000..7d10670 --- /dev/null +++ b/db/migrate/20150525174028_create_newsletters.rb @@ -0,0 +1,14 @@ +class CreateNewsletters < ActiveRecord::Migration + def change + create_table :newsletters do |t| + t.string :subject + t.text :text + t.integer :last_id + t.integer :processed_id + t.datetime :processed_at + t.text :recipient_filter + + t.timestamps null: false + end + end +end diff --git a/db/migrate/20150715143148_create_blocks.rb b/db/migrate/20150715143148_create_blocks.rb new file mode 100644 index 0000000..bacf01a --- /dev/null +++ b/db/migrate/20150715143148_create_blocks.rb @@ -0,0 +1,12 @@ +class CreateBlocks < ActiveRecord::Migration + def change + create_table :blocks do |t| + t.string :key + t.integer :block_version_id + + t.timestamps + end + add_index :blocks, :key + add_index :blocks, :block_version_id + end +end diff --git a/db/migrate/20150715143248_create_block_versions.rb b/db/migrate/20150715143248_create_block_versions.rb new file mode 100644 index 0000000..67842f3 --- /dev/null +++ b/db/migrate/20150715143248_create_block_versions.rb @@ -0,0 +1,12 @@ +class CreateBlockVersions < ActiveRecord::Migration + def change + create_table :block_versions do |t| + t.integer :account_id + t.boolean :active + + t.timestamps + end + add_index :block_versions, :active + add_index :block_versions, :account_id + end +end diff --git a/db/migrate/20151130142520_create_pages.rb b/db/migrate/20151130142520_create_pages.rb new file mode 100644 index 0000000..b8670da --- /dev/null +++ b/db/migrate/20151130142520_create_pages.rb @@ -0,0 +1,19 @@ +class CreatePages < ActiveRecord::Migration + def change + create_table :pages do |t| + # t.string :title + t.string :mode + t.string :link + # t.text :body + t.string :url_id + t.integer :position + t.boolean :enabled + t.text :keywords + # t.text :description + + t.timestamps null: false + end + add_index :pages, :position + add_index :pages, :url_id + end +end diff --git a/db/migrate/20151227121014_create_settings.rb b/db/migrate/20151227121014_create_settings.rb new file mode 100644 index 0000000..86f3f1e --- /dev/null +++ b/db/migrate/20151227121014_create_settings.rb @@ -0,0 +1,11 @@ +class CreateSettings < ActiveRecord::Migration + def change + create_table :settings do |t| + t.string :name + t.text :value + + t.timestamps null: false + end + add_index :settings, :name, unique: true + end +end diff --git a/db/migrate/20160302111301_create_ckeditor_assets.rb b/db/migrate/20160302111301_create_ckeditor_assets.rb new file mode 100644 index 0000000..5041fc0 --- /dev/null +++ b/db/migrate/20160302111301_create_ckeditor_assets.rb @@ -0,0 +1,26 @@ +class CreateCkeditorAssets < ActiveRecord::Migration + def self.up + create_table :ckeditor_assets do |t| + t.string :data_file_name, :null => false + t.string :data_content_type + t.integer :data_file_size + + t.integer :assetable_id + t.string :assetable_type, :limit => 30 + t.string :type, :limit => 30 + + # Uncomment it to save images dimensions, if your need it + t.integer :width + t.integer :height + + t.timestamps null: false + end + + add_index "ckeditor_assets", ["assetable_type", "type", "assetable_id"], :name => "idx_ckeditor_assetable_type" + add_index "ckeditor_assets", ["assetable_type", "assetable_id"], :name => "idx_ckeditor_assetable" + end + + def self.down + drop_table :ckeditor_assets + end +end diff --git a/db/schema.rb b/db/schema.rb new file mode 100644 index 0000000..13d0475 --- /dev/null +++ b/db/schema.rb @@ -0,0 +1,152 @@ +# encoding: UTF-8 +# This file is auto-generated from the current state of the database. Instead +# of editing this file, please use the migrations feature of Active Record to +# incrementally modify your database, and then regenerate this schema definition. +# +# Note that this schema.rb definition is the authoritative source for your +# database schema. If you need to create the application database on another +# system, you should be using db:schema:load, not running all the migrations +# from scratch. The latter is a flawed and unsustainable approach (the more migrations +# you'll amass, the slower it'll run and the greater likelihood for issues). +# +# It's strongly recommended that you check this file into your version control system. + +ActiveRecord::Schema.define(version: 20160302111301) do + + create_table "accounts", force: :cascade do |t| + t.string "email", limit: 255, default: "", null: false + t.string "encrypted_password", limit: 255, default: "", null: false + t.decimal "balance", precision: 8, scale: 2, default: 0.0, null: false + t.boolean "on_hold", default: false, null: false + t.boolean "subscribed", default: true, null: false + t.string "locale", limit: 255, default: "en", null: false + t.string "reset_password_token", limit: 255 + t.datetime "reset_password_sent_at" + t.datetime "remember_created_at" + t.integer "sign_in_count", limit: 4, default: 0, null: false + t.datetime "current_sign_in_at" + t.datetime "last_sign_in_at" + t.string "current_sign_in_ip", limit: 255 + t.string "last_sign_in_ip", limit: 255 + t.string "confirmation_token", limit: 255 + t.datetime "confirmed_at" + t.datetime "confirmation_sent_at" + t.string "unconfirmed_email", limit: 255 + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + + add_index "accounts", ["confirmation_token"], name: "index_accounts_on_confirmation_token", unique: true, using: :btree + add_index "accounts", ["email"], name: "index_accounts_on_email", unique: true, using: :btree + add_index "accounts", ["locale"], name: "index_accounts_on_locale", using: :btree + add_index "accounts", ["on_hold"], name: "index_accounts_on_on_hold", using: :btree + add_index "accounts", ["reset_password_token"], name: "index_accounts_on_reset_password_token", unique: true, using: :btree + add_index "accounts", ["subscribed"], name: "index_accounts_on_subscribed", using: :btree + + create_table "administrators", force: :cascade do |t| + t.integer "account_id", limit: 4, null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + + add_index "administrators", ["account_id"], name: "index_administrators_on_account_id", using: :btree + + create_table "block_versions", force: :cascade do |t| + t.integer "account_id", limit: 4 + t.boolean "active" + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "block_versions", ["account_id"], name: "index_block_versions_on_account_id", using: :btree + add_index "block_versions", ["active"], name: "index_block_versions_on_active", using: :btree + + create_table "blocks", force: :cascade do |t| + t.string "key", limit: 255 + t.integer "block_version_id", limit: 4 + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "blocks", ["block_version_id"], name: "index_blocks_on_block_version_id", using: :btree + add_index "blocks", ["key"], name: "index_blocks_on_key", using: :btree + + create_table "ckeditor_assets", force: :cascade do |t| + t.string "data_file_name", limit: 255, null: false + t.string "data_content_type", limit: 255 + t.integer "data_file_size", limit: 4 + t.integer "assetable_id", limit: 4 + t.string "assetable_type", limit: 30 + t.string "type", limit: 30 + t.integer "width", limit: 4 + t.integer "height", limit: 4 + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + + add_index "ckeditor_assets", ["assetable_type", "assetable_id"], name: "idx_ckeditor_assetable", using: :btree + add_index "ckeditor_assets", ["assetable_type", "type", "assetable_id"], name: "idx_ckeditor_assetable_type", using: :btree + + create_table "newsletters", force: :cascade do |t| + t.string "subject", limit: 255 + t.text "text", limit: 65535 + t.integer "last_id", limit: 4 + t.integer "processed_id", limit: 4 + t.datetime "processed_at" + t.text "recipient_filter", limit: 65535 + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + + create_table "pages", force: :cascade do |t| + t.string "mode", limit: 255 + t.string "link", limit: 255 + t.string "url_id", limit: 255 + t.integer "position", limit: 4 + t.boolean "enabled" + t.text "keywords", limit: 65535 + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + + add_index "pages", ["position"], name: "index_pages_on_position", using: :btree + add_index "pages", ["url_id"], name: "index_pages_on_url_id", using: :btree + + create_table "phrase_containers", force: :cascade do |t| + t.integer "translatable_id", limit: 4 + t.string "translatable_type", limit: 255 + t.string "attribute_name", limit: 255 + t.integer "phrase_id", limit: 4 + end + + add_index "phrase_containers", ["attribute_name"], name: "index_phrase_containers_on_attribute_name", using: :btree + add_index "phrase_containers", ["phrase_id"], name: "index_phrase_containers_on_phrase_id", using: :btree + add_index "phrase_containers", ["translatable_id", "translatable_type"], name: "index_phrase_containers_on_translatable_id_and_translatable_type", using: :btree + + create_table "phrases", force: :cascade do |t| + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + + create_table "settings", force: :cascade do |t| + t.string "name", limit: 255 + t.text "value", limit: 65535 + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + + add_index "settings", ["name"], name: "index_settings_on_name", unique: true, using: :btree + + create_table "translations", force: :cascade do |t| + t.string "locale", limit: 255 + t.text "text", limit: 65535 + t.integer "phrase_id", limit: 4 + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + + add_index "translations", ["locale"], name: "index_translations_on_locale", using: :btree + add_index "translations", ["phrase_id"], name: "index_translations_on_phrase_id", using: :btree + add_index "translations", ["text"], name: "index_translations_on_text", length: {"text"=>255}, using: :btree + +end diff --git a/db/seeds.rb b/db/seeds.rb new file mode 100644 index 0000000..e925c93 --- /dev/null +++ b/db/seeds.rb @@ -0,0 +1,147 @@ +def get_image(name) + File.open(File.join(Rails.root, "/db/image_seeds/#{name}")) +end + +Account.delete_all +admin = Account.create(email: 'admin@example.com', password: 'asdasdasd', password_confirmation: 'asdasdasd') + +Administrator.delete_all +Administrator.create account: admin + +Page.delete_all +Page.create title: 'Home', mode: :path, position: 1, enabled: true, link: 'main' + +Page.create title: 'About', mode: :anchor, position: 2, enabled: true, url_id: 'about', body: %{ +<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at +varius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse +ac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit +amet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales. +Nam vehicula ligula quis mollis laoreet.</p> +<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent +vel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum, +finibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis +molestie nunc a efficitur.</p> +<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a +laoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis +viverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar +lacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere +non a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec +nisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p> +<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor +pharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie. +Nulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis +in faucibus.</p> +<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in. +Nullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra. +Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus, +in gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum +mattis elementum. </p>} + +Page.create title: 'Information', mode: :anchor, position: 3, enabled: true, url_id: 'info', body: %{ +<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at +varius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse +ac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit +amet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales. +Nam vehicula ligula quis mollis laoreet.</p> +<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent +vel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum, +finibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis +molestie nunc a efficitur.</p> +<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a +laoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis +viverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar +lacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere +non a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec +nisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p> +<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor +pharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie. +Nulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis +in faucibus.</p> +<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in. +Nullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra. +Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus, +in gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum +mattis elementum. </p>} + +Page.create title: 'Privacy Policy', mode: :anchor, position: 4, enabled: true, url_id: 'privacy', body: %{ +<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at +varius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse +ac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit +amet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales. +Nam vehicula ligula quis mollis laoreet.</p> +<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent +vel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum, +finibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis +molestie nunc a efficitur.</p> +<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a +laoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis +viverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar +lacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere +non a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec +nisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p> +<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor +pharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie. +Nulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis +in faucibus.</p> +<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in. +Nullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra. +Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus, +in gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum +mattis elementum. </p>} + +Page.create title: 'Contacts', mode: :anchor, position: 5, enabled: true, url_id: 'contacts', body: %{ +<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at +varius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse +ac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit +amet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales. +Nam vehicula ligula quis mollis laoreet.</p> +<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent +vel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum, +finibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis +molestie nunc a efficitur.</p> +<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a +laoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis +viverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar +lacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere +non a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec +nisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p> +<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor +pharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie. +Nulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis +in faucibus.</p> +<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in. +Nullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra. +Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus, +in gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum +mattis elementum. </p>} + +Page.create title: 'Page', mode: :page, position: 6, enabled: true, url_id: 'page', body: %{ +<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at +varius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse +ac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit +amet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales. +Nam vehicula ligula quis mollis laoreet.</p> +<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent +vel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum, +finibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis +molestie nunc a efficitur.</p> +<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a +laoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis +viverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar +lacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere +non a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec +nisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p> +<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor +pharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie. +Nulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis +in faucibus.</p> +<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in. +Nullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra. +Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus, +in gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum +mattis elementum. </p>} + +Page.create title: 'SP Studio', mode: 'link', position: 7, enabled: true, url_id: 'sps', + link: 'http://studio.sp-service.com.ua' + +Setting.delete_all diff --git a/lib/active_translation/active_translation.rb b/lib/active_translation/active_translation.rb new file mode 100644 index 0000000..e6acc59 --- /dev/null +++ b/lib/active_translation/active_translation.rb @@ -0,0 +1,222 @@ +module ActiveTranslation + extend ActiveSupport::Concern + + module QueryMethods + class WhereChain < ::ActiveRecord::QueryMethods::WhereChain + def not(opts, *rest) + if parsed = @scope.clone.parse_translated_conditions(opts) + @scope.join_translations.where.not(parsed, *rest) + else + super + end + end + end + + def count(*args) + if (select_values.present?) + spawn.except(:select).count(*args) + else + super(*args) + end + end + + def where(opts = :chain, *rest) + if opts == :chain + WhereChain.new(spawn) + elsif parsed = parse_translated_conditions(opts) + join_translations(super(parsed, *rest)) + else + super + end + end + + def exists?(conditions = :none) + if parsed = parse_translated_conditions(conditions) + with_translation.exists?(parsed) + else + super + end + end + + def parse_translated_conditions(opts) + if opts.is_a?(Hash) && respond_to?(:translated_attribute_names) && (keys = opts.symbolize_keys.keys & translated_attribute_names).present? + opts = opts.dup + keys.each { |key| opts[translated_column_name(key)] = opts.delete(key) || opts.delete(key.to_s) } + opts + end + end + + def join_translations(relation = self) + relation.with_translation + end + end + + module ClassMethods + def init_translated_attributes + return if defined? translated_attribute_names + class_attribute :translated_attribute_names + self.translated_attribute_names = [] + end + + def translated_column_name(name) + "#{name}_translations.text" + end + + def with_translated_attribute(name, value, locales = nil) + #locales ||= [:uk] + #with_translation.where( + # translated_column_name(name) => value, + # translated_column_name(:locale) => Array(locales).map(&:to_s) + #) + with_translation.where(translated_column_name(name) => value) + end + + def with_translation + with_this_translation(I18n.locale) + end + + def attr_translatable!(*attr_names) + @presence = true + attr_translatable(*attr_names) + end + + def attr_translatable(*attr_names) + init_translated_attributes + attr_names-= translated_attribute_names + if attr_names.present? + # self.instance_eval %{attr_accessible :#{attr_names.join(', :')}} + attr_names.each do |attr_name| + build_attribute_extras(attr_name) + create_attr_accessor(attr_name) + validate_attr(attr_name) if @presence + translated_attribute_names << attr_name + after_save do + phrase_container = send("#{attr_name}_phrase_container") + if phrase_container + if phrase_container.changed? + phrase_container.save + else + phrase_container.phrase.save if phrase_container.phrase + end + end + end + end + rebuild_translations_scope() + end + @presence = false + end + + private + + # Override the default relation method in order to return a subclass + # of ActiveRecord::Relation with custom finder methods for translated + # attributes. + def relation + super.extending!(QueryMethods) + end + + def build_attribute_extras(attr_name) + phrase_container_name = "#{attr_name}_phrase_container" + phrase_name = "#{attr_name}_phrase" + translations_name = "#{attr_name}_translations" + + has_one phrase_container_name.to_sym, -> { where attribute_name: attr_name }, as: :translatable, + class_name: 'PhraseContainer', dependent: :destroy + + has_one phrase_name.to_sym, class_name: 'Phrase', through: phrase_container_name.to_sym, source: :phrase + has_many translations_name.to_sym, class_name: 'Translation', through: phrase_name.to_sym, source: :translations + + (@translations_columns ||= []) << "#{translations_name}.text as #{attr_name}, #{translations_name}.locale as #{attr_name}_locale" + (@join_expressions ||= []) << %{ + left join phrase_containers #{phrase_container_name} on + #{phrase_container_name}.translatable_id=#{table_name}.id + and #{phrase_container_name}.translatable_type='#{model_name}' + and #{phrase_container_name}.attribute_name='#{attr_name}' + left join phrases #{phrase_name} on #{phrase_name}.id=#{phrase_container_name}.phrase_id + left join translations #{translations_name} on #{translations_name}.phrase_id=#{phrase_name}.id + }.delete("\n").squeeze(' ') + end + + def rebuild_translations_scope + scope :with_translations, -> { joins(@join_expressions.join(' ')).select("#{table_name}.*, #{@translations_columns.join(',')}") } + scope :with_this_translation, ->(locale) { + expressions = @join_expressions.map do |expression| + "#{expression} and #{expression.scan(/on\s+(\w+)\./).last.first}.locale='#{locale}'" + end + joins(expressions.join(' ')).select("#{table_name}.*, #{@translations_columns.join(',')}") + } + end + + def create_attr_accessor(attr_name) + phrase_container_name = "#{attr_name}_phrase_container".to_sym + + define_method(:"#{attr_name}=") do |value| + @locale ||= I18n.locale.to_s + container = self.send(phrase_container_name) + if container.nil? + if new_record? + self.send("build_#{phrase_container_name}".to_sym, locale: @locale, text: value) + else + self.send("create_#{phrase_container_name}".to_sym, locale: @locale, text: value) + end + else + container.locale, container.text = @locale, value + end + self.updated_at = current_time_from_proper_timezone + @locale = nil + end + + define_method(attr_name) do |*args| + value = nil + phrase_container = send(phrase_container_name) + if phrase_container + params = args && (args[0].is_a? Hash) ? args[0] : {} + params[:locale] = @locale if @locale + value = phrase_container.text(params) + end + @locale = nil + value + end + alias_method :"#{attr_name}_before_type_cast", attr_name + end + + def validate_attr(attr_name) + validate do + attr = send attr_name + if attr.nil? or attr.empty? + error_text = I18n.t('activerecord.errors.messages.blank') + errors.add attr_name, error_text + I18n.available_locales.each {|l| errors.add "#{attr_name}_#{l}", error_text} + end + end + end + end + + def reload + super + end + + def method_missing(m, *args, &block) + match_data = m.to_s.match /^(\w+)_(\w\w\w?)(=?)$/ + if match_data + @locale = match_data[2] + send(match_data[1]+match_data[3], args[0]) + else + super + end + end + + def attributes + if defined? translated_attribute_names + translated_attributes = translated_attribute_names.inject({}) do |translated_attributes, attr_name| + translated_attributes.merge(attr_name.to_s => send(attr_name)) + end + super.merge(translated_attributes) + else + super + end + end + +end + +ActiveRecord::Base.include(ActiveTranslation) diff --git a/lib/assets/.keep b/lib/assets/.keep new file mode 100644 index 0000000..e69de29 diff --git a/lib/tasks/.keep b/lib/tasks/.keep new file mode 100644 index 0000000..e69de29 diff --git a/lib/templates/bootstrap/themed/_form.html.haml b/lib/templates/bootstrap/themed/_form.html.haml new file mode 100644 index 0000000..98a06b5 --- /dev/null +++ b/lib/templates/bootstrap/themed/_form.html.haml @@ -0,0 +1,12 @@ += form_for @<%= resource_name %>, html: { class: "form form-horizontal <%= resource_name %>" } do |f| + <%- columns.each do |column| -%> + .form-group + = f.label :<%= column.name.scan(/_id$/).present? && ActiveRecord::Base.connection.column_exists?(column.name.gsub(/_id$/, '').tableize, :id) ? column.name.gsub(/_id$/, '') : column.name %>, class: 'control-label col-lg-2' + .col-lg-10 + = f.<%= column.field_type %> :<%= column.name %>, class: 'form-control', required: true + = f.error_span(:<%= column.name %>) + <%- end -%> + .form-group + .col-lg-offset-2.col-lg-10 + = f.submit nil, class: 'btn btn-primary' + = link_to t('helpers.links.cancel'), <%= controller_routing_path %>_path, class: 'btn btn-default' diff --git a/lib/templates/bootstrap/themed/edit.html.haml b/lib/templates/bootstrap/themed/edit.html.haml new file mode 100644 index 0000000..b8c6b0d --- /dev/null +++ b/lib/templates/bootstrap/themed/edit.html.haml @@ -0,0 +1,4 @@ +- model_class = <%= resource_name.classify %> +.page-header + %h1=t 'helpers.titles.edit', :model => model_class.model_name.human += render :partial => 'form' diff --git a/lib/templates/bootstrap/themed/index.html.haml b/lib/templates/bootstrap/themed/index.html.haml new file mode 100644 index 0000000..5054b62 --- /dev/null +++ b/lib/templates/bootstrap/themed/index.html.haml @@ -0,0 +1,40 @@ +- model_class = <%= resource_name.classify %> +.page-header + %h1=t model_class.model_name.human(count: 2) +%table.table.table-striped + %thead + %tr + <%- unless ActiveRecord::Base.connection.column_exists?(resource_name.tableize, :name) -%> + %th= model_class.human_attribute_name(:id) + <%- end -%> + <%- columns.each do |column| -%> + %th= model_class.human_attribute_name(:<%= column.name.scan(/_id$/).present? && ActiveRecord::Base.connection.column_exists?(column.name.gsub(/_id$/, '').tableize, :id) ? column.name.gsub(/_id$/, '') : column.name %>) + <%- end -%> + %th= model_class.human_attribute_name(:created_at) + %th=t 'helpers.actions' + %tbody + - @<%= plural_resource_name %>.each do |<%= resource_name %>| + %tr + <%- unless ActiveRecord::Base.connection.column_exists?(resource_name.tableize, :name) -%> + %td= link_to <%= resource_name %>.id, <%= singular_controller_routing_path %>_path(<%= resource_name %>) + <%- end -%> + <%- columns.each do |column| -%> + <%- if column.name == 'name' -%> + %td= link_to <%= resource_name %>.<%= column.name %>, <%= singular_controller_routing_path %>_path(<%= resource_name %>) + <%- elsif column.name.scan(/_id$/).present? && ActiveRecord::Base.connection.column_exists?(column.name.gsub(/_id$/, '').tableize, :id) -%> + %td= link_to <%= resource_name %>.<%= column.name.gsub /_id$/, '' %>.<%= ActiveRecord::Base.connection.column_exists?(column.name.gsub(/_id$/, '').tableize, :name) ? 'name' : 'id' %>, <%= resource_name %>.<%= column.name.gsub /_id$/, '' %> if <%= resource_name %>.<%= column.name.gsub /_id$/, '' %>.present? + <%- else -%> + %td= <%= resource_name %>.<%= column.name %> + <%- end -%> + <%- end -%> + %td=localize_datetime <%= resource_name %>.created_at + %td.actions + = link_to edit_<%= singular_controller_routing_path %>_path(<%= resource_name %>), title: t('helpers.links.edit'), class: 'btn btn-default btn-xs' do + %i.fa.fa-edit + = link_to <%= singular_controller_routing_path %>_path(<%= resource_name %>), method: :delete, data: {confirm: t('helpers.links.confirm')}, title: t('helpers.links.destroy'), + class: 'btn btn-xs btn-danger' do + %i.fa.fa-trash + + + += link_to t('helpers.links.new'), new_<%= singular_controller_routing_path %>_path, class: 'btn btn-primary' diff --git a/lib/templates/bootstrap/themed/new.html.haml b/lib/templates/bootstrap/themed/new.html.haml new file mode 100644 index 0000000..5e7bc3f --- /dev/null +++ b/lib/templates/bootstrap/themed/new.html.haml @@ -0,0 +1,4 @@ +- model_class = <%= resource_name.classify %> +.page-header + %h1=t 'helpers.titles.new', :model => model_class.model_name.human += render :partial => 'form' diff --git a/lib/templates/bootstrap/themed/show.html.haml b/lib/templates/bootstrap/themed/show.html.haml new file mode 100644 index 0000000..c44c7f6 --- /dev/null +++ b/lib/templates/bootstrap/themed/show.html.haml @@ -0,0 +1,21 @@ +- model_class = <%= resource_name.classify %> +.page-header + %h1= model_class.model_name.human.titleize + +<%- columns.each do |column| -%> +%p + %strong= model_class.human_attribute_name(:<%= column.name.scan(/_id$/).present? && ActiveRecord::Base.connection.column_exists?(column.name.gsub(/_id$/, '').tableize, :id) ? column.name.gsub(/_id$/, '') : column.name %>) + ':' + <%- if column.type == 'text' -%> + %br + <%- end -%> + <%- if column.name.scan(/_id$/).present? && ActiveRecord::Base.connection.column_exists?(column.name.gsub(/_id$/, '').tableize, :id) -%> + = link_to @<%= resource_name %>.<%= column.name.gsub /_id$/, '' %>.<%= ActiveRecord::Base.connection.column_exists?(column.name.gsub(/_id$/, '').tableize, :name) ? 'name' : 'id' %>, @<%= resource_name %>.<%= column.name.gsub /_id$/, '' %> if @<%= resource_name %>.<%= column.name.gsub /_id$/, '' %>.present? + <%- else -%> + = @<%= resource_name %>.<%= column.name %> + <%- end -%> +<%- end -%> + + += link_to t('helpers.links.back'), <%= controller_routing_path %>_path, class: 'btn btn-default' += link_to t('helpers.links.edit'), edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>), class: 'btn btn-default' += link_to t('helpers.links.destroy'), <%= singular_controller_routing_path %>_path(@<%= resource_name %>), method: :delete, data: { confirm: t('helpers.links.confirm') }, class: 'btn btn-danger' diff --git a/lib/templates/bootstrap/themed/simple_form/_form.html.haml b/lib/templates/bootstrap/themed/simple_form/_form.html.haml new file mode 100644 index 0000000..aa58dfa --- /dev/null +++ b/lib/templates/bootstrap/themed/simple_form/_form.html.haml @@ -0,0 +1,15 @@ += simple_form_for @<%= resource_name %>, html: { class: 'form-horizontal' } do |f| +<%- columns.each do |column| -%> +<%- if column.name.scan(/_id$/).present? && ActiveRecord::Base.connection.column_exists?(column.name.gsub(/_id$/, '').tableize, :id) -%> + = f.association :<%= column.name.gsub /_id$/, '' %> +<%- else -%> + = f.input :<%= column.name %> +<%- end -%> +<%- end -%> + +<%- if ::SimpleForm::FormBuilder.instance_methods.include?(:wrapped_button) -%> + = f.button :wrapped, cancel: <%= controller_routing_path %>_path +<%- else -%> + = f.button :submit, class: 'btn-primary' + = link_to t('helpers.links.cancel'), <%= controller_routing_path %>_path, class: 'btn btn-default' +<%- end -%> diff --git a/lib/templates/haml/scaffold/_form.html.haml b/lib/templates/haml/scaffold/_form.html.haml new file mode 100644 index 0000000..ac3aa7b --- /dev/null +++ b/lib/templates/haml/scaffold/_form.html.haml @@ -0,0 +1,10 @@ += simple_form_for(@<%= singular_table_name %>) do |f| + = f.error_notification + + .form-inputs + <%- attributes.each do |attribute| -%> + = f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> + <%- end -%> + + .form-actions + = f.button :submit diff --git a/log/.keep b/log/.keep new file mode 100644 index 0000000..e69de29 diff --git a/log/development.log b/log/development.log new file mode 100644 index 0000000..13c3a1f --- /dev/null +++ b/log/development.log @@ -0,0 +1,15103 @@ + [1m[36m (20.0ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m + [1m[35m (64.0ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) + [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m +Migrating to DeviseCreateAccounts (20150506142023) + [1m[35m (31.0ms)[0m CREATE TABLE `accounts` (`id` int(11) auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `balance` decimal(8,2) DEFAULT 0 NOT NULL, `on_hold` tinyint(1) DEFAULT 0 NOT NULL, `subscribed` tinyint(1) DEFAULT 1 NOT NULL, `locale` varchar(255) DEFAULT 'en' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int(11) DEFAULT 0 NOT NULL, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB + [1m[36m (15.0ms)[0m [1mCREATE UNIQUE INDEX `index_accounts_on_email` ON `accounts` (`email`) [0m + [1m[35m (18.0ms)[0m CREATE UNIQUE INDEX `index_accounts_on_reset_password_token` ON `accounts` (`reset_password_token`) + [1m[36m (17.0ms)[0m [1mCREATE INDEX `index_accounts_on_on_hold` ON `accounts` (`on_hold`) [0m + [1m[35m (20.0ms)[0m CREATE INDEX `index_accounts_on_subscribed` ON `accounts` (`subscribed`) + [1m[36m (21.0ms)[0m [1mCREATE INDEX `index_accounts_on_locale` ON `accounts` (`locale`) [0m + [1m[35m (19.5ms)[0m CREATE UNIQUE INDEX `index_accounts_on_confirmation_token` ON `accounts` (`confirmation_token`) + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20150506142023') + [1m[36m (0.0ms)[0m [1mCOMMIT[0m +Migrating to CreateAdministrators (20150506142148) + [1m[35m (24.5ms)[0m CREATE TABLE `administrators` (`id` int(11) auto_increment PRIMARY KEY, `account_id` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB + [1m[36m (13.0ms)[0m [1mCREATE INDEX `index_administrators_on_account_id` ON `administrators` (`account_id`) [0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150506142148')[0m + [1m[35m (0.0ms)[0m COMMIT +Migrating to CreateActiveTranslation (20150517084222) + [1m[36m (22.0ms)[0m [1mCREATE TABLE `translations` (`id` int(11) auto_increment PRIMARY KEY, `locale` varchar(255), `text` text, `phrase_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_translations_on_locale` (`locale`) , INDEX `index_translations_on_phrase_id` (`phrase_id`) ) ENGINE=InnoDB[0m + [1m[35m (16.0ms)[0m CREATE INDEX `index_translations_on_text` ON `translations` (`text`(255)) + [1m[36m (22.0ms)[0m [1mCREATE TABLE `phrases` (`id` int(11) auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m + [1m[35m (21.0ms)[0m CREATE TABLE `phrase_containers` (`id` int(11) auto_increment PRIMARY KEY, `translatable_id` int(11), `translatable_type` varchar(255), `attribute_name` varchar(255), `phrase_id` int(11), INDEX `index_phrase_containers_on_attribute_name` (`attribute_name`) , INDEX `index_phrase_containers_on_phrase_id` (`phrase_id`) ) ENGINE=InnoDB + [1m[36m (16.3ms)[0m [1mCREATE INDEX `index_phrase_containers_on_translatable_id_and_translatable_type` ON `phrase_containers` (`translatable_id`, `translatable_type`) [0m + [1m[35m (1.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150517084222')[0m + [1m[35m (1.0ms)[0m COMMIT +Migrating to CreateNewsletters (20150525174028) + [1m[36m (18.0ms)[0m [1mCREATE TABLE `newsletters` (`id` int(11) auto_increment PRIMARY KEY, `subject` varchar(255), `text` text, `last_id` int(11), `processed_id` int(11), `processed_at` datetime, `recipient_filter` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150525174028')[0m + [1m[35m (1.0ms)[0m COMMIT +Migrating to CreateBlocks (20150715143148) +DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at C:/Users/CP/IdeaProjects/base_site/db/migrate/20150715143148_create_blocks.rb:7) + [1m[36m (19.0ms)[0m [1mCREATE TABLE `blocks` (`id` int(11) auto_increment PRIMARY KEY, `key` varchar(255), `block_version_id` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB[0m + [1m[35m (12.0ms)[0m CREATE INDEX `index_blocks_on_key` ON `blocks` (`key`) + [1m[36m (16.0ms)[0m [1mCREATE INDEX `index_blocks_on_block_version_id` ON `blocks` (`block_version_id`) [0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150715143148')[0m + [1m[35m (1.0ms)[0m COMMIT +Migrating to CreateBlockVersions (20150715143248) +DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at C:/Users/CP/IdeaProjects/base_site/db/migrate/20150715143248_create_block_versions.rb:7) + [1m[36m (19.0ms)[0m [1mCREATE TABLE `block_versions` (`id` int(11) auto_increment PRIMARY KEY, `account_id` int(11), `active` tinyint(1), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB[0m + [1m[35m (13.0ms)[0m CREATE INDEX `index_block_versions_on_active` ON `block_versions` (`active`) + [1m[36m (17.0ms)[0m [1mCREATE INDEX `index_block_versions_on_account_id` ON `block_versions` (`account_id`) [0m + [1m[35m (1.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150715143248')[0m + [1m[35m (0.0ms)[0m COMMIT +Migrating to CreatePages (20151130142520) + [1m[36m (22.0ms)[0m [1mCREATE TABLE `pages` (`id` int(11) auto_increment PRIMARY KEY, `mode` varchar(255), `link` varchar(255), `url_id` varchar(255), `position` int(11), `enabled` tinyint(1), `keywords` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m + [1m[35m (13.0ms)[0m CREATE INDEX `index_pages_on_position` ON `pages` (`position`) + [1m[36m (16.0ms)[0m [1mCREATE INDEX `index_pages_on_url_id` ON `pages` (`url_id`) [0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20151130142520')[0m + [1m[35m (0.0ms)[0m COMMIT +Migrating to CreateSettings (20151227121014) + [1m[36m (20.0ms)[0m [1mCREATE TABLE `settings` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `value` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m + [1m[35m (12.3ms)[0m CREATE UNIQUE INDEX `index_settings_on_name` ON `settings` (`name`) + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20151227121014') + [1m[36m (0.0ms)[0m [1mCOMMIT[0m + [1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'accounts' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `accounts` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'administrators' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `administrators` + [1m[36m (1.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'block_versions' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `block_versions` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'blocks' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `blocks` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'newsletters' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `newsletters` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'pages' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `pages` + [1m[36m (1.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'phrase_containers' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `phrase_containers` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'phrases' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `phrases` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'settings' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `settings` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'translations' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `translations` + [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m + [1m[35mSQL (0.0ms)[0m DELETE FROM `accounts` + [1m[36m (1.0ms)[0m [1mBEGIN[0m + [1m[35mAccount Exists (1.0ms)[0m SELECT 1 AS one FROM `accounts` WHERE `accounts`.`email` = BINARY 'admin@example.com' LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `accounts` (`email`, `encrypted_password`, `created_at`, `updated_at`) VALUES ('admin@example.com', '$2a$10$9.1vY2UNEnSXdULS0Dq3tepPgxP5rHB4keONvh7UxB5eSEvSVKcue', '2016-06-17 15:01:40', '2016-06-17 15:01:40')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSQL (1.0ms)[0m [1mDELETE FROM `administrators`[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `administrators` (`account_id`, `created_at`, `updated_at`) VALUES (1, '2016-06-17 15:01:40', '2016-06-17 15:01:40')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSQL (0.0ms)[0m [1mDELETE FROM `pages`[0m + [1m[35m (1.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 1)[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 15:01:40', 'page', 1, 1, 'terms', '2016-06-17 15:01:40') + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 1 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:01:40', '2016-06-17 15:01:40') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Terms and Conditions', 1, '2016-06-17 15:01:40', '2016-06-17 15:01:40')[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 1 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 1 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 1 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 1, 1)[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 1 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:01:40', '2016-06-17 15:01:40')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Terms and Conditions', 2, '2016-06-17 15:01:40', '2016-06-17 15:01:40') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 2 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 2 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 2 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 1, 2) + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (0.0ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 2) + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 15:01:40', 'page', 2, 1, 'privacy', '2016-06-17 15:01:40')[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 2 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:01:40', '2016-06-17 15:01:40')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Privacy Policy', 3, '2016-06-17 15:01:40', '2016-06-17 15:01:40') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 3 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 3 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 3 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 2, 3) + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 2 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:01:40', '2016-06-17 15:01:40') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Privacy Policy', 4, '2016-06-17 15:01:40', '2016-06-17 15:01:40')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 4 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 4 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 4 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 2, 4)[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 3)[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 15:01:40', 'page', 3, 0, 'instructions', '2016-06-17 15:01:40') + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 3 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:01:40', '2016-06-17 15:01:40') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Instructions', 5, '2016-06-17 15:01:40', '2016-06-17 15:01:40')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 5 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 5 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 5 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 3, 5)[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 3 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:01:40', '2016-06-17 15:01:40')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Instructions will be written soon!', 6, '2016-06-17 15:01:40', '2016-06-17 15:01:40') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 6 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 6 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 6 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 3, 6) + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (0.0ms)[0m COMMIT + [1m[36mSQL (0.0ms)[0m [1mDELETE FROM `settings`[0m + + +Started GET "/" for 127.0.0.1 at 2016-06-17 18:07:40 +0300 + [1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m +Processing by FrontController#index as HTML + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'main_page_about' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered front/all_page/_main_page.html.haml (47222.4ms) + Rendered front/all_page/_certificate_page.html.haml (596.4ms) + Rendered front/index.html.haml within layouts/front (47857.9ms) +Completed 500 Internal Server Error in 47970ms (ActiveRecord: 90.1ms) + +ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Certificate): + 12: %li{data: {slide: {to: '1'}, target: '#eventCarousel'}} + 13: %li{data: {slide: {to: '2'}, target: '#eventCarousel'}} + 14: .carousel-inner.one-by-one-carousel + 15: -Certificate.all.each_with_index do |certificate, i| + 16: .item{class: (:active if i == 0)} + 17: .col-sm-4 + 18: %a{href: '#'} + app/views/front/all_page/_certificate_page.html.haml:15:in `_app_views_front_all_page__certificate_page_html_haml__1035425463_101145396' + app/views/front/index.html.haml:5:in `_app_views_front_index_html_haml___513163588_51132924' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (96.5ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (55.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (141.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 18:08:57 +0300 +Processing by FrontController#index as HTML + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'main_page_about' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + Rendered front/all_page/_main_page.html.haml (15.0ms) + Rendered front/all_page/_certificate_page.html.haml (35.0ms) + Rendered front/index.html.haml within layouts/front (55.0ms) +Completed 500 Internal Server Error in 60ms (ActiveRecord: 1.0ms) + +ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Certificate): + 12: %li{data: {slide: {to: '1'}, target: '#eventCarousel'}} + 13: %li{data: {slide: {to: '2'}, target: '#eventCarousel'}} + 14: .carousel-inner.one-by-one-carousel + 15: -Certificate.all.each_with_index do |certificate, i| + 16: .item{class: (:active if i == 0)} + 17: .col-sm-4 + 18: %a{href: '#'} + app/views/front/all_page/_certificate_page.html.haml:15:in `_app_views_front_all_page__certificate_page_html_haml__1035425463_101145396' + app/views/front/index.html.haml:5:in `_app_views_front_index_html_haml___513163588_51132924' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (42.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (91.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 18:09:00 +0300 +Processing by FrontController#index as HTML + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'main_page_about' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered front/all_page/_main_page.html.haml (103.1ms) + Rendered front/all_page/_certificate_page.html.haml (9.0ms) + Rendered front/index.html.haml within layouts/front (118.1ms) +Completed 500 Internal Server Error in 123ms (ActiveRecord: 41.0ms) + +ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Certificate): + 12: %li{data: {slide: {to: '1'}, target: '#eventCarousel'}} + 13: %li{data: {slide: {to: '2'}, target: '#eventCarousel'}} + 14: .carousel-inner.one-by-one-carousel + 15: -Certificate.all.each_with_index do |certificate, i| + 16: .item{class: (:active if i == 0)} + 17: .col-sm-4 + 18: %a{href: '#'} + app/views/front/all_page/_certificate_page.html.haml:15:in `_app_views_front_all_page__certificate_page_html_haml__1035425463_101145396' + app/views/front/index.html.haml:5:in `_app_views_front_index_html_haml___513163588_51132924' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (12.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (90.1ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (90.1ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (194.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 18:10:15 +0300 + [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m +Processing by FrontController#index as HTML + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'main_page_about' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered front/all_page/_main_page.html.haml (3724.0ms) + Rendered front/all_page/_certificate_page.html.haml (322.2ms) + Rendered front/index.html.haml within layouts/front (4065.2ms) +Completed 500 Internal Server Error in 4144ms (ActiveRecord: 49.0ms) + +ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Certificate): + 12: %li{data: {slide: {to: '1'}, target: '#eventCarousel'}} + 13: %li{data: {slide: {to: '2'}, target: '#eventCarousel'}} + 14: .carousel-inner.one-by-one-carousel + 15: -Certificate.all.each_with_index do |certificate, i| + 16: .item{class: (:active if i == 0)} + 17: .col-sm-4 + 18: %a{href: '#'} + app/views/front/all_page/_certificate_page.html.haml:15:in `_app_views_front_all_page__certificate_page_html_haml__1066632218_76134792' + app/views/front/index.html.haml:5:in `_app_views_front_index_html_haml___254415949_41854980' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (9.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (50.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (109.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 18:24:53 +0300 +Processing by FrontController#index as HTML + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 1 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 1 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 2 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 2 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 3 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 3 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 4 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 4 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (134.1ms) + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSetting Exists (1.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'title' LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('title', 'Personal site', '2016-06-17 15:24:54', '2016-06-17 15:24:54')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSetting Exists (0.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'description' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('description', 'Site of your dreams.', '2016-06-17 15:24:54', '2016-06-17 15:24:54') + [1m[36m (0.0ms)[0m [1mCOMMIT[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'keywords' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('keywords', 'site, personal site, own site', '2016-06-17 15:24:54', '2016-06-17 15:24:54')[0m + [1m[35m (0.0ms)[0m COMMIT + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSetting Exists (1.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'site_name' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('site_name', 'Personal site', '2016-06-17 15:24:54', '2016-06-17 15:24:54') + [1m[36m (0.0ms)[0m [1mCOMMIT[0m + Rendered layouts/_front_meta.html.haml (93.1ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_phone' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_email' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + Rendered layouts/_menu.html.haml (5.0ms) + Rendered layouts/_menu.html.haml (3.0ms) + Rendered layouts/_language_selector.html.haml (11.0ms) + [1m[35mSetting Load (6.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSetting Exists (1.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'gse_id' LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('gse_id', '007392588842326689376:3onw-lza4mc', '2016-06-17 15:24:54', '2016-06-17 15:24:54')[0m + [1m[35m (1.0ms)[0m COMMIT +Completed 200 OK in 653ms (Views: 514.3ms | ActiveRecord: 112.1ms) + + +Started GET "/assets/front-3205b1eeb41e702df141f05e7aa90b597863aac6ef3e6578714e8402960758f2.css" for 127.0.0.1 at 2016-06-17 18:24:54 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 18:24:55 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 18:24:55 +0300 + + +Started GET "/assets/logo_8-ead4f4bd6bd3c4525beeb09bfb472899e990082c6e868470edb91376542fca1e.png" for 127.0.0.1 at 2016-06-17 18:24:55 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 18:24:55 +0300 + + +Started GET "/favicon.png" for 127.0.0.1 at 2016-06-17 18:24:56 +0300 + +ActionController::RoutingError (No route matches [GET] "/favicon.png"): + actionpack (4.2.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.5.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.5.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.5.1) lib/rails/engine.rb:518:in `call' + railties (4.2.5.1) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (16.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (122.8ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (54.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (123.1ms) + [1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m + [1m[35mSQL (2.0ms)[0m DELETE FROM `accounts` + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mAccount Exists (1.0ms)[0m SELECT 1 AS one FROM `accounts` WHERE `accounts`.`email` = BINARY 'admin@example.com' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `accounts` (`email`, `encrypted_password`, `created_at`, `updated_at`) VALUES ('admin@example.com', '$2a$10$5I2wZqyuAp.SQWaczJWZKeBFfkj6zD9WtzCDpM9D4C.WLKq17zzrG', '2016-06-17 15:32:34', '2016-06-17 15:32:34')[0m + [1m[35m (2.0ms)[0m COMMIT + [1m[36mSQL (1.0ms)[0m [1mDELETE FROM `administrators`[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `administrators` (`account_id`, `created_at`, `updated_at`) VALUES (2, '2016-06-17 15:32:34', '2016-06-17 15:32:34')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSQL (1.0ms)[0m [1mDELETE FROM `pages`[0m + [1m[35m (1.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 1)[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 15:32:34', 'page', 1, 1, 'about', '2016-06-17 15:32:34') + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 4 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:32:34', '2016-06-17 15:32:34') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'About', 7, '2016-06-17 15:32:34', '2016-06-17 15:32:34')[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 4, 7)[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 4 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:32:34', '2016-06-17 15:32:34')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'About Us', 8, '2016-06-17 15:32:34', '2016-06-17 15:32:34') + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 4, 8) + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (0.0ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 2) + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 15:32:34', 'page', 2, 1, 'info', '2016-06-17 15:32:34')[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 5 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:32:34', '2016-06-17 15:32:34')[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Information', 9, '2016-06-17 15:32:34', '2016-06-17 15:32:34') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 5, 9) + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 5 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:32:34', '2016-06-17 15:32:34') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Helpful Information', 10, '2016-06-17 15:32:34', '2016-06-17 15:32:34')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 5, 10)[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + [1m[36m (0.0ms)[0m [1mCOMMIT[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 3)[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 15:32:34', 'page', 3, 1, 'privacy', '2016-06-17 15:32:34') + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 6 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:32:35', '2016-06-17 15:32:35') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Privacy Policy', 11, '2016-06-17 15:32:35', '2016-06-17 15:32:35')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 6, 11)[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 6 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:32:35', '2016-06-17 15:32:35')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Privacy Policy', 12, '2016-06-17 15:32:35', '2016-06-17 15:32:35') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 6, 12) + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (0.0ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 4) + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 15:32:35', 'page', 4, 1, 'contacts', '2016-06-17 15:32:35')[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 7 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:32:35', '2016-06-17 15:32:35')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Contacts', 13, '2016-06-17 15:32:35', '2016-06-17 15:32:35') + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 7, 13) + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 7 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:32:35', '2016-06-17 15:32:35') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Contacts', 14, '2016-06-17 15:32:35', '2016-06-17 15:32:35')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 7, 14)[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 5)[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `link`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 15:32:35', 'link', 5, 'http://studio.sp-service.com.ua', 1, 'sps', '2016-06-17 15:32:35') + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 8 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 15:32:35', '2016-06-17 15:32:35') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'SP Studio', 15, '2016-06-17 15:32:35', '2016-06-17 15:32:35')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 15 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 15 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 15 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 8, 15)[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 8 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 8 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (0.0ms)[0m COMMIT + [1m[36mSQL (2.0ms)[0m [1mDELETE FROM `settings`[0m + + +Started GET "/" for 127.0.0.1 at 2016-06-17 18:34:55 +0300 +Processing by FrontController#index as HTML + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (169.1ms) + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (1.0ms)[0m [1mBEGIN[0m + [1m[35mSetting Exists (1.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'title' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('title', 'Personal site', '2016-06-17 15:34:55', '2016-06-17 15:34:55')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (1.0ms)[0m BEGIN + [1m[36mSetting Exists (0.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'description' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('description', 'Site of your dreams.', '2016-06-17 15:34:55', '2016-06-17 15:34:55') + [1m[36m (0.0ms)[0m [1mCOMMIT[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSetting Exists (1.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'keywords' LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('keywords', 'site, personal site, own site', '2016-06-17 15:34:56', '2016-06-17 15:34:56')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (1.0ms)[0m BEGIN + [1m[36mSetting Exists (1.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'site_name' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('site_name', 'Personal site', '2016-06-17 15:34:56', '2016-06-17 15:34:56') + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + Rendered layouts/_front_meta.html.haml (93.1ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_phone' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_email' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_menu.html.haml (0.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'gse_id' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('gse_id', '007392588842326689376:3onw-lza4mc', '2016-06-17 15:34:56', '2016-06-17 15:34:56')[0m + [1m[35m (0.0ms)[0m COMMIT +Completed 200 OK in 528ms (Views: 386.3ms | ActiveRecord: 117.1ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 18:34:56 +0300 + + +Started GET "/assets/front-3205b1eeb41e702df141f05e7aa90b597863aac6ef3e6578714e8402960758f2.css" for 127.0.0.1 at 2016-06-17 18:34:56 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 18:34:56 +0300 + + +Started GET "/assets/logo_8-ead4f4bd6bd3c4525beeb09bfb472899e990082c6e868470edb91376542fca1e.png" for 127.0.0.1 at 2016-06-17 18:34:56 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 18:34:56 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 18:35:01 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (73.0ms) + Rendered layouts/_front_meta.html.haml (27.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_phone' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_email' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (3.0ms) +Completed 200 OK in 289ms (Views: 272.2ms | ActiveRecord: 14.0ms) + + +Started GET "/assets/front-3205b1eeb41e702df141f05e7aa90b597863aac6ef3e6578714e8402960758f2.css" for 127.0.0.1 at 2016-06-17 18:35:01 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 18:35:02 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 18:35:02 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 18:40:18 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (313.2ms) + Rendered layouts/_front_meta.html.haml (34.0ms) +Completed 500 Internal Server Error in 1292ms (ActiveRecord: 14.0ms) + +ActionView::Template::Error (Undefined variable: "$green".): + 9: = javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js' + 10: + 11: = stylesheet_link_tag 'shared', :media => "all" + 12: = stylesheet_link_tag 'front', :media => "all" + 13: = javascript_include_tag 'shared' + 14: = javascript_include_tag '//imasdk.googleapis.com/js/sdkloader/ima3.js' + 15: = javascript_include_tag 'front' + app/assets/stylesheets/front/contact.sass:60 + app/views/layouts/front.html.haml:12:in `_app_views_layouts_front_html_haml___548352489_41804016' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (12.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (44.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (102.1ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 18:41:41 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (65.0ms) + Rendered layouts/_front_meta.html.haml (48.0ms) +Completed 500 Internal Server Error in 757ms (ActiveRecord: 14.0ms) + +ActionView::Template::Error (Undefined variable: "$green".): + 9: = javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js' + 10: + 11: = stylesheet_link_tag 'shared', :media => "all" + 12: = stylesheet_link_tag 'front', :media => "all" + 13: = javascript_include_tag 'shared' + 14: = javascript_include_tag '//imasdk.googleapis.com/js/sdkloader/ima3.js' + 15: = javascript_include_tag 'front' + app/assets/stylesheets/front/contact.sass:60 + app/views/layouts/front.html.haml:12:in `_app_views_layouts_front_html_haml___548352489_41804016' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (8.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (53.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (45.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (100.1ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 18:41:45 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (37.0ms) + Rendered layouts/_front_meta.html.haml (26.0ms) +Completed 500 Internal Server Error in 173ms (ActiveRecord: 9.0ms) + +ActionView::Template::Error (Undefined variable: "$green".): + 9: = javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js' + 10: + 11: = stylesheet_link_tag 'shared', :media => "all" + 12: = stylesheet_link_tag 'front', :media => "all" + 13: = javascript_include_tag 'shared' + 14: = javascript_include_tag '//imasdk.googleapis.com/js/sdkloader/ima3.js' + 15: = javascript_include_tag 'front' + app/assets/stylesheets/front/contact.sass:60 + app/views/layouts/front.html.haml:12:in `_app_views_layouts_front_html_haml___548352489_41804016' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (48.6ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (41.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (89.1ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 18:43:34 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (99.1ms) + Rendered layouts/_front_meta.html.haml (30.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_phone' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_email' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + Rendered layouts/_menu.html.haml (2.0ms) + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 1767ms (Views: 1751.2ms | ActiveRecord: 15.0ms) + + +Started GET "/assets/front-512b52deb480ae69489fa4e7d01f61592404f594597c40783ffb0f51524ac752.css" for 127.0.0.1 at 2016-06-17 18:43:36 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 18:43:36 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 18:43:36 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 18:43:36 +0300 + + +Started GET "/images/logo_8.png" for 127.0.0.1 at 2016-06-17 18:43:37 +0300 + +ActionController::RoutingError (No route matches [GET] "/images/logo_8.png"): + actionpack (4.2.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.5.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.5.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.5.1) lib/rails/engine.rb:518:in `call' + railties (4.2.5.1) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (8.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (159.1ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (64.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (204.1ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 18:55:00 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (53.0ms) + Rendered layouts/_front_meta.html.haml (34.0ms) + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_phone' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_email' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered layouts/_menu.html.haml (2.0ms) + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 297ms (Views: 278.2ms | ActiveRecord: 16.0ms) + + +Started GET "/assets/front-512b52deb480ae69489fa4e7d01f61592404f594597c40783ffb0f51524ac752.css" for 127.0.0.1 at 2016-06-17 18:55:00 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 18:55:01 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 18:55:01 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 18:55:01 +0300 + + +Started GET "/images/logo_8.png" for 127.0.0.1 at 2016-06-17 18:55:01 +0300 + +ActionController::RoutingError (No route matches [GET] "/images/logo_8.png"): + actionpack (4.2.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.5.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.5.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.5.1) lib/rails/engine.rb:518:in `call' + railties (4.2.5.1) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (8.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (182.1ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (112.1ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (218.1ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 18:55:05 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (42.0ms) + Rendered layouts/_front_meta.html.haml (25.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_phone' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_email' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered layouts/_menu.html.haml (2.0ms) + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 237ms (Views: 226.2ms | ActiveRecord: 9.0ms) + + +Started GET "/assets/front-512b52deb480ae69489fa4e7d01f61592404f594597c40783ffb0f51524ac752.css" for 127.0.0.1 at 2016-06-17 18:55:05 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 18:55:05 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 18:55:06 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 18:55:06 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 18:56:26 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (44.0ms) + Rendered layouts/_front_meta.html.haml (34.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_phone' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_email' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 292ms (Views: 271.2ms | ActiveRecord: 12.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 18:56:27 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 18:56:27 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 18:56:27 +0300 + + +Started GET "/assets/front-512b52deb480ae69489fa4e7d01f61592404f594597c40783ffb0f51524ac752.css" for 127.0.0.1 at 2016-06-17 18:56:27 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 18:56:31 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (36.0ms) + Rendered layouts/_front_meta.html.haml (24.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_phone' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_email' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'small_info' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 203ms (Views: 193.1ms | ActiveRecord: 7.0ms) + + +Started GET "/assets/front-512b52deb480ae69489fa4e7d01f61592404f594597c40783ffb0f51524ac752.css" for 127.0.0.1 at 2016-06-17 18:56:31 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 18:56:31 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 18:56:31 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 18:56:31 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 18:57:34 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (44.0ms) + Rendered layouts/_front_meta.html.haml (47.0ms) + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_phone' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contact_email' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 319ms (Views: 305.2ms | ActiveRecord: 10.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 18:57:35 +0300 + + +Started GET "/assets/front-512b52deb480ae69489fa4e7d01f61592404f594597c40783ffb0f51524ac752.css" for 127.0.0.1 at 2016-06-17 18:57:35 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 18:57:35 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 18:57:35 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 18:57:37 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (241.2ms) + Rendered layouts/_front_meta.html.haml (34.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_menu.html.haml (0.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 508ms (Views: 484.3ms | ActiveRecord: 17.0ms) + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 18:57:38 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 18:57:38 +0300 + + +Started GET "/assets/front-512b52deb480ae69489fa4e7d01f61592404f594597c40783ffb0f51524ac752.css" for 127.0.0.1 at 2016-06-17 18:57:38 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 18:57:38 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 18:57:58 +0300 + + +Started GET "/assets/front-512b52deb480ae69489fa4e7d01f61592404f594597c40783ffb0f51524ac752.css" for 127.0.0.1 at 2016-06-17 18:57:58 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 19:05:59 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (37.0ms) + Rendered layouts/_front_meta.html.haml (25.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered layouts/_menu.html.haml (2.0ms) + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 441ms (Views: 429.3ms | ActiveRecord: 10.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:06:00 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:06:00 +0300 + + +Started GET "/assets/front-0aab9c4e4df371861271e1ae87ed08975c53ddf80ed3fa43795abeac4f1351f2.css" for 127.0.0.1 at 2016-06-17 19:06:00 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 19:06:00 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 19:06:02 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (50.0ms) + Rendered layouts/_front_meta.html.haml (28.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_menu.html.haml (0.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 210ms (Views: 195.5ms | ActiveRecord: 12.0ms) + + +Started GET "/assets/front-0aab9c4e4df371861271e1ae87ed08975c53ddf80ed3fa43795abeac4f1351f2.css" for 127.0.0.1 at 2016-06-17 19:06:03 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 19:06:03 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:06:03 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:06:03 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 19:06:06 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (39.0ms) + Rendered layouts/_front_meta.html.haml (24.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 209ms (Views: 197.1ms | ActiveRecord: 11.0ms) + + +Started GET "/assets/front-0aab9c4e4df371861271e1ae87ed08975c53ddf80ed3fa43795abeac4f1351f2.css" for 127.0.0.1 at 2016-06-17 19:06:06 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 19:06:06 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:06:06 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:06:07 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 19:07:20 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 4 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 5 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 6 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 13 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 13 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 7 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 14 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 14 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (39.0ms) + Rendered layouts/_front_meta.html.haml (22.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 553ms (Views: 541.4ms | ActiveRecord: 10.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:07:21 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 19:07:21 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:07:21 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 19:07:22 +0300 + [1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m + [1m[35mSQL (2.0ms)[0m DELETE FROM `accounts` + [1m[36m (1.0ms)[0m [1mBEGIN[0m + [1m[35mAccount Exists (0.0ms)[0m SELECT 1 AS one FROM `accounts` WHERE `accounts`.`email` = BINARY 'admin@example.com' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `accounts` (`email`, `encrypted_password`, `created_at`, `updated_at`) VALUES ('admin@example.com', '$2a$10$8zq3i733uMD/CuuW9F1qeemgCdMbaXtt.ecZ49HdJHJH4cdh5Ouji', '2016-06-17 16:22:19', '2016-06-17 16:22:19')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSQL (1.0ms)[0m [1mDELETE FROM `administrators`[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `administrators` (`account_id`, `created_at`, `updated_at`) VALUES (3, '2016-06-17 16:22:19', '2016-06-17 16:22:19')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSQL (1.0ms)[0m [1mDELETE FROM `pages`[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 1)[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 16:22:19', 'page', 1, 1, 'about', '2016-06-17 16:22:19') + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 9 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:22:19', '2016-06-17 16:22:19') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'About', 16, '2016-06-17 16:22:19', '2016-06-17 16:22:19')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 9, 16)[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 9 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:22:19', '2016-06-17 16:22:19')[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at\nvarius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse\nac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit\namet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales.\nNam vehicula ligula quis mollis laoreet.</p>\n<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent\nvel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum,\nfinibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis\nmolestie nunc a efficitur.</p>\n<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a\nlaoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis\nviverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar\nlacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere\nnon a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec\nnisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p>\n<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor\npharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie.\nNulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis\nin faucibus.</p>\n<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in.\nNullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra.\nClass aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus,\nin gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum\nmattis elementum. </p>', 17, '2016-06-17 16:22:19', '2016-06-17 16:22:19') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 17 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 17 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 17 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 9, 17) + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 2) + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 16:22:19', 'page', 2, 1, 'info', '2016-06-17 16:22:19')[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 10 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:22:19', '2016-06-17 16:22:19')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Information', 18, '2016-06-17 16:22:19', '2016-06-17 16:22:19') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 10, 18) + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 10 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:22:19', '2016-06-17 16:22:19') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at\nvarius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse\nac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit\namet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales.\nNam vehicula ligula quis mollis laoreet.</p>\n<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent\nvel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum,\nfinibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis\nmolestie nunc a efficitur.</p>\n<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a\nlaoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis\nviverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar\nlacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere\nnon a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec\nnisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p>\n<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor\npharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie.\nNulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis\nin faucibus.</p>\n<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in.\nNullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra.\nClass aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus,\nin gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum\nmattis elementum. </p>', 19, '2016-06-17 16:22:19', '2016-06-17 16:22:19')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 19 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 19 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 19 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 10, 19)[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + [1m[36m (0.0ms)[0m [1mCOMMIT[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 3)[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 16:22:19', 'page', 3, 1, 'privacy', '2016-06-17 16:22:19') + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 11 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:22:19', '2016-06-17 16:22:19') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Privacy Policy', 20, '2016-06-17 16:22:19', '2016-06-17 16:22:19')[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 11, 20)[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 11 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:22:19', '2016-06-17 16:22:19')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at\nvarius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse\nac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit\namet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales.\nNam vehicula ligula quis mollis laoreet.</p>\n<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent\nvel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum,\nfinibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis\nmolestie nunc a efficitur.</p>\n<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a\nlaoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis\nviverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar\nlacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere\nnon a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec\nnisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p>\n<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor\npharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie.\nNulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis\nin faucibus.</p>\n<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in.\nNullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra.\nClass aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus,\nin gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum\nmattis elementum. </p>', 21, '2016-06-17 16:22:19', '2016-06-17 16:22:19') + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 21 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 21 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 21 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 11, 21) + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 4) + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 16:22:19', 'page', 4, 1, 'contacts', '2016-06-17 16:22:19')[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 12 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:22:19', '2016-06-17 16:22:19')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Contacts', 22, '2016-06-17 16:22:19', '2016-06-17 16:22:19') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 12, 22) + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 12 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:22:19', '2016-06-17 16:22:19') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at\nvarius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse\nac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit\namet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales.\nNam vehicula ligula quis mollis laoreet.</p>\n<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent\nvel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum,\nfinibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis\nmolestie nunc a efficitur.</p>\n<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a\nlaoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis\nviverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar\nlacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere\nnon a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec\nnisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p>\n<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor\npharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie.\nNulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis\nin faucibus.</p>\n<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in.\nNullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra.\nClass aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus,\nin gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum\nmattis elementum. </p>', 23, '2016-06-17 16:22:19', '2016-06-17 16:22:19')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 23 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 23 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 23 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 12, 23)[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35m (1.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 5)[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `link`, `created_at`) VALUES ('2016-06-17 16:22:19', 'link', 5, 1, 'sps', 'http://studio.sp-service.com.ua', '2016-06-17 16:22:19') + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 13 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:22:19', '2016-06-17 16:22:19') + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'SP Studio', 24, '2016-06-17 16:22:19', '2016-06-17 16:22:19')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 13, 24)[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSQL (1.0ms)[0m [1mDELETE FROM `settings`[0m + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 19:25:06 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 17 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 17 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 19 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 19 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 21 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 21 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 23 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 23 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (63.0ms) + Rendered layouts/_front_meta.html.haml (48.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 417ms (Views: 399.3ms | ActiveRecord: 16.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:25:07 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:25:07 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 19:25:07 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 19:25:08 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 19:33:59 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 17 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 17 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 19 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 19 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 21 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 21 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 23 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 23 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (50.0ms) + Rendered layouts/_front_meta.html.haml (35.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + Rendered layouts/_menu.html.haml (7.0ms) +Completed 500 Internal Server Error in 299ms (ActiveRecord: 13.0ms) + +ActionView::Template::Error (Illegal nesting: nesting within plain text is illegal.): + 1: Page.active.each do |page| + 2: %li.navbar-btn{class: (:active if current_page? front_page_path(page.url_id))} + 3: = link_to page.title, front_page_path(page.url_id) + 4: -#.nav_menu + 5: -# .navbar-btn + app/views/layouts/_menu.html.haml:2 + app/views/layouts/front.html.haml:38:in `_app_views_layouts_front_html_haml___548352489_105969540' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (9.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (74.1ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (54.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (130.1ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 19:34:23 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 17 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 17 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 19 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 19 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 21 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 21 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 23 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 23 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (42.0ms) + Rendered layouts/_front_meta.html.haml (30.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (43.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m [["id", 24]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (61.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 366ms (Views: 354.2ms | ActiveRecord: 10.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:34:24 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 19:34:24 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 19:34:24 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:34:24 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 19:34:47 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 17 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 17 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 19 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 19 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 21 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 21 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 23 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 23 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (39.0ms) + Rendered layouts/_front_meta.html.haml (37.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (33.0ms) + [1m[36mCACHE (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m [["id", 24]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (21.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 318ms (Views: 304.2ms | ActiveRecord: 13.0ms) + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 19:34:47 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:34:47 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 19:34:48 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:34:48 +0300 + + +Started GET "/uk/pages/privacy" for 127.0.0.1 at 2016-06-17 19:39:37 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"privacy"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'privacy' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSetting Exists (1.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'title' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('title', 'Personal site', '2016-06-17 16:39:38', '2016-06-17 16:39:38') + [1m[36m (2.0ms)[0m [1mCOMMIT[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 21 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 21 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/page.html.haml within layouts/front (111.1ms) + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSetting Exists (1.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'description' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('description', 'Site of your dreams.', '2016-06-17 16:39:38', '2016-06-17 16:39:38') + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSetting Exists (1.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'keywords' LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('keywords', 'site, personal site, own site', '2016-06-17 16:39:38', '2016-06-17 16:39:38')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSetting Exists (0.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'site_name' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('site_name', 'Personal site', '2016-06-17 16:39:38', '2016-06-17 16:39:38') + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + Rendered layouts/_front_meta.html.haml (55.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (31.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m [["id", 24]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (34.0ms) + Rendered layouts/_language_selector.html.haml (4.0ms) + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSetting Exists (0.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'gse_id' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('gse_id', '007392588842326689376:3onw-lza4mc', '2016-06-17 16:39:38', '2016-06-17 16:39:38') + [1m[36m (1.0ms)[0m [1mCOMMIT[0m +Completed 200 OK in 471ms (Views: 359.2ms | ActiveRecord: 87.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:39:38 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 19:39:39 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:39:39 +0300 + + +Started GET "/uk/pages/about" for 127.0.0.1 at 2016-06-17 19:39:41 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"about"} + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'about' ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 17 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 17 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (84.1ms) + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1 + Rendered layouts/_front_meta.html.haml (26.0ms) + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1 [["id", 16]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 16], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (26.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1 [["id", 16]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 16], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1[0m [["id", 18]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 18], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1 [["id", 20]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 20], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1[0m [["id", 22]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 22], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1 [["id", 24]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (21.0ms) + Rendered layouts/_language_selector.html.haml (3.0ms) + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 +Completed 200 OK in 367ms (Views: 273.2ms | ActiveRecord: 73.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:39:42 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:39:42 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 19:39:42 +0300 + + +Started GET "/uk/pages/about" for 127.0.0.1 at 2016-06-17 19:39:45 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"about"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'about' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 17 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 17 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (10.0ms) + Rendered layouts/_front_meta.html.haml (26.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (24.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m [["id", 24]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (20.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 263ms (Views: 255.2ms | ActiveRecord: 5.0ms) + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 19:39:46 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:39:46 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:39:46 +0300 + + +Started GET "/uk/pages/info" for 127.0.0.1 at 2016-06-17 19:39:48 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"info"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'info' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 19 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 19 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (10.0ms) + Rendered layouts/_front_meta.html.haml (29.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (24.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m [["id", 24]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (17.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 262ms (Views: 255.2ms | ActiveRecord: 5.0ms) + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 19:39:49 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:39:49 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:39:49 +0300 + + +Started GET "/uk/pages/privacy" for 127.0.0.1 at 2016-06-17 19:39:50 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"privacy"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'privacy' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 21 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 21 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (13.0ms) + Rendered layouts/_front_meta.html.haml (29.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (39.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m [["id", 24]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (25.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 264ms (Views: 248.2ms | ActiveRecord: 14.0ms) + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:39:51 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:39:51 +0300 + + +Started GET "/uk/pages/contacts" for 127.0.0.1 at 2016-06-17 19:39:52 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"contacts"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'contacts' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 23 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 23 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (16.0ms) + Rendered layouts/_front_meta.html.haml (37.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (26.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m [["id", 24]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (27.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 292ms (Views: 277.2ms | ActiveRecord: 12.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:39:53 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:39:53 +0300 + + +Started GET "/uk/pages/contacts" for 127.0.0.1 at 2016-06-17 19:39:55 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"contacts"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'contacts' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 23 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 23 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (10.0ms) + Rendered layouts/_front_meta.html.haml (25.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (29.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m [["id", 24]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (22.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 236ms (Views: 223.1ms | ActiveRecord: 11.0ms) + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:39:55 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:39:55 +0300 + + +Started GET "/uk/pages/privacy" for 127.0.0.1 at 2016-06-17 19:39:56 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"privacy"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'privacy' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 21 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 21 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (14.0ms) + Rendered layouts/_front_meta.html.haml (27.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (34.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m [["id", 24]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (25.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 270ms (Views: 255.2ms | ActiveRecord: 11.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:39:57 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:39:57 +0300 + + +Started GET "/uk/pages/about" for 127.0.0.1 at 2016-06-17 19:39:59 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"about"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'about' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 17 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 17 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (9.0ms) + Rendered layouts/_front_meta.html.haml (23.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (30.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m [["id", 24]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (20.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 225ms (Views: 215.1ms | ActiveRecord: 7.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:39:59 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:39:59 +0300 + + +Started GET "/uk/pages/sps" for 127.0.0.1 at 2016-06-17 19:42:24 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"sps"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'sps' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (11.0ms) + Rendered layouts/_front_meta.html.haml (30.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m [["id", 24]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (27.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m [["id", 24]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (31.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 295ms (Views: 284.2ms | ActiveRecord: 8.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:42:24 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 19:42:24 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:42:24 +0300 + + +Started GET "/uk/pages/about" for 127.0.0.1 at 2016-06-17 19:42:29 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"about"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'about' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 17 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 17 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (11.0ms) + Rendered layouts/_front_meta.html.haml (23.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (28.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 9 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 9], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 16 LIMIT 1[0m [["id", 16]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 16 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 16], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 10 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 10], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 18 LIMIT 1 [["id", 18]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 18 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 18], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 11 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 11], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 20 LIMIT 1[0m [["id", 20]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 20 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 20], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 12 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 12], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 22 LIMIT 1 [["id", 22]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 22 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 22], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 13 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 13], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 24 LIMIT 1[0m [["id", 24]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 24 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 24], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (19.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 221ms (Views: 210.1ms | ActiveRecord: 8.0ms) + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:42:29 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:42:30 +0300 + [1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m + [1m[35mSQL (2.0ms)[0m DELETE FROM `accounts` + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mAccount Exists (0.0ms)[0m SELECT 1 AS one FROM `accounts` WHERE `accounts`.`email` = BINARY 'admin@example.com' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `accounts` (`email`, `encrypted_password`, `created_at`, `updated_at`) VALUES ('admin@example.com', '$2a$10$6uNskuET0tH1DIe/aOqjY.Y/WZv3IxzQOHTourEhWgnSmRE5WXKkC', '2016-06-17 16:42:56', '2016-06-17 16:42:56')[0m + [1m[35m (2.0ms)[0m COMMIT + [1m[36mSQL (1.0ms)[0m [1mDELETE FROM `administrators`[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `administrators` (`account_id`, `created_at`, `updated_at`) VALUES (4, '2016-06-17 16:42:56', '2016-06-17 16:42:56')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSQL (1.0ms)[0m [1mDELETE FROM `pages`[0m + [1m[35m (1.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 1)[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `link`, `created_at`) VALUES ('2016-06-17 16:42:56', 'path', 1, 1, 'main', '2016-06-17 16:42:56') + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 14 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:42:56', '2016-06-17 16:42:56') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Home', 25, '2016-06-17 16:42:56', '2016-06-17 16:42:56')[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 14, 25)[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (1.0ms)[0m UPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 2) + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 16:42:56', 'anchor', 2, 1, 'about', '2016-06-17 16:42:56')[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 15 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:42:56', '2016-06-17 16:42:56')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'About', 26, '2016-06-17 16:42:56', '2016-06-17 16:42:56') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 15, 26) + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 15 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:42:56', '2016-06-17 16:42:56') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at\nvarius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse\nac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit\namet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales.\nNam vehicula ligula quis mollis laoreet.</p>\n<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent\nvel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum,\nfinibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis\nmolestie nunc a efficitur.</p>\n<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a\nlaoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis\nviverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar\nlacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere\nnon a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec\nnisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p>\n<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor\npharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie.\nNulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis\nin faucibus.</p>\n<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in.\nNullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra.\nClass aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus,\nin gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum\nmattis elementum. </p>', 27, '2016-06-17 16:42:56', '2016-06-17 16:42:56')[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 15, 27)[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 3)[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 16:42:56', 'anchor', 3, 1, 'info', '2016-06-17 16:42:56') + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 16 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:42:56', '2016-06-17 16:42:56') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Information', 28, '2016-06-17 16:42:56', '2016-06-17 16:42:56')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 16, 28)[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 16 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:42:56', '2016-06-17 16:42:56')[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at\nvarius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse\nac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit\namet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales.\nNam vehicula ligula quis mollis laoreet.</p>\n<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent\nvel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum,\nfinibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis\nmolestie nunc a efficitur.</p>\n<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a\nlaoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis\nviverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar\nlacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere\nnon a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec\nnisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p>\n<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor\npharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie.\nNulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis\nin faucibus.</p>\n<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in.\nNullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra.\nClass aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus,\nin gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum\nmattis elementum. </p>', 29, '2016-06-17 16:42:56', '2016-06-17 16:42:56') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 16, 29) + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (0.0ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 4) + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 16:42:56', 'anchor', 4, 1, 'privacy', '2016-06-17 16:42:56')[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 17 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:42:56', '2016-06-17 16:42:56')[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Privacy Policy', 30, '2016-06-17 16:42:56', '2016-06-17 16:42:56') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 17, 30) + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 17 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:42:56', '2016-06-17 16:42:56') + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at\nvarius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse\nac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit\namet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales.\nNam vehicula ligula quis mollis laoreet.</p>\n<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent\nvel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum,\nfinibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis\nmolestie nunc a efficitur.</p>\n<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a\nlaoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis\nviverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar\nlacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere\nnon a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec\nnisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p>\n<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor\npharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie.\nNulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis\nin faucibus.</p>\n<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in.\nNullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra.\nClass aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus,\nin gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum\nmattis elementum. </p>', 31, '2016-06-17 16:42:56', '2016-06-17 16:42:56')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 17, 31)[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + [1m[36m (0.0ms)[0m [1mCOMMIT[0m + [1m[35m (1.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 5)[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-17 16:42:56', 'anchor', 5, 1, 'contacts', '2016-06-17 16:42:56') + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 18 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:42:56', '2016-06-17 16:42:56') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Contacts', 32, '2016-06-17 16:42:56', '2016-06-17 16:42:56')[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 18, 32)[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 18 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:42:56', '2016-06-17 16:42:56')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at\nvarius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse\nac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit\namet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales.\nNam vehicula ligula quis mollis laoreet.</p>\n<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent\nvel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum,\nfinibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis\nmolestie nunc a efficitur.</p>\n<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a\nlaoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis\nviverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar\nlacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere\nnon a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec\nnisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p>\n<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor\npharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie.\nNulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis\nin faucibus.</p>\n<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in.\nNullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra.\nClass aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus,\nin gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum\nmattis elementum. </p>', 33, '2016-06-17 16:42:56', '2016-06-17 16:42:56') + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 18, 33) + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 6) + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `link`, `created_at`) VALUES ('2016-06-17 16:42:56', 'link', 6, 1, 'sps', 'http://studio.sp-service.com.ua', '2016-06-17 16:42:56')[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 19 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-17 16:42:56', '2016-06-17 16:42:56')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'SP Studio', 34, '2016-06-17 16:42:56', '2016-06-17 16:42:56') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 19, 34) + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + [1m[36m (0.0ms)[0m [1mCOMMIT[0m + [1m[35mSQL (1.0ms)[0m DELETE FROM `settings` + + +Started GET "/uk/pages/about" for 127.0.0.1 at 2016-06-17 19:43:02 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"about"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'about' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (9.0ms) + Rendered layouts/_front_meta.html.haml (22.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + Rendered layouts/_menu.html.haml (8.0ms) +Completed 500 Internal Server Error in 277ms (ActiveRecord: 6.0ms) + +ActionView::Template::Error (No route matches {:action=>"page", :controller=>"front", :id=>nil, :locale=>:uk} missing required keys: [:id]): + 1: .nav_menu + 2: -Page.active.each do |page| + 3: .navbar-btn{class: (:active if current_page? front_page_path(page.url_id))} + 4: = link_to page.title, front_page_path(page.url_id) + 5: -#.nav_menu + 6: -# .navbar-btn + app/views/layouts/_menu.html.haml:3:in `block in _app_views_layouts__menu_html_haml___118497663_114290412' + app/views/layouts/_menu.html.haml:2:in `_app_views_layouts__menu_html_haml___118497663_114290412' + app/views/layouts/front.html.haml:38:in `_app_views_layouts_front_html_haml___548352489_105969540' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (49.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (60.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (114.1ms) + + +Started GET "/uk/pages/about" for 127.0.0.1 at 2016-06-17 19:43:06 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"about"} + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'about' ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/page.html.haml within layouts/front (9.0ms) + Rendered layouts/_front_meta.html.haml (22.0ms) + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + Rendered layouts/_menu.html.haml (5.0ms) +Completed 500 Internal Server Error in 166ms (ActiveRecord: 6.0ms) + +ActionView::Template::Error (No route matches {:action=>"page", :controller=>"front", :id=>nil, :locale=>:uk} missing required keys: [:id]): + 1: .nav_menu + 2: -Page.active.each do |page| + 3: .navbar-btn{class: (:active if current_page? front_page_path(page.url_id))} + 4: = link_to page.title, front_page_path(page.url_id) + 5: -#.nav_menu + 6: -# .navbar-btn + app/views/layouts/_menu.html.haml:3:in `block in _app_views_layouts__menu_html_haml___118497663_114290412' + app/views/layouts/_menu.html.haml:2:in `_app_views_layouts__menu_html_haml___118497663_114290412' + app/views/layouts/front.html.haml:38:in `_app_views_layouts_front_html_haml___548352489_105969540' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (43.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (42.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (89.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 19:43:25 +0300 +Processing by FrontController#index as HTML + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + Rendered front/index.html.haml within layouts/front (1.0ms) + Rendered layouts/_front_meta.html.haml (24.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + Rendered layouts/_menu.html.haml (4.0ms) +Completed 500 Internal Server Error in 165ms (ActiveRecord: 4.0ms) + +ActionView::Template::Error (No route matches {:action=>"page", :controller=>"front", :id=>nil, :locale=>:uk} missing required keys: [:id]): + 1: .nav_menu + 2: -Page.active.each do |page| + 3: .navbar-btn{class: (:active if current_page? front_page_path(page.url_id))} + 4: = link_to page.title, front_page_path(page.url_id) + 5: -#.nav_menu + 6: -# .navbar-btn + app/views/layouts/_menu.html.haml:3:in `block in _app_views_layouts__menu_html_haml___118497663_114290412' + app/views/layouts/_menu.html.haml:2:in `_app_views_layouts__menu_html_haml___118497663_114290412' + app/views/layouts/front.html.haml:38:in `_app_views_layouts_front_html_haml___548352489_105969540' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (48.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (52.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (111.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 19:51:31 +0300 +Processing by FrontController#index as HTML + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC + Rendered front/index.html.haml within layouts/front (1.0ms) + Rendered layouts/_front_meta.html.haml (23.0ms) + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + Rendered layouts/_menu.html.haml (8.0ms) +Completed 500 Internal Server Error in 204ms (ActiveRecord: 2.0ms) + +ActionView::Template::Error (No route matches {:action=>"page", :controller=>"front", :id=>nil, :locale=>:uk} missing required keys: [:id]): + 1: .nav_menu + 2: -Page.active.each do |page| + 3: .navbar-btn{class: (:active if current_page? front_page_path(page.url_id))} + 4: = link_to page.title, page_url_for(page) + 5: -#.nav_menu + 6: -# .navbar-btn + app/views/layouts/_menu.html.haml:3:in `block in _app_views_layouts__menu_html_haml___118497663_112388376' + app/views/layouts/_menu.html.haml:2:in `_app_views_layouts__menu_html_haml___118497663_112388376' + app/views/layouts/front.html.haml:38:in `_app_views_layouts_front_html_haml___548352489_105969540' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (10.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (69.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (42.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (114.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 19:51:34 +0300 +Processing by FrontController#index as HTML + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + Rendered front/index.html.haml within layouts/front (12.0ms) +Completed 500 Internal Server Error in 43ms (ActiveRecord: 13.0ms) + +ActionView::Template::Error (Missing partial front/all_page/_main_page with {:locale=>[:uk], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "C:/Users/CP/IdeaProjects/base_site/app/views" + * "C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/ckeditor-4.1.6/app/views" + * "C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/devise-i18n-1.0.1/app/views" + * "C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/devise-3.5.6/app/views" + * "C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/twitter-bootstrap-rails-3.2.2/app/views" +): + 11: + 12: + 13: #main_page + 14: = render('front/all_page/main_page') + 15: + 16: #certificate_page + 17: = render('front/all_page/certificate_page') + app/views/front/index.html.haml:14:in `_app_views_front_index_html_haml___254415949_80859192' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (44.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (40.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (85.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 19:52:18 +0300 +Processing by FrontController#index as HTML + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC + Rendered front/index.html.haml within layouts/front (15.0ms) +Completed 500 Internal Server Error in 26ms (ActiveRecord: 1.0ms) + +ActionView::Template::Error (Missing partial front/all_page/_main_page with {:locale=>[:uk], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in: + * "C:/Users/CP/IdeaProjects/base_site/app/views" + * "C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/ckeditor-4.1.6/app/views" + * "C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/devise-i18n-1.0.1/app/views" + * "C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/devise-3.5.6/app/views" + * "C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/twitter-bootstrap-rails-3.2.2/app/views" +): + 11: + 12: + 13: #main_page + 14: = render('front/all_page/main_page') + 15: + 16: #certificate_page + 17: = render('front/all_page/certificate_page') + app/views/front/index.html.haml:14:in `_app_views_front_index_html_haml___254415949_80859192' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (8.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (42.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (96.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 19:52:20 +0300 +Processing by FrontController#index as HTML + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + Rendered front/index.html.haml within layouts/front (4.0ms) + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSetting Exists (1.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'title' LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('title', 'Personal site', '2016-06-17 16:52:20', '2016-06-17 16:52:20')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (1.0ms)[0m BEGIN + [1m[36mSetting Exists (1.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'description' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('description', 'Site of your dreams.', '2016-06-17 16:52:20', '2016-06-17 16:52:20') + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'keywords' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('keywords', 'site, personal site, own site', '2016-06-17 16:52:20', '2016-06-17 16:52:20')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSetting Exists (0.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'site_name' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('site_name', 'Personal site', '2016-06-17 16:52:20', '2016-06-17 16:52:20') + [1m[36m (0.0ms)[0m [1mCOMMIT[0m + Rendered layouts/_front_meta.html.haml (68.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + Rendered layouts/_menu.html.haml (11.0ms) +Completed 500 Internal Server Error in 293ms (ActiveRecord: 64.0ms) + +ActionView::Template::Error (No route matches {:action=>"page", :controller=>"front", :id=>nil, :locale=>:uk} missing required keys: [:id]): + 1: .nav_menu + 2: -Page.active.each do |page| + 3: .navbar-btn{class: (:active if current_page? front_page_path(page.url_id))} + 4: = link_to page.title, page_url_for(page) + 5: -#.nav_menu + 6: -# .navbar-btn + app/views/layouts/_menu.html.haml:3:in `block in _app_views_layouts__menu_html_haml___118497663_112388376' + app/views/layouts/_menu.html.haml:2:in `_app_views_layouts__menu_html_haml___118497663_112388376' + app/views/layouts/front.html.haml:38:in `_app_views_layouts_front_html_haml___548352489_105969540' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (44.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (40.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (87.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 19:52:23 +0300 +Processing by FrontController#index as HTML + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC + Rendered front/index.html.haml within layouts/front (1.0ms) + Rendered layouts/_front_meta.html.haml (36.7ms) + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + Rendered layouts/_menu.html.haml (5.0ms) +Completed 500 Internal Server Error in 162ms (ActiveRecord: 2.0ms) + +ActionView::Template::Error (No route matches {:action=>"page", :controller=>"front", :id=>nil, :locale=>:uk} missing required keys: [:id]): + 1: .nav_menu + 2: -Page.active.each do |page| + 3: .navbar-btn{class: (:active if current_page? front_page_path(page.url_id))} + 4: = link_to page.title, page_url_for(page) + 5: -#.nav_menu + 6: -# .navbar-btn + app/views/layouts/_menu.html.haml:3:in `block in _app_views_layouts__menu_html_haml___118497663_112388376' + app/views/layouts/_menu.html.haml:2:in `_app_views_layouts__menu_html_haml___118497663_112388376' + app/views/layouts/front.html.haml:38:in `_app_views_layouts_front_html_haml___548352489_105969540' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (41.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (42.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (91.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 19:53:06 +0300 +Processing by FrontController#index as HTML + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + Rendered front/index.html.haml within layouts/front (1.0ms) + Rendered layouts/_front_meta.html.haml (26.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (22.0ms) +Completed 500 Internal Server Error in 233ms (ActiveRecord: 4.0ms) + +ActionView::Template::Error (No route matches {:action=>"show", :controller=>"pages", :locale=>:uk} missing required keys: [:id]): + 1: .nav_menu + 2: -Page.active.each do |page| + 3: .navbar-btn{class: (:active if current_page? page_url_for(page))} + 4: = link_to page.title, page_url_for(page) + 5: -#.nav_menu + 6: -# .navbar-btn + app/helpers/pages_helper.rb:6:in `page_url_for' + app/views/layouts/_menu.html.haml:3:in `block in _app_views_layouts__menu_html_haml___118497663_63169296' + app/views/layouts/_menu.html.haml:2:in `_app_views_layouts__menu_html_haml___118497663_63169296' + app/views/layouts/front.html.haml:38:in `_app_views_layouts_front_html_haml___548352489_105969540' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (41.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (53.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (108.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 19:53:08 +0300 +Processing by FrontController#index as HTML + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + Rendered front/index.html.haml within layouts/front (1.0ms) + Rendered layouts/_front_meta.html.haml (21.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (10.0ms) +Completed 500 Internal Server Error in 162ms (ActiveRecord: 2.0ms) + +ActionView::Template::Error (No route matches {:action=>"show", :controller=>"pages", :locale=>:uk} missing required keys: [:id]): + 1: .nav_menu + 2: -Page.active.each do |page| + 3: .navbar-btn{class: (:active if current_page? page_url_for(page))} + 4: = link_to page.title, page_url_for(page) + 5: -#.nav_menu + 6: -# .navbar-btn + app/helpers/pages_helper.rb:6:in `page_url_for' + app/views/layouts/_menu.html.haml:3:in `block in _app_views_layouts__menu_html_haml___118497663_63169296' + app/views/layouts/_menu.html.haml:2:in `_app_views_layouts__menu_html_haml___118497663_63169296' + app/views/layouts/front.html.haml:38:in `_app_views_layouts_front_html_haml___548352489_105969540' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (41.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (45.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (91.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 19:53:11 +0300 +Processing by FrontController#index as HTML + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + Rendered front/index.html.haml within layouts/front (1.0ms) + Rendered layouts/_front_meta.html.haml (22.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (11.0ms) +Completed 500 Internal Server Error in 152ms (ActiveRecord: 2.0ms) + +ActionView::Template::Error (No route matches {:action=>"show", :controller=>"pages", :locale=>:uk} missing required keys: [:id]): + 1: .nav_menu + 2: -Page.active.each do |page| + 3: .navbar-btn{class: (:active if current_page? page_url_for(page))} + 4: = link_to page.title, page_url_for(page) + 5: -#.nav_menu + 6: -# .navbar-btn + app/helpers/pages_helper.rb:6:in `page_url_for' + app/views/layouts/_menu.html.haml:3:in `block in _app_views_layouts__menu_html_haml___118497663_63169296' + app/views/layouts/_menu.html.haml:2:in `_app_views_layouts__menu_html_haml___118497663_63169296' + app/views/layouts/front.html.haml:38:in `_app_views_layouts_front_html_haml___548352489_105969540' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (11.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (64.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (62.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (138.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 19:54:27 +0300 +Processing by FrontController#index as HTML + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + Rendered front/index.html.haml within layouts/front (1.0ms) + Rendered layouts/_front_meta.html.haml (29.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (10.0ms) +Completed 500 Internal Server Error in 201ms (ActiveRecord: 5.0ms) + +ActionView::Template::Error (No route matches {:action=>"show", :controller=>"pages", :locale=>:uk} missing required keys: [:id]): + 1: .nav_menu + 2: -Page.active.each do |page| + 3: .navbar-btn{class: (:active if current_page? page_url_for(page))} + 4: = link_to page.title, page_url_for(page) + 5: -#.nav_menu + 6: -# .navbar-btn + app/helpers/pages_helper.rb:6:in `page_url_for' + app/views/layouts/_menu.html.haml:3:in `block in _app_views_layouts__menu_html_haml___118497663_63169296' + app/views/layouts/_menu.html.haml:2:in `_app_views_layouts__menu_html_haml___118497663_63169296' + app/views/layouts/front.html.haml:38:in `_app_views_layouts_front_html_haml___548352489_105969540' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (46.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (51.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (104.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 19:54:29 +0300 +Processing by FrontController#index as HTML + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + Rendered front/index.html.haml within layouts/front (1.0ms) + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1[0m + Rendered layouts/_front_meta.html.haml (50.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (24.0ms) +Completed 500 Internal Server Error in 402ms (ActiveRecord: 72.1ms) + +ActionView::Template::Error (undefined method `page' for #<Page:0xa93a748>): + 1: .nav_menu + 2: -Page.active.each do |page| + 3: .navbar-btn{class: (:active if current_page? page_url_for(page))} + 4: = link_to page.title, page_url_for(page) + 5: -#.nav_menu + 6: -# .navbar-btn + lib/active_translation/active_translation.rb:205:in `method_missing' + lib/active_translation/active_translation.rb:203:in `method_missing' + app/helpers/pages_helper.rb:6:in `page_url_for' + app/views/layouts/_menu.html.haml:3:in `block in _app_views_layouts__menu_html_haml___118497663_63169296' + app/views/layouts/_menu.html.haml:2:in `_app_views_layouts__menu_html_haml___118497663_63169296' + app/views/layouts/front.html.haml:38:in `_app_views_layouts_front_html_haml___548352489_105969540' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (51.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (43.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (91.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-17 19:56:57 +0300 +Processing by FrontController#index as HTML + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC[0m + Rendered front/index.html.haml within layouts/front (4.0ms) + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1[0m + Rendered layouts/_front_meta.html.haml (45.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (40.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (22.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSetting Exists (0.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'gse_id' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('gse_id', '007392588842326689376:3onw-lza4mc', '2016-06-17 16:56:58', '2016-06-17 16:56:58') + [1m[36m (2.0ms)[0m [1mCOMMIT[0m +Completed 200 OK in 367ms (Views: 283.2ms | ActiveRecord: 72.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:56:58 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 19:56:58 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:56:58 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 19:56:58 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 19:57:04 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC + Rendered front/index.html.haml within layouts/front (2.0ms) + Rendered layouts/_front_meta.html.haml (22.0ms) + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (34.0ms) + [1m[36mCACHE (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m [["id", 25]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 25], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 [["id", 34]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (25.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 223ms (Views: 209.1ms | ActiveRecord: 12.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 19:57:15 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC + Rendered front/index.html.haml within layouts/front (1.0ms) + Rendered layouts/_front_meta.html.haml (22.0ms) + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (32.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m [["id", 25]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 25], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 [["id", 34]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (25.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 207ms (Views: 198.1ms | ActiveRecord: 6.0ms) + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 19:57:15 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 19:57:15 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:57:15 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:57:16 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 19:57:20 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC + Rendered front/index.html.haml within layouts/front (2.0ms) + Rendered layouts/_front_meta.html.haml (24.0ms) + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (31.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m [["id", 25]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 25], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 [["id", 34]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (40.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 255ms (Views: 249.2ms | ActiveRecord: 5.0ms) + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 19:57:20 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 19:57:20 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 19:57:21 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 19:57:21 +0300 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` ORDER BY `pages`.`position` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` ORDER BY `pages`.`position` ASC[0m + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 20:01:51 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'page' ORDER BY `pages`.`position` ASC + Rendered front/index.html.haml within layouts/front (1.0ms) + Rendered layouts/_front_meta.html.haml (31.0ms) + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (56.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m [["id", 25]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 25], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 [["id", 34]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (40.0ms) + Rendered layouts/_language_selector.html.haml (18.0ms) +Completed 200 OK in 355ms (Views: 340.2ms | ActiveRecord: 13.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 20:01:52 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 20:01:52 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 20:01:52 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 20:01:52 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 20:02:05 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (121.1ms) + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1 + Rendered layouts/_front_meta.html.haml (44.0ms) + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (27.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m [["id", 25]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 25], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 [["id", 34]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (24.0ms) + Rendered layouts/_language_selector.html.haml (3.0ms) + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 +Completed 200 OK in 426ms (Views: 324.2ms | ActiveRecord: 82.1ms) + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 20:02:06 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 20:02:06 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 20:02:06 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 20:02:06 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 20:02:22 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (42.0ms) + Rendered layouts/_front_meta.html.haml (24.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (28.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (22.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 266ms (Views: 252.2ms | ActiveRecord: 13.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 20:02:33 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (53.0ms) + Rendered layouts/_front_meta.html.haml (28.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (31.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (28.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 294ms (Views: 277.2ms | ActiveRecord: 15.0ms) + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 20:02:34 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 20:02:34 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 20:02:34 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 20:02:44 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (41.0ms) + Rendered layouts/_front_meta.html.haml (25.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (41.9ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (21.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 269ms (Views: 254.0ms | ActiveRecord: 13.0ms) + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 20:02:45 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 20:02:45 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 20:02:45 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 20:02:58 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (40.0ms) + Rendered layouts/_front_meta.html.haml (24.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (28.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (27.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 260ms (Views: 249.2ms | ActiveRecord: 9.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 20:02:59 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 20:02:59 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 20:02:59 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 20:02:59 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 20:04:54 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (49.0ms) + Rendered layouts/_front_meta.html.haml (26.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (24.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (21.0ms) + Rendered layouts/_language_selector.html.haml (3.0ms) +Completed 200 OK in 306ms (Views: 294.2ms | ActiveRecord: 10.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 20:04:55 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 20:04:55 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 20:04:55 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 20:04:55 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 20:14:49 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (62.0ms) + Rendered layouts/_front_meta.html.haml (38.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (43.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (48.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 442ms (Views: 421.3ms | ActiveRecord: 19.0ms) + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 20:14:49 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 20:14:50 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 20:14:50 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-17 20:14:50 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-17 20:35:19 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (43.0ms) + Rendered layouts/_front_meta.html.haml (26.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (35.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (23.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 283ms (Views: 263.2ms | ActiveRecord: 18.0ms) + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-17 20:35:19 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-17 20:35:19 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-17 20:35:20 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-18 22:30:21 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (7.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (2.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (85.1ms) + Rendered layouts/_front_meta.html.haml (47.1ms) + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (29.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m [["id", 25]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 25], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 [["id", 34]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (26.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 695ms (Views: 591.5ms | ActiveRecord: 45.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-18 22:30:22 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-18 22:30:22 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-18 22:30:22 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-18 22:30:22 +0300 + + +Started GET "/" for 127.0.0.1 at 2016-06-21 20:13:24 +0300 + [1m[36mActiveRecord::SchemaMigration Load (16.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rake db:migrate RAILS_ENV=development + +): + activerecord (4.2.5.1) lib/active_record/migration.rb:392:in `check_pending!' + activerecord (4.2.5.1) lib/active_record/migration.rb:373:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.5.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.5.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.5.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.5.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.5.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.5.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.5.1) lib/rails/engine.rb:518:in `call' + railties (4.2.5.1) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (61.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (357.2ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (422.3ms) + [1m[36m (0.0ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m + [1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m +Migrating to CreateCkeditorAssets (20160302111301) + [1m[35m (28.0ms)[0m CREATE TABLE `ckeditor_assets` (`id` int(11) auto_increment PRIMARY KEY, `data_file_name` varchar(255) NOT NULL, `data_content_type` varchar(255), `data_file_size` int(11), `assetable_id` int(11), `assetable_type` varchar(30), `type` varchar(30), `width` int(11), `height` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB + [1m[36m (16.7ms)[0m [1mCREATE INDEX `idx_ckeditor_assetable_type` ON `ckeditor_assets` (`assetable_type`, `type`, `assetable_id`) [0m + [1m[35m (18.0ms)[0m CREATE INDEX `idx_ckeditor_assetable` ON `ckeditor_assets` (`assetable_type`, `assetable_id`) + [1m[36m (1.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20160302111301') + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations` + [1m[36m (1.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'accounts' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `accounts` + [1m[36m (1.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'administrators' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `administrators` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'block_versions' +[0m + [1m[35m (1.0ms)[0m SHOW CREATE TABLE `block_versions` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'blocks' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `blocks` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'ckeditor_assets' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `ckeditor_assets` + [1m[36m (1.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'newsletters' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `newsletters` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'pages' +[0m + [1m[35m (1.0ms)[0m SHOW CREATE TABLE `pages` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'phrase_containers' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `phrase_containers` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'phrases' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `phrases` + [1m[36m (1.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'settings' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `settings` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_development' + AND fk.table_name = 'translations' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `translations` + + +Started GET "/" for 127.0.0.1 at 2016-06-21 20:14:49 +0300 + [1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations` +Processing by FrontController#index as HTML + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (179.1ms) + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1 + Rendered layouts/_front_meta.html.haml (406.3ms) + [1m[36mBlock Load (2.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (37.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m [["id", 25]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 25], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 [["id", 34]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (82.1ms) + Rendered layouts/_language_selector.html.haml (3.0ms) + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 +Completed 200 OK in 12397ms (Views: 12225.9ms | ActiveRecord: 93.1ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-21 20:15:02 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-21 20:15:02 +0300 + + +Started GET "/assets/front-805c1ec4361cb1f6b490e9a3856a69297b95690a695e378ce5f35cf65f0fe669.js" for 127.0.0.1 at 2016-06-21 20:15:02 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-21 20:15:02 +0300 + + +Started GET "/favicon.png" for 127.0.0.1 at 2016-06-21 20:15:03 +0300 + +ActionController::RoutingError (No route matches [GET] "/favicon.png"): + actionpack (4.2.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.5.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.5.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.5.1) lib/rails/engine.rb:518:in `call' + railties (4.2.5.1) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (5.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (95.1ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (42.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (92.1ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-21 20:23:30 +0300 + [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m +Processing by FrontController#index as HTML + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (217.1ms) + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1 + Rendered layouts/_front_meta.html.haml (332.2ms) + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (34.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m [["id", 25]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 25], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 [["id", 34]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (30.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 +Completed 200 OK in 4501ms (Views: 4330.9ms | ActiveRecord: 77.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-21 20:35:30 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (54.0ms) + Rendered layouts/_front_meta.html.haml (29.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (25.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (22.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 462ms (Views: 445.3ms | ActiveRecord: 15.0ms) + + +Started GET "/assets/front-b9dd1132878142b071ed19c21f38ca6fee0929bad2b92cc3a4ba8e2ea8da5a48.js" for 127.0.0.1 at 2016-06-21 20:35:31 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-21 20:35:34 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (41.0ms) + Rendered layouts/_front_meta.html.haml (21.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (25.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (22.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 252ms (Views: 233.1ms | ActiveRecord: 17.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-21 20:36:00 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (37.0ms) + Rendered layouts/_front_meta.html.haml (30.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (38.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (30.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 987ms (Views: 962.6ms | ActiveRecord: 22.0ms) + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-21 20:36:01 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-21 20:36:01 +0300 + + +Started GET "/assets/front-47a254cc84bb623c55a56995a4378050c0bc49f9337b5702290ca45a461b8b44.js" for 127.0.0.1 at 2016-06-21 20:36:01 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-21 20:36:01 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-21 20:36:20 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (64.0ms) + Rendered layouts/_front_meta.html.haml (72.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (26.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (22.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 1236ms (Views: 1215.8ms | ActiveRecord: 17.0ms) + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-21 20:36:22 +0300 + + +Started GET "/assets/front-488a14ee12e6e9e00787185cffe19df2302356d845911bec938110590955ece8.js" for 127.0.0.1 at 2016-06-21 20:36:22 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-21 20:36:22 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-21 20:36:22 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-21 20:37:42 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (43.0ms) + Rendered layouts/_front_meta.html.haml (30.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (25.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (32.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 670ms (Views: 656.3ms | ActiveRecord: 12.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-21 20:37:43 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-21 20:37:43 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-21 20:37:43 +0300 + + +Started GET "/assets/front-fc25dc520965e13bacfa8e1551685df2d4956819e05ef44b731833aad694c390.js" for 127.0.0.1 at 2016-06-21 20:37:43 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-21 20:37:50 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (39.0ms) + Rendered layouts/_front_meta.html.haml (22.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (27.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (23.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 245ms (Views: 230.1ms | ActiveRecord: 14.0ms) + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-21 20:37:51 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-21 20:37:51 +0300 + + +Started GET "/assets/front-fc25dc520965e13bacfa8e1551685df2d4956819e05ef44b731833aad694c390.js" for 127.0.0.1 at 2016-06-21 20:37:51 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-21 20:37:51 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-21 20:41:41 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (2.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (81.1ms) + Rendered layouts/_front_meta.html.haml (49.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (26.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (23.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 840ms (Views: 808.5ms | ActiveRecord: 28.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-21 20:41:42 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-21 20:41:42 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-21 20:41:42 +0300 + + +Started GET "/assets/front-ac6cae792a309b3155a04781fb12449c281764e444c22225df1d607221478310.js" for 127.0.0.1 at 2016-06-21 20:41:42 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 12:05:51 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (36.0ms) + Rendered layouts/_front_meta.html.haml (32.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (25.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (20.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 740ms (Views: 728.5ms | ActiveRecord: 10.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 12:05:52 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-22 12:05:52 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 12:05:52 +0300 + + +Started GET "/assets/front-584bdde2b9da7ccc0fd3375efb2e112e84287511baec08f783bc8fb9f504c253.js" for 127.0.0.1 at 2016-06-22 12:05:52 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 12:05:58 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (2.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (70.0ms) + Rendered layouts/_front_meta.html.haml (47.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (38.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (25.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 402ms (Views: 378.3ms | ActiveRecord: 18.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 12:16:47 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (44.0ms) + Rendered layouts/_front_meta.html.haml (26.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (36.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (23.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 665ms (Views: 651.4ms | ActiveRecord: 13.0ms) + + +Started GET "/assets/front-37a6ddfcbe97f194887ce757e4c4c1d23b907808cb4c1251655a4fb4fef69439.js" for 127.0.0.1 at 2016-06-22 12:16:48 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 12:34:33 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (63.0ms) + Rendered layouts/_front_meta.html.haml (36.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (45.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (29.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 1131ms (Views: 1115.7ms | ActiveRecord: 12.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 12:34:34 +0300 + + +Started GET "/assets/front-d62f0c5ff8910554a791aafa059119dbad5701b3459c94d299d29f2e076b7088.js" for 127.0.0.1 at 2016-06-22 12:34:34 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-22 12:34:34 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 12:34:35 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 12:50:45 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (2.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (65.0ms) + Rendered layouts/_front_meta.html.haml (45.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (35.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (34.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 1039ms (Views: 1018.7ms | ActiveRecord: 18.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 12:50:46 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-22 12:50:47 +0300 + + +Started GET "/assets/front-f1f6d3a81d86e1f19148ac6af931ce26eea303304302010c9b0780946617f8f6.js" for 127.0.0.1 at 2016-06-22 12:50:47 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 12:50:47 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 12:51:02 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (36.0ms) + Rendered layouts/_front_meta.html.haml (23.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (25.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (23.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 266ms (Views: 248.2ms | ActiveRecord: 16.0ms) + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-22 12:51:02 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 12:51:02 +0300 + + +Started GET "/assets/front-f1f6d3a81d86e1f19148ac6af931ce26eea303304302010c9b0780946617f8f6.js" for 127.0.0.1 at 2016-06-22 12:51:03 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 12:51:03 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 12:52:09 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (51.0ms) + Rendered layouts/_front_meta.html.haml (33.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (68.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (35.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 1117ms (Views: 1098.7ms | ActiveRecord: 16.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 12:52:10 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-22 12:52:10 +0300 + + +Started GET "/assets/front-4fbe75dbc582da4bbc7762e376001b68fdda3f14a227ddb6852ace7841ab2824.js" for 127.0.0.1 at 2016-06-22 12:52:10 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 12:52:10 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 12:53:17 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (43.0ms) + Rendered layouts/_front_meta.html.haml (40.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (44.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (31.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 762ms (Views: 743.5ms | ActiveRecord: 16.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 12:53:18 +0300 + + +Started GET "/assets/front-99f8f0f8e0374e1716c6b05b5488bb74e99ed26a25120ebb7b94fe384b2fe55c.js" for 127.0.0.1 at 2016-06-22 12:53:18 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 12:53:18 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-22 12:53:18 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 12:53:24 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (45.0ms) + Rendered layouts/_front_meta.html.haml (26.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (26.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (23.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 276ms (Views: 259.2ms | ActiveRecord: 15.0ms) + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-22 12:53:24 +0300 + + +Started GET "/assets/front-99f8f0f8e0374e1716c6b05b5488bb74e99ed26a25120ebb7b94fe384b2fe55c.js" for 127.0.0.1 at 2016-06-22 12:53:25 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 12:53:25 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 12:53:25 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 12:53:51 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (37.0ms) + Rendered layouts/_front_meta.html.haml (31.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (38.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (35.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 738ms (Views: 718.5ms | ActiveRecord: 18.0ms) + + +Started GET "/assets/front-0c12bfe3b9dc2ec1e05b192cacb658adb1c6ef713ea79689b81530e7a194dda0.js" for 127.0.0.1 at 2016-06-22 12:53:52 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 12:53:52 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-22 12:53:52 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 12:53:52 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 12:56:10 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (37.0ms) + Rendered layouts/_front_meta.html.haml (35.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (28.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (23.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 762ms (Views: 749.5ms | ActiveRecord: 10.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 12:56:11 +0300 + + +Started GET "/assets/front-05fe58e815f86855614b19b5f83828ff656b9314f27456d882b094c0d5de98ce.css" for 127.0.0.1 at 2016-06-22 12:56:11 +0300 + + +Started GET "/assets/front-01105f7fdea29d0672047eb75ba7cff1a139b221c5d5c9de75debc480bb5585e.js" for 127.0.0.1 at 2016-06-22 12:56:11 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 12:56:11 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:04:12 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (37.0ms) + Rendered layouts/_front_meta.html.haml (30.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (34.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (24.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 706ms (Views: 693.5ms | ActiveRecord: 11.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:04:13 +0300 + + +Started GET "/assets/front-985230208465e9f3956942e552fcb20f76e510af74369c8dd1430cf0815db2c3.css" for 127.0.0.1 at 2016-06-22 13:04:13 +0300 + + +Started GET "/assets/front-01105f7fdea29d0672047eb75ba7cff1a139b221c5d5c9de75debc480bb5585e.js" for 127.0.0.1 at 2016-06-22 13:04:13 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:04:13 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:05:54 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (52.0ms) + Rendered layouts/_front_meta.html.haml (51.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (39.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (27.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 1072ms (Views: 1053.7ms | ActiveRecord: 17.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:05:55 +0300 + + +Started GET "/assets/front-15ac79b6e068762b4606eecb3662d6e060af17141054627432b45cb57dff3018.css" for 127.0.0.1 at 2016-06-22 13:05:56 +0300 + + +Started GET "/assets/front-606b385b6fa43905da9b3bc89c82e9c1072b3be7f3977f735d6f9363687979df.js" for 127.0.0.1 at 2016-06-22 13:05:56 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:05:56 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:08:05 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (2.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (57.0ms) + Rendered layouts/_front_meta.html.haml (46.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (26.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (21.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 840ms (Views: 818.6ms | ActiveRecord: 18.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:08:06 +0300 + + +Started GET "/assets/front-4c67d9b86c015c61ad619ebd8a1f982f47e4ac0d15e911866c02646752974a30.css" for 127.0.0.1 at 2016-06-22 13:08:06 +0300 + + +Started GET "/assets/front-606b385b6fa43905da9b3bc89c82e9c1072b3be7f3977f735d6f9363687979df.js" for 127.0.0.1 at 2016-06-22 13:08:06 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:08:06 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:08:23 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (52.0ms) + Rendered layouts/_front_meta.html.haml (30.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (31.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (25.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 304ms (Views: 283.2ms | ActiveRecord: 19.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:14:50 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (38.0ms) + Rendered layouts/_front_meta.html.haml (33.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (29.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (25.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 1247ms (Views: 1233.8ms | ActiveRecord: 11.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:14:51 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:14:51 +0300 + + +Started GET "/assets/front-606b385b6fa43905da9b3bc89c82e9c1072b3be7f3977f735d6f9363687979df.js" for 127.0.0.1 at 2016-06-22 13:14:51 +0300 + + +Started GET "/assets/front-d38da3e68d3a4d8c1b6cb68e2bba6392d92813486f7c71f86018db2db8edcb97.css" for 127.0.0.1 at 2016-06-22 13:14:51 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:16:21 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (51.0ms) + Rendered layouts/_front_meta.html.haml (24.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (78.1ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (71.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 670ms (Views: 655.4ms | ActiveRecord: 13.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:16:23 +0300 + + +Started GET "/assets/front-93e55c183841cd5e734d3d82ac32fdf0abdb0f4569e974b41a0d6ea0f25ac228.css" for 127.0.0.1 at 2016-06-22 13:16:23 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:16:23 +0300 + + +Started GET "/assets/front-606b385b6fa43905da9b3bc89c82e9c1072b3be7f3977f735d6f9363687979df.js" for 127.0.0.1 at 2016-06-22 13:16:23 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:16:29 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (39.0ms) + Rendered layouts/_front_meta.html.haml (23.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (36.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (28.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 285ms (Views: 270.2ms | ActiveRecord: 14.0ms) + + +Started GET "/assets/front-93e55c183841cd5e734d3d82ac32fdf0abdb0f4569e974b41a0d6ea0f25ac228.css" for 127.0.0.1 at 2016-06-22 13:16:30 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:16:30 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:16:30 +0300 + + +Started GET "/assets/front-606b385b6fa43905da9b3bc89c82e9c1072b3be7f3977f735d6f9363687979df.js" for 127.0.0.1 at 2016-06-22 13:16:30 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:18:44 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (52.0ms) + Rendered layouts/_front_meta.html.haml (28.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (27.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (21.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 542ms (Views: 525.9ms | ActiveRecord: 14.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:18:45 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:18:45 +0300 + + +Started GET "/assets/front-606b385b6fa43905da9b3bc89c82e9c1072b3be7f3977f735d6f9363687979df.js" for 127.0.0.1 at 2016-06-22 13:18:45 +0300 + + +Started GET "/assets/front-eb39c2b0c96895c43ac91711ce59b070dd6e9a4560efcc7d6d92405b934e71b2.css" for 127.0.0.1 at 2016-06-22 13:18:45 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:18:59 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (80.1ms) + Rendered layouts/_front_meta.html.haml (39.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (30.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (22.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 494ms (Views: 473.3ms | ActiveRecord: 16.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:20:01 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (38.0ms) + Rendered layouts/_front_meta.html.haml (33.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (25.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (21.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 565ms (Views: 547.4ms | ActiveRecord: 16.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:20:02 +0300 + + +Started GET "/assets/front-d0df8ab2ae5ad8b1c79c40c9890de66fa7ffac0e455cfeac64903a91af36d6f2.css" for 127.0.0.1 at 2016-06-22 13:20:02 +0300 + + +Started GET "/assets/front-606b385b6fa43905da9b3bc89c82e9c1072b3be7f3977f735d6f9363687979df.js" for 127.0.0.1 at 2016-06-22 13:20:02 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:20:02 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:20:19 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (41.0ms) + Rendered layouts/_front_meta.html.haml (33.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (32.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (36.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 837ms (Views: 820.6ms | ActiveRecord: 14.0ms) + + +Started GET "/assets/front-64bde81afa51bfd25f79b92cc80ab865995fbfa4626590dac93071ce199de84d.css" for 127.0.0.1 at 2016-06-22 13:20:21 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:20:21 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:20:21 +0300 + + +Started GET "/assets/front-606b385b6fa43905da9b3bc89c82e9c1072b3be7f3977f735d6f9363687979df.js" for 127.0.0.1 at 2016-06-22 13:20:21 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:21:08 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (42.0ms) + Rendered layouts/_front_meta.html.haml (26.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (56.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (80.1ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 811ms (Views: 790.5ms | ActiveRecord: 18.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:21:09 +0300 + + +Started GET "/assets/front-4034bfc52d505dbd3e61531dcaaa740badc7900ddf726d1ef253fa984d0cfa2d.css" for 127.0.0.1 at 2016-06-22 13:21:09 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:21:09 +0300 + + +Started GET "/assets/front-606b385b6fa43905da9b3bc89c82e9c1072b3be7f3977f735d6f9363687979df.js" for 127.0.0.1 at 2016-06-22 13:21:09 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:22:44 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (40.0ms) + Rendered layouts/_front_meta.html.haml (36.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (34.0ms) + [1m[35mCACHE (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (26.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 303ms (Views: 283.2ms | ActiveRecord: 19.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:22:45 +0300 + + +Started GET "/assets/front-4034bfc52d505dbd3e61531dcaaa740badc7900ddf726d1ef253fa984d0cfa2d.css" for 127.0.0.1 at 2016-06-22 13:22:45 +0300 + + +Started GET "/assets/front-606b385b6fa43905da9b3bc89c82e9c1072b3be7f3977f735d6f9363687979df.js" for 127.0.0.1 at 2016-06-22 13:22:45 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:22:45 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:22:58 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (43.0ms) + Rendered layouts/_front_meta.html.haml (31.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (37.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (35.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 385ms (Views: 371.2ms | ActiveRecord: 13.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:23:06 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (42.0ms) + Rendered layouts/_front_meta.html.haml (23.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (32.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (23.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 250ms (Views: 231.2ms | ActiveRecord: 17.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:23:19 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (61.0ms) + Rendered layouts/_front_meta.html.haml (37.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (46.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (50.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 413ms (Views: 386.3ms | ActiveRecord: 25.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:25:56 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 27 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 27 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 29 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 29 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 31 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 31 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 33 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 33 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (43.0ms) + Rendered layouts/_front_meta.html.haml (27.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1 [["id", 26]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 26], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1[0m [["id", 28]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 28], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1 [["id", 30]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 30], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1[0m [["id", 32]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 32], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (33.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 14 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 14], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 25 LIMIT 1 [["id", 25]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 25 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 25], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 15 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 15], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 26 LIMIT 1[0m [["id", 26]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 26 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 26], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 16 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 16], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 28 LIMIT 1 [["id", 28]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 28 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 28], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 17 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 17], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 30 LIMIT 1[0m [["id", 30]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 30 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 30], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 18 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 18], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 32 LIMIT 1 [["id", 32]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 32 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 32], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 19 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 19], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 34 LIMIT 1[0m [["id", 34]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 34 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 34], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (28.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 287ms (Views: 269.2ms | ActiveRecord: 16.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:25:57 +0300 + + +Started GET "/assets/front-606b385b6fa43905da9b3bc89c82e9c1072b3be7f3977f735d6f9363687979df.js" for 127.0.0.1 at 2016-06-22 13:25:57 +0300 + + +Started GET "/assets/front-4034bfc52d505dbd3e61531dcaaa740badc7900ddf726d1ef253fa984d0cfa2d.css" for 127.0.0.1 at 2016-06-22 13:25:57 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:25:57 +0300 + [1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m + [1m[35mSQL (2.0ms)[0m DELETE FROM `accounts` + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mAccount Exists (2.0ms)[0m SELECT 1 AS one FROM `accounts` WHERE `accounts`.`email` = BINARY 'admin@example.com' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `accounts` (`email`, `encrypted_password`, `created_at`, `updated_at`) VALUES ('admin@example.com', '$2a$10$NtaGyxsWCw79Lu1O7664tOhz9YXwcNS0TtF0qulIISpFLGF4zrpfy', '2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSQL (1.0ms)[0m [1mDELETE FROM `administrators`[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `administrators` (`account_id`, `created_at`, `updated_at`) VALUES (5, '2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSQL (0.0ms)[0m [1mDELETE FROM `pages`[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (2.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 1)[0m + [1m[35mSQL (0.4ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `link`, `created_at`) VALUES ('2016-06-22 10:26:05', 'path', 1, 1, 'main', '2016-06-22 10:26:05') + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 20 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 10:26:05', '2016-06-22 10:26:05') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Home', 35, '2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 20, 35)[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 2) + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-22 10:26:05', 'anchor', 2, 1, 'about', '2016-06-22 10:26:05')[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 21 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'About', 36, '2016-06-22 10:26:05', '2016-06-22 10:26:05') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 21, 36) + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 21 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 10:26:05', '2016-06-22 10:26:05') + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at\nvarius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse\nac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit\namet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales.\nNam vehicula ligula quis mollis laoreet.</p>\n<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent\nvel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum,\nfinibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis\nmolestie nunc a efficitur.</p>\n<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a\nlaoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis\nviverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar\nlacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere\nnon a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec\nnisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p>\n<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor\npharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie.\nNulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis\nin faucibus.</p>\n<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in.\nNullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra.\nClass aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus,\nin gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum\nmattis elementum. </p>', 37, '2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 21, 37)[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + [1m[36m (0.0ms)[0m [1mCOMMIT[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 3)[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-22 10:26:05', 'anchor', 3, 1, 'info', '2016-06-22 10:26:05') + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 22 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 10:26:05', '2016-06-22 10:26:05') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Information', 38, '2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 22, 38)[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 22 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at\nvarius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse\nac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit\namet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales.\nNam vehicula ligula quis mollis laoreet.</p>\n<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent\nvel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum,\nfinibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis\nmolestie nunc a efficitur.</p>\n<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a\nlaoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis\nviverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar\nlacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere\nnon a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec\nnisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p>\n<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor\npharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie.\nNulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis\nin faucibus.</p>\n<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in.\nNullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra.\nClass aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus,\nin gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum\nmattis elementum. </p>', 39, '2016-06-22 10:26:05', '2016-06-22 10:26:05') + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 22, 39) + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 4) + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-22 10:26:05', 'anchor', 4, 1, 'privacy', '2016-06-22 10:26:05')[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 23 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Privacy Policy', 40, '2016-06-22 10:26:05', '2016-06-22 10:26:05') + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 23, 40) + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 23 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 10:26:05', '2016-06-22 10:26:05') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at\nvarius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse\nac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit\namet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales.\nNam vehicula ligula quis mollis laoreet.</p>\n<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent\nvel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum,\nfinibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis\nmolestie nunc a efficitur.</p>\n<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a\nlaoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis\nviverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar\nlacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere\nnon a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec\nnisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p>\n<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor\npharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie.\nNulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis\nin faucibus.</p>\n<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in.\nNullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra.\nClass aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus,\nin gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum\nmattis elementum. </p>', 41, '2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 23, 41)[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 5)[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-22 10:26:05', 'anchor', 5, 1, 'contacts', '2016-06-22 10:26:05') + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 24 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 10:26:05', '2016-06-22 10:26:05') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Contacts', 42, '2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 24, 42)[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 24 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35mSQL (2.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at\nvarius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse\nac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit\namet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales.\nNam vehicula ligula quis mollis laoreet.</p>\n<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent\nvel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum,\nfinibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis\nmolestie nunc a efficitur.</p>\n<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a\nlaoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis\nviverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar\nlacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere\nnon a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec\nnisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p>\n<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor\npharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie.\nNulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis\nin faucibus.</p>\n<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in.\nNullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra.\nClass aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus,\nin gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum\nmattis elementum. </p>', 43, '2016-06-22 10:26:05', '2016-06-22 10:26:05') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 24, 43) + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (1.1ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 6) + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `created_at`) VALUES ('2016-06-22 10:26:05', 'page', 6, 1, 'page', '2016-06-22 10:26:05')[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 25 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Page', 44, '2016-06-22 10:26:05', '2016-06-22 10:26:05') + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 25, 44) + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 25 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 10:26:05', '2016-06-22 10:26:05') + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis elit nec efficitur dictum. Maecenas at\nvarius neque, non semper turpis. Cras rutrum eget ante eu iaculis. Nulla pulvinar ut eros eget lobortis. Suspendisse\nac rutrum lorem. Sed interdum diam non eros placerat rhoncus. Nullam dui sapien, mattis vitae venenatis at, tempor sit\namet turpis. Aliquam eu odio vel ante dignissim rutrum ac eu massa. Fusce tincidunt ipsum eget dolor fermentum sodales.\nNam vehicula ligula quis mollis laoreet.</p>\n<p>Curabitur ac luctus urna. Donec id enim et mauris rutrum interdum. Sed interdum aliquet mauris ac auctor. Praesent\nvel commodo nulla. In hac habitasse platea dictumst. Quisque eu ligula est. Sed bibendum turpis eget felis condimentum,\nfinibus ullamcorper lorem laoreet. Morbi venenatis leo nec aliquam tincidunt. In commodo mollis magna. Donec sagittis\nmolestie nunc a efficitur.</p>\n<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a\nlaoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas quis\nviverra risus, ac scelerisque neque. Aenean ex leo, vulputate et magna et, bibendum auctor risus. Mauris in pulvinar\nlacus. Curabitur eget dolor malesuada, tincidunt ipsum ut, vulputate risus. Aliquam nec magna nec orci finibus posuere\nnon a arcu. Vestibulum eget cursus velit. Proin arcu dui, rutrum quis blandit nec, vehicula sit amet est. Proin nec\nnisl rhoncus, molestie ex vel, fringilla felis. Praesent feugiat tempus mi, at vulputate justo pharetra non.</p>\n<p>Praesent sem felis, ultricies non scelerisque ac, tempor eget nunc. In imperdiet feugiat leo, ac posuere dolor\npharetra nec. Cras porta justo quis ex mollis tempor eget eu nunc. Vivamus ullamcorper lacus et volutpat molestie.\nNulla feugiat purus vitae euismod facilisis. Aenean ut tortor turpis. Interdum et malesuada fames ac ante ipsum primis\nin faucibus.</p>\n<p>Ut tortor urna, sodales sed vehicula quis, tempor vel dui. Nam pulvinar aliquet diam, a malesuada enim mattis in.\nNullam sapien magna, consequat ac lacus ac, ultricies sollicitudin ligula. Etiam laoreet vulputate nunc ut pharetra.\nClass aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In commodo mattis tellus,\nin gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Vivamus vitae nulla eros. In vestibulum\nmattis elementum. </p>', 45, '2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 25, 45)[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 7)[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `pages` (`updated_at`, `mode`, `position`, `enabled`, `url_id`, `link`, `created_at`) VALUES ('2016-06-22 10:26:05', 'link', 7, 1, 'sps', 'http://studio.sp-service.com.ua', '2016-06-22 10:26:05') + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 26 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 10:26:05', '2016-06-22 10:26:05') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'SP Studio', 46, '2016-06-22 10:26:05', '2016-06-22 10:26:05')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 26, 46)[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSQL (1.0ms)[0m [1mDELETE FROM `settings`[0m + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:26:06 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (37.0ms) + Rendered layouts/_front_meta.html.haml (22.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (34.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (38.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 305ms (Views: 280.2ms | ActiveRecord: 23.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:26:06 +0300 + + +Started GET "/assets/front-606b385b6fa43905da9b3bc89c82e9c1072b3be7f3977f735d6f9363687979df.js" for 127.0.0.1 at 2016-06-22 13:26:07 +0300 + + +Started GET "/assets/front-4034bfc52d505dbd3e61531dcaaa740badc7900ddf726d1ef253fa984d0cfa2d.css" for 127.0.0.1 at 2016-06-22 13:26:07 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:26:07 +0300 + + +Started GET "/uk/pages/page" for 127.0.0.1 at 2016-06-22 13:26:12 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"page"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (20.0ms) + Rendered layouts/_front_meta.html.haml (27.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (2.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (51.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (41.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 342ms (Views: 318.2ms | ActiveRecord: 20.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:26:16 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (44.0ms) + Rendered layouts/_front_meta.html.haml (25.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (30.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (26.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 275ms (Views: 259.0ms | ActiveRecord: 13.0ms) + + +Started GET "/uk/pages/page" for 127.0.0.1 at 2016-06-22 13:26:20 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"page"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (11.0ms) + Rendered layouts/_front_meta.html.haml (25.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (36.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (29.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 264ms (Views: 249.2ms | ActiveRecord: 13.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:26:29 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (42.0ms) + Rendered layouts/_front_meta.html.haml (26.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (32.0ms) + [1m[36mCACHE (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (24.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 263ms (Views: 245.2ms | ActiveRecord: 16.0ms) + + +Started GET "/uk/pages/page" for 127.0.0.1 at 2016-06-22 13:26:32 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"page"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (12.0ms) + Rendered layouts/_front_meta.html.haml (25.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (37.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (29.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 249ms (Views: 235.2ms | ActiveRecord: 12.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:26:36 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (4.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (2.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (91.1ms) + Rendered layouts/_front_meta.html.haml (68.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (48.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (27.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 530ms (Views: 505.3ms | ActiveRecord: 23.0ms) + + +Started GET "/uk/pages/page" for 127.0.0.1 at 2016-06-22 13:26:43 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"page"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (10.0ms) + Rendered layouts/_front_meta.html.haml (26.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (34.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (25.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 259ms (Views: 245.2ms | ActiveRecord: 12.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:26:49 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (47.0ms) + Rendered layouts/_front_meta.html.haml (28.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (31.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (26.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 295ms (Views: 280.2ms | ActiveRecord: 14.0ms) + + +Started GET "/uk/pages/page" for 127.0.0.1 at 2016-06-22 13:26:53 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"page"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (11.0ms) + Rendered layouts/_front_meta.html.haml (23.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (32.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (26.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 242ms (Views: 229.2ms | ActiveRecord: 12.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:26:55 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (44.0ms) + Rendered layouts/_front_meta.html.haml (24.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (31.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (28.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 288ms (Views: 271.2ms | ActiveRecord: 16.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:26:59 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (42.0ms) + Rendered layouts/_front_meta.html.haml (27.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (37.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (28.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 283ms (Views: 264.2ms | ActiveRecord: 17.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:31:26 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (50.0ms) + Rendered layouts/_front_meta.html.haml (32.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (66.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (48.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 1049ms (Views: 1029.7ms | ActiveRecord: 15.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:31:27 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:31:27 +0300 + + +Started GET "/assets/front-4034bfc52d505dbd3e61531dcaaa740badc7900ddf726d1ef253fa984d0cfa2d.css" for 127.0.0.1 at 2016-06-22 13:31:28 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 13:31:28 +0300 + + +Started GET "/uk/pages/page" for 127.0.0.1 at 2016-06-22 13:31:45 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"page"} + [1m[36mPage Load (2.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (3.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (34.0ms) + Rendered layouts/_front_meta.html.haml (63.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (2.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (65.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (47.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 624ms (Views: 596.4ms | ActiveRecord: 26.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:31:47 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (63.1ms) + Rendered layouts/_front_meta.html.haml (31.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (35.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (29.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 315ms (Views: 292.2ms | ActiveRecord: 20.0ms) + + +Started GET "/uk/pages/page" for 127.0.0.1 at 2016-06-22 13:31:51 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"page"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (10.0ms) + Rendered layouts/_front_meta.html.haml (25.0ms) + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (54.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (33.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 270ms (Views: 254.2ms | ActiveRecord: 13.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:31:54 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (43.0ms) + Rendered layouts/_front_meta.html.haml (26.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (33.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (26.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 270ms (Views: 252.2ms | ActiveRecord: 17.0ms) + + +Started GET "/uk/pages/page" for 127.0.0.1 at 2016-06-22 13:32:05 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"page"} + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (12.0ms) + Rendered layouts/_front_meta.html.haml (34.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (42.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (35.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 271ms (Views: 260.2ms | ActiveRecord: 9.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:32:07 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (64.0ms) + Rendered layouts/_front_meta.html.haml (42.0ms) + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'site_name' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'contacts' ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `block_versions`.`active` = 1 AND `blocks`.`key` = 'summary' ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (2.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (71.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (70.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 612ms (Views: 585.4ms | ActiveRecord: 25.0ms) + + +Started GET "/uk/admin" for 127.0.0.1 at 2016-06-22 13:32:28 +0300 +Processing by AdminController#index as HTML + Parameters: {"locale"=>"uk"} +Completed 401 Unauthorized in 21ms (ActiveRecord: 0.0ms) + + +Started GET "/uk/accounts/sign_in" for 127.0.0.1 at 2016-06-22 13:32:29 +0300 +Processing by Devise::SessionsController#new as HTML + Parameters: {"locale"=>"uk"} + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/devise-i18n-1.0.1/app/views/devise/shared/_links.html.erb (11.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/devise-i18n-1.0.1/app/views/devise/sessions/new.html.erb (100.1ms) +Completed 200 OK in 171ms (Views: 138.9ms | ActiveRecord: 9.0ms) + + +Started POST "/uk/accounts/sign_in" for 127.0.0.1 at 2016-06-22 13:33:02 +0300 +Processing by Devise::SessionsController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"YId7F+nlaRjcupAOOyZ99nLSbRga+ZjYb1FVXwgCQl9RjRgfqi8Ql+oz/k6godntqA/wxcFq0BRXGCPp3fHnLw==", "account"=>{"email"=>"admin@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Увійти", "locale"=>"uk"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`email` = 'admin@example.com' ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mUPDATE `accounts` SET `last_sign_in_at` = '2016-06-22 10:33:02', `current_sign_in_at` = '2016-06-22 10:33:02', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2016-06-22 10:33:02' WHERE `accounts`.`id` = 5[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 10:33:02' WHERE `accounts`.`id` = 5 + [1m[36m (0.0ms)[0m [1mCOMMIT[0m +Redirected to http://127.0.0.1:3025/uk/admin +Completed 302 Found in 155ms (ActiveRecord: 2.0ms) + + +Started GET "/uk/admin" for 127.0.0.1 at 2016-06-22 13:33:02 +0300 +Processing by AdminController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + Rendered admin/index.html.haml within layouts/admin (1.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 500 Internal Server Error in 1067ms (ActiveRecord: 9.0ms) + +ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::ServicesController): + 54: %ul.nav.nav-list + 55: %li{class: (:selected if params['controller'] == 'admin' && params['action'] == 'index')}= link_to t('activerecord.attributes.page.links.admin_area'), admin_index_path + 56: %li{class: (:selected if controller.is_a? AccountsController)}= link_to t('activerecord.models.account.few'), accounts_path + 57: %li{class: (:selected if controller.is_a? ServicesController)}= link_to t('activerecord.models.service.few'), services_path + 58: %li{class: (:selected if controller.is_a? CertificatesController)}= link_to t('activerecord.models.certificate.few'), certificates_path + 59: %li{class: (:selected if controller.is_a? PagesController)}= link_to t('activerecord.models.page.few'), pages_path + 60: %li{class: (:selected if controller.is_a? NewslettersController)}= link_to t('activerecord.models.newsletter.few'), newsletters_path + app/views/layouts/admin.html.haml:57:in `_app_views_layouts_admin_html_haml___219250646_91946112' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (94.1ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (53.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (133.1ms) + + +Started GET "/uk/admin" for 127.0.0.1 at 2016-06-22 13:33:29 +0300 +Processing by AdminController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + Rendered admin/index.html.haml within layouts/admin (0.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 500 Internal Server Error in 349ms (ActiveRecord: 1.0ms) + +ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::ServicesController): + 54: %ul.nav.nav-list + 55: %li{class: (:selected if params['controller'] == 'admin' && params['action'] == 'index')}= link_to t('activerecord.attributes.page.links.admin_area'), admin_index_path + 56: %li{class: (:selected if controller.is_a? AccountsController)}= link_to t('activerecord.models.account.few'), accounts_path + 57: %li{class: (:selected if controller.is_a? PagesController)}= link_to t('activerecord.models.page.few'), pages_path + 58: %li{class: (:selected if controller.is_a? NewslettersController)}= link_to t('activerecord.models.newsletter.few'), newsletters_path + 59: %li{class: (:selected if controller.is_a? SettingsController)}= link_to t('activerecord.models.setting.few'), settings_path + 60: .handle + app/views/layouts/admin.html.haml:57:in `_app_views_layouts_admin_html_haml___219250646_91946112' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (44.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (39.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (89.1ms) + + +Started GET "/uk/admin" for 127.0.0.1 at 2016-06-22 13:33:32 +0300 +Processing by AdminController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + Rendered admin/index.html.haml within layouts/admin (0.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 355ms (Views: 350.2ms | ActiveRecord: 1.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:33:32 +0300 + + +Started GET "/assets/admin-60a14ee68973824dd42977ee5059de4fc3a199f00a03958237b79f650dfb13ce.css" for 127.0.0.1 at 2016-06-22 13:33:33 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:33:33 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 13:33:33 +0300 + + +Started GET "/assets/admin-7210bbfbfddd30a49a225f2de3a9c4360c4733843f89d0189f66a3ce8c04d995.js" for 127.0.0.1 at 2016-06-22 13:33:33 +0300 + + +Started GET "/assets/fontawesome-webfont-c1732796c9dfafddff16db9660e67a879d723f376b0160cccad730c6c414eed3.woff2?v=4.6.0" for 127.0.0.1 at 2016-06-22 13:33:33 +0300 + + +Started GET "/uk/admin/accounts" for 127.0.0.1 at 2016-06-22 13:33:43 +0300 +Processing by AccountsController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m +DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from _app_views_accounts_index_html_haml__184478422_86379612 at C:/Users/CP/IdeaProjects/base_site/app/views/accounts/index.html.haml:6) + [1m[35m (1.0ms)[0m SELECT COUNT(*) FROM `accounts` + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` ORDER BY email, `accounts`.`email` ASC LIMIT 20 OFFSET 0[0m + Rendered accounts/index.html.haml within layouts/admin (16.0ms) + Rendered layouts/_language_selector.html.haml (3.0ms) +Completed 200 OK in 255ms (Views: 239.2ms | ActiveRecord: 2.0ms) + + +Started GET "/uk/admin/pages" for 127.0.0.1 at 2016-06-22 13:33:45 +0300 +Processing by PagesController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + Rendered pages/index.html.haml within layouts/admin (94.1ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 310ms (Views: 293.2ms | ActiveRecord: 14.0ms) + + +Started GET "/uk/admin/newsletters" for 127.0.0.1 at 2016-06-22 13:33:46 +0300 +Processing by NewslettersController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mNewsletter Load (1.0ms)[0m [1mSELECT `newsletters`.* FROM `newsletters`[0m + Rendered newsletters/index.html.haml within layouts/admin (23.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 249ms (Views: 224.1ms | ActiveRecord: 16.0ms) + + +Started GET "/uk/admin/settings" for 127.0.0.1 at 2016-06-22 13:33:48 +0300 +Processing by SettingsController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSetting Exists (1.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'site_name' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('site_name', 'Personal site', '2016-06-22 10:33:48', '2016-06-22 10:33:48')[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSetting Exists (1.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'title' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('title', 'Personal site', '2016-06-22 10:33:48', '2016-06-22 10:33:48') + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSetting Exists (1.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'description' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('description', 'Site of your dreams.', '2016-06-22 10:33:48', '2016-06-22 10:33:48')[0m + [1m[35m (0.0ms)[0m COMMIT + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSetting Exists (1.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'keywords' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('keywords', 'site, personal site, own site', '2016-06-22 10:33:48', '2016-06-22 10:33:48') + [1m[36m (0.0ms)[0m [1mCOMMIT[0m + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (1.0ms)[0m [1mBEGIN[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'gse_id' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('gse_id', '007392588842326689376:3onw-lza4mc', '2016-06-22 10:33:48', '2016-06-22 10:33:48')[0m + [1m[35m (0.0ms)[0m COMMIT + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'google_analytics_id' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSetting Exists (0.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'google_analytics_id' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('google_analytics_id', 'UA-63039804-12', '2016-06-22 10:33:48', '2016-06-22 10:33:48') + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` ORDER BY `settings`.`name` ASC + Rendered settings/index.html.haml within layouts/admin (56.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 355ms (Views: 288.2ms | ActiveRecord: 17.0ms) + + +Started GET "/uk/admin/accounts" for 127.0.0.1 at 2016-06-22 13:34:00 +0300 +Processing by AccountsController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 +DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from _app_views_accounts_index_html_haml__184478422_86379612 at C:/Users/CP/IdeaProjects/base_site/app/views/accounts/index.html.haml:6) + [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM `accounts`[0m + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` ORDER BY email, `accounts`.`email` ASC LIMIT 20 OFFSET 0 + Rendered accounts/index.html.haml within layouts/admin (9.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 213ms (Views: 209.1ms | ActiveRecord: 0.0ms) + + +Started GET "/uk/admin/accounts?tf_email=ss" for 127.0.0.1 at 2016-06-22 13:36:32 +0300 +Processing by AccountsController#index as */* + Parameters: {"tf_email"=>"ss", "locale"=>"uk"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 +DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from _app_views_accounts_index_html_haml__184478422_59762844 at C:/Users/CP/IdeaProjects/base_site/app/views/accounts/index.html.haml:6) + [1m[36m (2.0ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT `accounts`.`id`) FROM `accounts` WHERE (((accounts.email like '%ss%')))[0m + [1m[35mAccount Load (0.0ms)[0m SELECT DISTINCT `accounts`.* FROM `accounts` WHERE (((accounts.email like '%ss%'))) ORDER BY email, `accounts`.`email` ASC LIMIT 20 OFFSET 0 + Rendered accounts/index.html.haml within layouts/admin (29.0ms) + Rendered layouts/_language_selector.html.haml (5.0ms) +Completed 200 OK in 485ms (Views: 477.3ms | ActiveRecord: 2.0ms) + + +Started GET "/uk/admin/accounts?tf_email=adm" for 127.0.0.1 at 2016-06-22 13:36:36 +0300 +Processing by AccountsController#index as */* + Parameters: {"tf_email"=>"adm", "locale"=>"uk"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 +DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from _app_views_accounts_index_html_haml__184478422_59762844 at C:/Users/CP/IdeaProjects/base_site/app/views/accounts/index.html.haml:6) + [1m[36m (1.0ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT `accounts`.`id`) FROM `accounts` WHERE (((accounts.email like '%adm%')))[0m + [1m[35mAccount Load (0.0ms)[0m SELECT DISTINCT `accounts`.* FROM `accounts` WHERE (((accounts.email like '%adm%'))) ORDER BY email, `accounts`.`email` ASC LIMIT 20 OFFSET 0 + Rendered accounts/index.html.haml within layouts/admin (9.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 234ms (Views: 229.1ms | ActiveRecord: 2.0ms) + + +Started GET "/uk/admin/accounts" for 127.0.0.1 at 2016-06-22 13:36:43 +0300 +Processing by AccountsController#index as */* + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 +DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from _app_views_accounts_index_html_haml__184478422_59762844 at C:/Users/CP/IdeaProjects/base_site/app/views/accounts/index.html.haml:6) + [1m[36m (1.0ms)[0m [1mSELECT COUNT(*) FROM `accounts`[0m + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` ORDER BY email, `accounts`.`email` ASC LIMIT 20 OFFSET 0 + Rendered accounts/index.html.haml within layouts/admin (9.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 345ms (Views: 339.2ms | ActiveRecord: 3.0ms) + + +Started GET "/uk/admin/accounts" for 127.0.0.1 at 2016-06-22 13:36:44 +0300 +Processing by AccountsController#index as */* + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 +DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from _app_views_accounts_index_html_haml__184478422_59762844 at C:/Users/CP/IdeaProjects/base_site/app/views/accounts/index.html.haml:6) + [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM `accounts`[0m + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` ORDER BY email, `accounts`.`email` ASC LIMIT 20 OFFSET 0 + Rendered accounts/index.html.haml within layouts/admin (28.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 942ms (Views: 912.6ms | ActiveRecord: 3.0ms) + + +Started GET "/uk/admin/accounts" for 127.0.0.1 at 2016-06-22 13:41:32 +0300 +Processing by AccountsController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + Rendered accounts/index.html.haml within layouts/admin (168.1ms) +Completed 500 Internal Server Error in 254ms (ActiveRecord: 25.0ms) + +ActionView::Template::Error (can not load translations from C:/Users/CP/IdeaProjects/base_site/config/locales/de.bootstrap.yml: #<Errno::ENOENT: No such file or directory @ rb_sysopen - C:/Users/CP/IdeaProjects/base_site/config/locales/de.bootstrap.yml>): + 1: - model_class = Account + 2: .page-header + 3: %h1 + 4: = model_class.model_name.human(count: 2) + 5: .pull-right + 6: = link_to 'Newsletter', new_newsletter_path(params), class: 'btn btn-default' + 7: .filtered_pagination + app/views/accounts/index.html.haml:4:in `_app_views_accounts_index_html_haml__184478422_90925908' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (50.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (244.2ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (271.2ms) + + +Started GET "/uk/admin/accounts" for 127.0.0.1 at 2016-06-22 13:41:36 +0300 +Processing by AccountsController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + Rendered accounts/index.html.haml within layouts/admin (582.4ms) +Completed 500 Internal Server Error in 681ms (ActiveRecord: 19.0ms) + +ActionView::Template::Error (can not load translations from C:/Users/CP/IdeaProjects/base_site/config/locales/de.bootstrap.yml: #<Errno::ENOENT: No such file or directory @ rb_sysopen - C:/Users/CP/IdeaProjects/base_site/config/locales/de.bootstrap.yml>): + 1: - model_class = Account + 2: .page-header + 3: %h1 + 4: = model_class.model_name.human(count: 2) + 5: .pull-right + 6: = link_to 'Newsletter', new_newsletter_path(params), class: 'btn btn-default' + 7: .filtered_pagination + app/views/accounts/index.html.haml:4:in `_app_views_accounts_index_html_haml__184478422_90925908' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (44.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (220.1ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (242.2ms) + + +Started GET "/uk/admin/accounts" for 127.0.0.1 at 2016-06-22 13:42:37 +0300 + [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m +Processing by AccountsController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m +DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from _app_views_accounts_index_html_haml__231238163_59519364 at C:/Users/CP/IdeaProjects/base_site/app/views/accounts/index.html.haml:6) + [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM `accounts` + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` ORDER BY email, `accounts`.`email` ASC LIMIT 20 OFFSET 0[0m + Rendered accounts/index.html.haml within layouts/admin (203.1ms) + Rendered layouts/_language_selector.html.haml (3.0ms) +Completed 200 OK in 10563ms (Views: 10393.8ms | ActiveRecord: 18.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:42:48 +0300 + + +Started GET "/assets/admin-60a14ee68973824dd42977ee5059de4fc3a199f00a03958237b79f650dfb13ce.css" for 127.0.0.1 at 2016-06-22 13:42:48 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 13:42:48 +0300 + + +Started GET "/assets/admin-7210bbfbfddd30a49a225f2de3a9c4360c4733843f89d0189f66a3ce8c04d995.js" for 127.0.0.1 at 2016-06-22 13:42:48 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:42:48 +0300 + + +Started GET "/assets/fontawesome-webfont-c1732796c9dfafddff16db9660e67a879d723f376b0160cccad730c6c414eed3.woff2?v=4.6.0" for 127.0.0.1 at 2016-06-22 13:42:48 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:42:55 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (195.1ms) + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1[0m + Rendered layouts/_front_meta.html.haml (49.0ms) + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `block_versions` (`account_id`, `active`, `created_at`, `updated_at`) VALUES (5, 0, '2016-06-22 10:42:56', '2016-06-22 10:42:56') + [1m[36m (2.0ms)[0m [1mCOMMIT[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (57.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (36.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1[0m + Rendered blocks/_blocks_controls.html.haml (12.0ms) + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 +Completed 200 OK in 793ms (Views: 602.4ms | ActiveRecord: 136.1ms) + + +Started GET "/assets/admin_front-7f9ace3cfad868b2d6b3c06633fb96d56432d698b28ccc64335d456f914e90ef.css" for 127.0.0.1 at 2016-06-22 13:42:56 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 13:42:56 +0300 + + +Started GET "/uk/admin/blocks/contacts/edit" for 127.0.0.1 at 2016-06-22 13:44:48 +0300 +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"contacts"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered active_translation/_localed_tabs.html.haml (1.0ms) + Rendered active_translation/_localed_inputs.html.haml (11.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (39.0ms) + Rendered blocks/edit.html.haml (54.0ms) +Completed 200 OK in 77ms (Views: 67.0ms | ActiveRecord: 3.0ms) + + +Started GET "/assets/jquery-ui/ui-icons_222222_256x240-57adb0d65f4e91dacfee975d9574422bee7486c8a182d60133728c672f2cdbbc.png" for 127.0.0.1 at 2016-06-22 13:44:48 +0300 + + +Started GET "/uk/admin/blocks/site_name/edit" for 127.0.0.1 at 2016-06-22 13:45:05 +0300 +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"site_name"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered active_translation/_localed_tabs.html.haml (0.0ms) + Rendered active_translation/_localed_inputs.html.haml (4.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (23.0ms) + Rendered blocks/edit.html.haml (34.0ms) +Completed 200 OK in 52ms (Views: 42.0ms | ActiveRecord: 2.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:45:32 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (40.0ms) + Rendered layouts/_front_meta.html.haml (29.0ms) + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (1.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (2.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (36.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (28.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1[0m + Rendered blocks/_blocks_controls.html.haml (4.0ms) +Completed 200 OK in 446ms (Views: 424.3ms | ActiveRecord: 18.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:45:32 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:45:32 +0300 + + +Started GET "/assets/admin_front-7f9ace3cfad868b2d6b3c06633fb96d56432d698b28ccc64335d456f914e90ef.css" for 127.0.0.1 at 2016-06-22 13:45:33 +0300 + + +Started GET "/assets/front-4034bfc52d505dbd3e61531dcaaa740badc7900ddf726d1ef253fa984d0cfa2d.css" for 127.0.0.1 at 2016-06-22 13:45:33 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 13:45:33 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 13:45:33 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 13:45:33 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:45:36 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (44.0ms) + Rendered layouts/_front_meta.html.haml (23.0ms) + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (30.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (27.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1 + Rendered blocks/_blocks_controls.html.haml (4.0ms) +Completed 200 OK in 368ms (Views: 345.2ms | ActiveRecord: 20.0ms) + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 13:45:37 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:45:37 +0300 + + +Started GET "/assets/admin_front-7f9ace3cfad868b2d6b3c06633fb96d56432d698b28ccc64335d456f914e90ef.css" for 127.0.0.1 at 2016-06-22 13:45:37 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 13:45:37 +0300 + + +Started GET "/assets/front-4034bfc52d505dbd3e61531dcaaa740badc7900ddf726d1ef253fa984d0cfa2d.css" for 127.0.0.1 at 2016-06-22 13:45:37 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:45:37 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 13:45:37 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 13:45:40 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (39.0ms) + Rendered layouts/_front_meta.html.haml (71.0ms) + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (46.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (33.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1[0m + Rendered blocks/_blocks_controls.html.haml (4.0ms) +Completed 200 OK in 389ms (Views: 372.3ms | ActiveRecord: 15.0ms) + + +Started GET "/assets/front-4034bfc52d505dbd3e61531dcaaa740badc7900ddf726d1ef253fa984d0cfa2d.css" for 127.0.0.1 at 2016-06-22 13:45:40 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 13:45:40 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 13:45:40 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 13:45:41 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 13:45:41 +0300 + + +Started GET "/assets/admin_front-7f9ace3cfad868b2d6b3c06633fb96d56432d698b28ccc64335d456f914e90ef.css" for 127.0.0.1 at 2016-06-22 13:45:41 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 13:45:41 +0300 + + +Started GET "/uk/admin/blocks/summary/edit" for 127.0.0.1 at 2016-06-22 13:53:14 +0300 + [1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"summary"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered active_translation/_localed_tabs.html.haml (377.3ms) + Rendered active_translation/_localed_inputs.html.haml (21.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (445.3ms) + Rendered blocks/edit.html.haml (514.3ms) +Completed 200 OK in 1099ms (Views: 648.4ms | ActiveRecord: 137.1ms) + + +Started GET "/uk/admin/blocks/contacts/edit" for 127.0.0.1 at 2016-06-22 13:53:15 +0300 +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"contacts"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered active_translation/_localed_tabs.html.haml (0.0ms) + Rendered active_translation/_localed_inputs.html.haml (15.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (47.0ms) + Rendered blocks/edit.html.haml (62.0ms) +Completed 200 OK in 91ms (Views: 74.0ms | ActiveRecord: 1.0ms) + + +Started GET "/uk/admin/blocks/contacts/edit" for 127.0.0.1 at 2016-06-22 13:58:33 +0300 +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"contacts"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered active_translation/_localed_tabs.html.haml (1.0ms) + Rendered active_translation/_localed_inputs.html.haml (6.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (24.0ms) + Rendered blocks/edit.html.haml (35.0ms) +Completed 200 OK in 54ms (Views: 44.0ms | ActiveRecord: 1.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:04:35 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (2.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (4.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (119.1ms) + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1[0m + Rendered layouts/_front_meta.html.haml (447.3ms) + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (33.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (26.0ms) + Rendered layouts/_language_selector.html.haml (4.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1 + Rendered blocks/_blocks_controls.html.haml (11.0ms) + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1[0m +Completed 200 OK in 3970ms (Views: 3867.0ms | ActiveRecord: 73.1ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 14:04:39 +0300 + + +Started GET "/assets/front-aa9480bf30817670d0b588b59d2203c5801b4b307acdc33d373a519ea96cd12a.css" for 127.0.0.1 at 2016-06-22 14:04:39 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 14:04:39 +0300 + + +Started GET "/assets/admin_front-7f9ace3cfad868b2d6b3c06633fb96d56432d698b28ccc64335d456f914e90ef.css" for 127.0.0.1 at 2016-06-22 14:04:40 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 14:04:40 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 14:04:40 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 14:04:40 +0300 + + +Started GET "/uk/admin/blocks/contacts/edit" for 127.0.0.1 at 2016-06-22 14:04:43 +0300 +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"contacts"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered active_translation/_localed_tabs.html.haml (0.0ms) + Rendered active_translation/_localed_inputs.html.haml (6.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (24.0ms) + Rendered blocks/edit.html.haml (35.0ms) +Completed 200 OK in 54ms (Views: 44.0ms | ActiveRecord: 1.0ms) + + +Started PATCH "/uk/admin/blocks/contacts" for 127.0.0.1 at 2016-06-22 14:05:07 +0300 +Processing by BlocksController#update as JS + Parameters: {"utf8"=>"✓", "block"=>{"text_uk"=>"Contacts:\r\n+380979005516\r\ncpavlo@gmail.com", "text_en"=>"Contacts"}, "locale"=>"uk", "id"=>"contacts"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `blocks` (`key`, `block_version_id`, `updated_at`, `created_at`) VALUES ('contacts', 1, '2016-06-22 11:05:07', '2016-06-22 11:05:07')[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` WHERE `blocks`.`id` = 1 LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 11:05:07', '2016-06-22 11:05:07')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '<p>Contacts:</p><p>+380979005516</p><p>cpavlo@gmail.com</p>', 47, '2016-06-22 11:05:07', '2016-06-22 11:05:07') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('en', '<p>Contacts</p>', 47, '2016-06-22 11:05:07', '2016-06-22 11:05:07')[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 [["phrase_id", 47]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m [["id", 47]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 [["phrase_id", 47]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m [["phrase_id", 47]] + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Block', 'text', 1, 47) + [1m[36m (0.0ms)[0m [1mCOMMIT[0m + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1[0m + Rendered blocks/update.js.erb (6.0ms) +Completed 200 OK in 57ms (Views: 9.0ms | ActiveRecord: 8.0ms) + + +Started GET "/assets/fontawesome-webfont-c1732796c9dfafddff16db9660e67a879d723f376b0160cccad730c6c414eed3.woff2?v=4.6.0" for 127.0.0.1 at 2016-06-22 14:05:07 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:06:08 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (56.0ms) + Rendered layouts/_front_meta.html.haml (28.0ms) + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (47.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (28.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1 + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 698ms (Views: 672.5ms | ActiveRecord: 21.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 14:06:09 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 14:06:10 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 14:06:10 +0300 + + +Started GET "/assets/front-639e1803e41230420b8d89fc23a465d81554b93fa7867a21fcdc4c3a0057897d.css" for 127.0.0.1 at 2016-06-22 14:06:10 +0300 + + +Started GET "/assets/admin_front-7f9ace3cfad868b2d6b3c06633fb96d56432d698b28ccc64335d456f914e90ef.css" for 127.0.0.1 at 2016-06-22 14:06:10 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 14:06:10 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 14:06:10 +0300 + + +Started GET "/assets/fontawesome-webfont-c1732796c9dfafddff16db9660e67a879d723f376b0160cccad730c6c414eed3.woff2?v=4.6.0" for 127.0.0.1 at 2016-06-22 14:06:10 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:06:23 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (41.0ms) + Rendered layouts/_front_meta.html.haml (30.0ms) + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (1.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (31.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (29.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1[0m + Rendered blocks/_blocks_controls.html.haml (4.0ms) +Completed 200 OK in 571ms (Views: 545.4ms | ActiveRecord: 24.0ms) + + +Started GET "/assets/admin_front-7f9ace3cfad868b2d6b3c06633fb96d56432d698b28ccc64335d456f914e90ef.css" for 127.0.0.1 at 2016-06-22 14:06:24 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 14:06:25 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 14:06:25 +0300 + + +Started GET "/assets/front-67a84f6f82c3d63f6430912f7eb4a97f763999e3f4b333124489dcadad832b60.css" for 127.0.0.1 at 2016-06-22 14:06:25 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 14:06:25 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 14:06:25 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 14:06:25 +0300 + + +Started GET "/assets/fontawesome-webfont-c1732796c9dfafddff16db9660e67a879d723f376b0160cccad730c6c414eed3.woff2?v=4.6.0" for 127.0.0.1 at 2016-06-22 14:06:25 +0300 + + +Started GET "/uk/admin/blocks/summary/edit" for 127.0.0.1 at 2016-06-22 14:06:29 +0300 +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"summary"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered active_translation/_localed_tabs.html.haml (0.0ms) + Rendered active_translation/_localed_inputs.html.haml (8.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (27.0ms) + Rendered blocks/edit.html.haml (37.0ms) +Completed 200 OK in 60ms (Views: 46.0ms | ActiveRecord: 1.0ms) + + +Started PATCH "/uk/admin/blocks/summary" for 127.0.0.1 at 2016-06-22 14:06:50 +0300 +Processing by BlocksController#update as JS + Parameters: {"utf8"=>"✓", "block"=>{"text_uk"=>"It my first personal site!!!", "text_en"=>"Summary"}, "locale"=>"uk", "id"=>"summary"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `blocks` (`key`, `block_version_id`, `updated_at`, `created_at`) VALUES ('summary', 1, '2016-06-22 11:06:50', '2016-06-22 11:06:50')[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` WHERE `blocks`.`id` = 2 LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 11:06:50', '2016-06-22 11:06:50')[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '<p>It my first personal site!!!</p>', 48, '2016-06-22 11:06:50', '2016-06-22 11:06:50') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('en', '<p>Summary</p>', 48, '2016-06-22 11:06:50', '2016-06-22 11:06:50')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 [["phrase_id", 48]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m [["id", 48]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 [["phrase_id", 48]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m [["phrase_id", 48]] + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Block', 'text', 2, 48) + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1[0m + Rendered blocks/update.js.erb (4.0ms) +Completed 200 OK in 43ms (Views: 5.0ms | ActiveRecord: 8.0ms) + + +Started GET "/uk/admin/blocks/summary/edit" for 127.0.0.1 at 2016-06-22 14:06:57 +0300 +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"summary"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + Rendered active_translation/_localed_tabs.html.haml (1.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 + Rendered active_translation/_localed_inputs.html.haml (12.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (34.0ms) + Rendered blocks/edit.html.haml (46.0ms) +Completed 200 OK in 68ms (Views: 54.0ms | ActiveRecord: 1.0ms) + + +Started PATCH "/uk/admin/blocks/summary" for 127.0.0.1 at 2016-06-22 14:07:06 +0300 +Processing by BlocksController#update as JS + Parameters: {"utf8"=>"✓", "block"=>{"text_uk"=>"Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a laoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. ", "text_en"=>"Summary\r\n"}, "locale"=>"uk", "id"=>"summary"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`id` = 1 LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m UPDATE `blocks` SET `updated_at` = '2016-06-22 11:07:06' WHERE `blocks`.`id` = 2 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m [["phrase_id", 48]] + [1m[35mSQL (0.0ms)[0m UPDATE `translations` SET `text` = '<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. Curabitur a laoreet augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. </p>', `updated_at` = '2016-06-22 11:07:06' WHERE `translations`.`id` = 49 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m [["phrase_id", 48]] + [1m[35m (1.0ms)[0m COMMIT + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1 + Rendered blocks/update.js.erb (4.0ms) +Completed 200 OK in 63ms (Views: 7.0ms | ActiveRecord: 8.0ms) + + +Started GET "/uk/admin/blocks/summary/edit" for 127.0.0.1 at 2016-06-22 14:07:08 +0300 +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"summary"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + Rendered active_translation/_localed_tabs.html.haml (0.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1[0m + Rendered active_translation/_localed_inputs.html.haml (9.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (29.0ms) + Rendered blocks/edit.html.haml (40.0ms) +Completed 200 OK in 60ms (Views: 48.0ms | ActiveRecord: 2.0ms) + + +Started PATCH "/uk/admin/blocks/summary" for 127.0.0.1 at 2016-06-22 14:07:14 +0300 +Processing by BlocksController#update as JS + Parameters: {"utf8"=>"✓", "block"=>{"text_uk"=>"Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. ", "text_en"=>"Summary\r\n"}, "locale"=>"uk", "id"=>"summary"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`id` = 1 LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mUPDATE `blocks` SET `updated_at` = '2016-06-22 11:07:14' WHERE `blocks`.`id` = 2[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 [["phrase_id", 48]] + [1m[36mSQL (0.0ms)[0m [1mUPDATE `translations` SET `text` = '<p>Aenean quis consequat ex. Donec et volutpat arcu. Mauris congue purus et nibh hendrerit scelerisque. </p>', `updated_at` = '2016-06-22 11:07:14' WHERE `translations`.`id` = 49[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 [["phrase_id", 48]] + [1m[36m (2.0ms)[0m [1mCOMMIT[0m + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1[0m + Rendered blocks/update.js.erb (6.0ms) +Completed 200 OK in 44ms (Views: 7.0ms | ActiveRecord: 7.0ms) + + +Started GET "/uk/admin/blocks/contacts/edit" for 127.0.0.1 at 2016-06-22 14:07:41 +0300 +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"contacts"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + Rendered active_translation/_localed_tabs.html.haml (1.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 + Rendered active_translation/_localed_inputs.html.haml (14.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (38.0ms) + Rendered blocks/edit.html.haml (49.0ms) +Completed 200 OK in 73ms (Views: 57.0ms | ActiveRecord: 4.0ms) + + +Started PATCH "/uk/admin/blocks/contacts" for 127.0.0.1 at 2016-06-22 14:07:45 +0300 +Processing by BlocksController#update as JS + Parameters: {"utf8"=>"✓", "block"=>{"text_uk"=>"+380979005516\r\ncpavlo@gmail.com\r\n", "text_en"=>"Contacts\r\n"}, "locale"=>"uk", "id"=>"contacts"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`id` = 1 LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m UPDATE `blocks` SET `updated_at` = '2016-06-22 11:07:45' WHERE `blocks`.`id` = 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m [["phrase_id", 47]] + [1m[35mSQL (1.0ms)[0m UPDATE `translations` SET `text` = '<p>+380979005516</p><p>cpavlo@gmail.com</p>', `updated_at` = '2016-06-22 11:07:45' WHERE `translations`.`id` = 47 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m [["phrase_id", 47]] + [1m[35m (2.0ms)[0m COMMIT + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1 + Rendered blocks/update.js.erb (5.0ms) +Completed 200 OK in 47ms (Views: 7.0ms | ActiveRecord: 10.0ms) + + +Started GET "/uk/admin/blocks/site_name/edit" for 127.0.0.1 at 2016-06-22 14:08:01 +0300 +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"site_name"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered active_translation/_localed_tabs.html.haml (1.0ms) + Rendered active_translation/_localed_inputs.html.haml (7.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (28.0ms) + Rendered blocks/edit.html.haml (40.0ms) +Completed 200 OK in 63ms (Views: 50.0ms | ActiveRecord: 2.0ms) + + +Started GET "/uk/admin/blocks/site_name/edit" for 127.0.0.1 at 2016-06-22 14:08:03 +0300 +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"site_name"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered active_translation/_localed_tabs.html.haml (1.0ms) + Rendered active_translation/_localed_inputs.html.haml (5.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (23.0ms) + Rendered blocks/edit.html.haml (34.0ms) +Completed 200 OK in 51ms (Views: 42.0ms | ActiveRecord: 1.0ms) + + +Started GET "/uk/admin/blocks/site_name/edit" for 127.0.0.1 at 2016-06-22 14:08:37 +0300 +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"site_name"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered active_translation/_localed_tabs.html.haml (0.0ms) + Rendered active_translation/_localed_inputs.html.haml (5.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (24.0ms) + Rendered blocks/edit.html.haml (33.0ms) +Completed 200 OK in 53ms (Views: 43.0ms | ActiveRecord: 4.0ms) + + +Started PATCH "/uk/admin/blocks/site_name" for 127.0.0.1 at 2016-06-22 14:08:45 +0300 +Processing by BlocksController#update as JS + Parameters: {"utf8"=>"✓", "block"=>{"text_uk"=>"CP Site!!!", "text_en"=>"Site name"}, "locale"=>"uk", "id"=>"site_name"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36m (1.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `blocks` (`key`, `block_version_id`, `updated_at`, `created_at`) VALUES ('site_name', 1, '2016-06-22 11:08:45', '2016-06-22 11:08:45') + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` WHERE `blocks`.`id` = 3 LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 11:08:45', '2016-06-22 11:08:45') + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', '<p>CP Site!!!</p>', 49, '2016-06-22 11:08:45', '2016-06-22 11:08:45')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('en', '<p>Site name</p>', 49, '2016-06-22 11:08:45', '2016-06-22 11:08:45') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m [["phrase_id", 49]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 [["id", 49]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m [["phrase_id", 49]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 [["phrase_id", 49]] + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Block', 'text', 3, 49)[0m + [1m[35m (3.0ms)[0m COMMIT + [1m[36mBlockVersion Load (1.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1 + Rendered blocks/update.js.erb (4.0ms) +Completed 200 OK in 50ms (Views: 6.0ms | ActiveRecord: 13.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:09:48 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (53.0ms) + Rendered layouts/_front_meta.html.haml (38.0ms) + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (41.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (28.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1[0m + Rendered blocks/_blocks_controls.html.haml (4.0ms) +Completed 200 OK in 698ms (Views: 674.5ms | ActiveRecord: 21.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 14:09:49 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 14:09:49 +0300 + + +Started GET "/assets/front-67a84f6f82c3d63f6430912f7eb4a97f763999e3f4b333124489dcadad832b60.css" for 127.0.0.1 at 2016-06-22 14:09:49 +0300 + + +Started GET "/assets/admin_front-8c138c3d48b2b9fecdaa5b0f39a9116adcef1f486d59bc16dc9692d7e8a0f5da.css" for 127.0.0.1 at 2016-06-22 14:09:49 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 14:09:49 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 14:09:49 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 14:09:49 +0300 + + +Started GET "/assets/fontawesome-webfont-c1732796c9dfafddff16db9660e67a879d723f376b0160cccad730c6c414eed3.woff2?v=4.6.0" for 127.0.0.1 at 2016-06-22 14:09:49 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:09:52 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (79.1ms) + Rendered layouts/_front_meta.html.haml (64.0ms) + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (37.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (28.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[36mBlockVersion Load (1.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1 + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 643ms (Views: 614.4ms | ActiveRecord: 23.0ms) + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 14:09:53 +0300 + + +Started GET "/assets/admin_front-8c138c3d48b2b9fecdaa5b0f39a9116adcef1f486d59bc16dc9692d7e8a0f5da.css" for 127.0.0.1 at 2016-06-22 14:09:53 +0300 + + +Started GET "/assets/front-67a84f6f82c3d63f6430912f7eb4a97f763999e3f4b333124489dcadad832b60.css" for 127.0.0.1 at 2016-06-22 14:09:53 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 14:09:53 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 14:09:53 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 14:09:53 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 14:09:53 +0300 + + +Started GET "/assets/fontawesome-webfont-c1732796c9dfafddff16db9660e67a879d723f376b0160cccad730c6c414eed3.woff2?v=4.6.0" for 127.0.0.1 at 2016-06-22 14:09:53 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:10:16 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (39.0ms) + Rendered layouts/_front_meta.html.haml (28.0ms) + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (33.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (29.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1[0m + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 533ms (Views: 514.4ms | ActiveRecord: 16.0ms) + + +Started GET "/assets/admin_front-403db1be2273f47305cd88349abaaddcd0730b7539f90849970a546aef19b8e9.css" for 127.0.0.1 at 2016-06-22 14:10:17 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 14:10:17 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 14:10:18 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 14:10:18 +0300 + + +Started GET "/assets/front-67a84f6f82c3d63f6430912f7eb4a97f763999e3f4b333124489dcadad832b60.css" for 127.0.0.1 at 2016-06-22 14:10:18 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 14:10:18 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 14:10:18 +0300 + + +Started GET "/assets/fontawesome-webfont-c1732796c9dfafddff16db9660e67a879d723f376b0160cccad730c6c414eed3.woff2?v=4.6.0" for 127.0.0.1 at 2016-06-22 14:10:18 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:10:58 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (43.0ms) + Rendered layouts/_front_meta.html.haml (49.0ms) + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (2.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (75.1ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (50.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1 + Rendered blocks/_blocks_controls.html.haml (5.0ms) +Completed 200 OK in 650ms (Views: 618.4ms | ActiveRecord: 30.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 14:10:59 +0300 + + +Started GET "/assets/admin_front-403db1be2273f47305cd88349abaaddcd0730b7539f90849970a546aef19b8e9.css" for 127.0.0.1 at 2016-06-22 14:10:59 +0300 + + +Started GET "/assets/front-67a84f6f82c3d63f6430912f7eb4a97f763999e3f4b333124489dcadad832b60.css" for 127.0.0.1 at 2016-06-22 14:10:59 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 14:10:59 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 14:10:59 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 14:10:59 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 14:10:59 +0300 + + +Started GET "/assets/fontawesome-webfont-c1732796c9dfafddff16db9660e67a879d723f376b0160cccad730c6c414eed3.woff2?v=4.6.0" for 127.0.0.1 at 2016-06-22 14:11:00 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:11:24 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (45.0ms) + Rendered layouts/_front_meta.html.haml (30.0ms) + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (30.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (29.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1[0m + Rendered blocks/_blocks_controls.html.haml (4.0ms) +Completed 200 OK in 568ms (Views: 548.4ms | ActiveRecord: 18.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 14:11:25 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 14:11:25 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 14:11:26 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 14:11:26 +0300 + + +Started GET "/assets/admin_front-cfc7f137d50acc9bcd2c4a2bbd85a20afdee1524f66eae6b6407c447266cb6cc.css" for 127.0.0.1 at 2016-06-22 14:11:26 +0300 + + +Started GET "/assets/front-67a84f6f82c3d63f6430912f7eb4a97f763999e3f4b333124489dcadad832b60.css" for 127.0.0.1 at 2016-06-22 14:11:26 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 14:11:26 +0300 + + +Started GET "/assets/fontawesome-webfont-c1732796c9dfafddff16db9660e67a879d723f376b0160cccad730c6c414eed3.woff2?v=4.6.0" for 127.0.0.1 at 2016-06-22 14:11:26 +0300 + + +Started POST "/uk/admin/blocks/apply" for 127.0.0.1 at 2016-06-22 14:11:34 +0300 +Processing by BlocksController#apply as HTML + Parameters: {"authenticity_token"=>"UvtXlWWcXr4FlggbS5bV+1WH0fCvG4vGKCaKWZSn5hUbi3ZPae29fuKQghqaDZsuuMwppAT69Qy5Zo9sl2tlMQ==", "locale"=>"uk"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mUPDATE `block_versions` SET `active` = 1, `updated_at` = '2016-06-22 11:11:34' WHERE `block_versions`.`id` = 1[0m + [1m[35m (1.0ms)[0m COMMIT +Redirected to http://127.0.0.1:3025/uk +Completed 302 Found in 15ms (ActiveRecord: 5.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:11:34 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (45.0ms) + Rendered layouts/_front_meta.html.haml (23.0ms) + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (34.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (31.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 375ms (Views: 354.2ms | ActiveRecord: 16.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:11:38 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (45.0ms) + Rendered layouts/_front_meta.html.haml (22.0ms) + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (33.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (30.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (2.0ms) +Completed 200 OK in 357ms (Views: 334.2ms | ActiveRecord: 21.0ms) + + +Started GET "/assets/admin_front-cfc7f137d50acc9bcd2c4a2bbd85a20afdee1524f66eae6b6407c447266cb6cc.css" for 127.0.0.1 at 2016-06-22 14:11:38 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 14:11:39 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 14:11:39 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 14:11:39 +0300 + + +Started GET "/assets/front-67a84f6f82c3d63f6430912f7eb4a97f763999e3f4b333124489dcadad832b60.css" for 127.0.0.1 at 2016-06-22 14:11:39 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 14:11:39 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 14:11:39 +0300 + + +Started GET "/en/index" for 127.0.0.1 at 2016-06-22 14:11:48 +0300 + +ActionController::RoutingError (No route matches [GET] "/en/index"): + actionpack (4.2.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.5.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.5.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.5.1) lib/rails/engine.rb:518:in `call' + railties (4.2.5.1) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (47.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (16.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (172.1ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (40.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (88.6ms) + + +Started GET "/en/" for 127.0.0.1 at 2016-06-22 14:11:59 +0300 + +ActionController::RoutingError (No route matches [GET] "/en"): + actionpack (4.2.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch' + web-console (2.3.0) lib/web_console/middleware.rb:18:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.5.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.5.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.5.1) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.5.1) lib/rails/engine.rb:518:in `call' + railties (4.2.5.1) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' + C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (86.1ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (41.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (89.1ms) + + +Started GET "/en/" for 127.0.0.1 at 2016-06-22 14:15:58 +0300 + [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m +Processing by FrontController#index as HTML + Parameters: {"locale"=>"en"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `accounts` SET `locale` = 'en', `updated_at` = '2016-06-22 11:15:58' WHERE `accounts`.`id` = 5 + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 + Rendered front/index.html.haml within layouts/front (243.2ms) + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1 + Rendered layouts/_front_meta.html.haml (412.3ms) + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 49], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 49], ["locale", "en"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 47], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 47], ["locale", "en"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 48], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 48], ["locale", "en"]] + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 36], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 38], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 40], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 42], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 42]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 + Rendered layouts/_menu.html.haml (55.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 35], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 36], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 36]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 38], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 40], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 42], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 44], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 46], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 46]] + Rendered layouts/_menu.html.haml (46.0ms) + Rendered layouts/_language_selector.html.haml (249.2ms) + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (17.0ms) + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1[0m +Completed 200 OK in 4928ms (Views: 4669.1ms | ActiveRecord: 133.1ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 14:16:03 +0300 + + +Started GET "/assets/admin_front-cfc7f137d50acc9bcd2c4a2bbd85a20afdee1524f66eae6b6407c447266cb6cc.css" for 127.0.0.1 at 2016-06-22 14:16:04 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 14:16:04 +0300 + + +Started GET "/assets/front-67a84f6f82c3d63f6430912f7eb4a97f763999e3f4b333124489dcadad832b60.css" for 127.0.0.1 at 2016-06-22 14:16:04 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 14:16:04 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 14:16:04 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 14:16:04 +0300 + + +Started GET "/uk/index" for 127.0.0.1 at 2016-06-22 14:16:07 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 11:16:07' WHERE `accounts`.`id` = 5 + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (58.0ms) + Rendered layouts/_front_meta.html.haml (33.0ms) + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (49.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (42.0ms) + Rendered layouts/_language_selector.html.haml (26.0ms) + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (12.0ms) +Completed 200 OK in 519ms (Views: 491.3ms | ActiveRecord: 20.0ms) + + +Started GET "/uk%2Fen" for 127.0.0.1 at 2016-06-22 14:16:15 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk/en"} +uk/en translation not available + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (45.0ms) + Rendered layouts/_front_meta.html.haml (24.0ms) + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (32.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (26.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (2.0ms) +Completed 200 OK in 356ms (Views: 332.2ms | ActiveRecord: 23.0ms) + + +Started GET "/" for 127.0.0.1 at 2016-06-22 14:26:19 +0300 + [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m +Processing by FrontController#index as HTML + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (180.1ms) + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1[0m + Rendered layouts/_front_meta.html.haml (331.2ms) + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (51.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (30.0ms) + Rendered layouts/_language_selector.html.haml (215.1ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (18.0ms) + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 +Completed 200 OK in 4707ms (Views: 4504.0ms | ActiveRecord: 111.1ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:26:29 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (2.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (61.0ms) + Rendered layouts/_front_meta.html.haml (36.0ms) + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (33.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (28.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (2.0ms) +Completed 200 OK in 494ms (Views: 475.3ms | ActiveRecord: 16.0ms) + + +Started GET "/en/index" for 127.0.0.1 at 2016-06-22 14:26:37 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"en"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'en', `updated_at` = '2016-06-22 11:26:37' WHERE `accounts`.`id` = 5[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (50.0ms) + Rendered layouts/_front_meta.html.haml (24.0ms) + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 49], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 49], ["locale", "en"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 47], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 47], ["locale", "en"]] + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 48], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 48], ["locale", "en"]] + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 36], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 38], ["locale", "en"]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 40], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 42], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 42]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered layouts/_menu.html.haml (41.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 35], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 36], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 38], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 40], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 42], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 44], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 46], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 46]] + Rendered layouts/_menu.html.haml (44.0ms) + Rendered layouts/_language_selector.html.haml (4.0ms) + [1m[36mBlockVersion Load (1.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (4.0ms) +Completed 200 OK in 435ms (Views: 402.3ms | ActiveRecord: 21.0ms) + + +Started GET "/en/pages/page" for 127.0.0.1 at 2016-06-22 14:26:44 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"en", "id"=>"page"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (16.0ms) + Rendered layouts/_front_meta.html.haml (24.0ms) + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 49], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 49], ["locale", "en"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 47], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 47], ["locale", "en"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 48], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 48], ["locale", "en"]] + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 44], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 44]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered layouts/_menu.html.haml (64.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 35], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 36], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 38], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 40], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 42], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 44], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 46], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 46]] + Rendered layouts/_menu.html.haml (52.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[36mBlockVersion Load (1.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 480ms (Views: 451.3ms | ActiveRecord: 27.0ms) + + +Started GET "/en" for 127.0.0.1 at 2016-06-22 14:26:54 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"en"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (71.0ms) + Rendered layouts/_front_meta.html.haml (46.0ms) + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 49], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 49], ["locale", "en"]] + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 47], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 47], ["locale", "en"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 48], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 48], ["locale", "en"]] + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 36], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 38], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 40], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 42], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 42]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered layouts/_menu.html.haml (70.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 35], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 36], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 38], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 38]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 40], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 42], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 44], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 46], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 46]] + Rendered layouts/_menu.html.haml (60.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) + [1m[36mBlockVersion Load (1.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (4.0ms) +Completed 200 OK in 559ms (Views: 525.4ms | ActiveRecord: 32.0ms) + + +Started GET "/en/pages/page" for 127.0.0.1 at 2016-06-22 14:26:58 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"en", "id"=>"page"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (20.0ms) + Rendered layouts/_front_meta.html.haml (31.0ms) + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 49], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 49], ["locale", "en"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 47], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 47], ["locale", "en"]] + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 48], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 48], ["locale", "en"]] + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 44], ["locale", "en"]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 44]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered layouts/_menu.html.haml (70.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 35], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 36], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 38], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 40], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 42], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 44], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 46], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 46]] + Rendered layouts/_menu.html.haml (56.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 507ms (Views: 482.3ms | ActiveRecord: 21.0ms) + + +Started GET "/uk/pages/page" for 127.0.0.1 at 2016-06-22 14:27:02 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"page"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (1.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 11:27:02' WHERE `accounts`.`id` = 5 + [1m[36m (2.0ms)[0m [1mCOMMIT[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mPhraseContainer Load (2.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/page.html.haml within layouts/front (19.0ms) + Rendered layouts/_front_meta.html.haml (49.0ms) + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (33.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (27.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 517ms (Views: 481.3ms | ActiveRecord: 23.0ms) + + +Started GET "/en/pages/page" for 127.0.0.1 at 2016-06-22 14:27:07 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"en", "id"=>"page"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35m (1.0ms)[0m BEGIN + [1m[36mSQL (2.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'en', `updated_at` = '2016-06-22 11:27:07' WHERE `accounts`.`id` = 5[0m + [1m[35m (0.0ms)[0m COMMIT + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (23.0ms) + Rendered layouts/_front_meta.html.haml (45.0ms) + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 49], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 49], ["locale", "en"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 47], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 47], ["locale", "en"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 48], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 48], ["locale", "en"]] + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 44], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 44]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered layouts/_menu.html.haml (71.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 35], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 36], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 38], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 40], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 42], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 44], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 46], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 46]] + Rendered layouts/_menu.html.haml (54.0ms) + Rendered layouts/_language_selector.html.haml (3.0ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 663ms (Views: 609.4ms | ActiveRecord: 33.0ms) + + +Started GET "/uk/pages/page" for 127.0.0.1 at 2016-06-22 14:27:12 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"page"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 11:27:12' WHERE `accounts`.`id` = 5 + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/page.html.haml within layouts/front (9.0ms) + Rendered layouts/_front_meta.html.haml (21.0ms) + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (35.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (27.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 309ms (Views: 281.2ms | ActiveRecord: 22.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:54:10 +0300 + [1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (239.2ms) + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1[0m + Rendered layouts/_front_meta.html.haml (357.2ms) + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (42.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (35.0ms) + Rendered layouts/_language_selector.html.haml (641.4ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (19.0ms) + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 +Completed 200 OK in 12887ms (Views: 12649.9ms | ActiveRecord: 116.1ms) + + +Started GET "/en/pages/page" for 127.0.0.1 at 2016-06-22 14:54:24 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"en", "id"=>"page"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'en', `updated_at` = '2016-06-22 11:54:24' WHERE `accounts`.`id` = 5[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (18.0ms) + Rendered layouts/_front_meta.html.haml (28.0ms) + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 49], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 49], ["locale", "en"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 47], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 47], ["locale", "en"]] + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 48], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 48], ["locale", "en"]] + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 44], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 44]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered layouts/_menu.html.haml (49.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 35], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 35]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 36], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 38], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 40], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 42], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 44], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 46], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 46]] + Rendered layouts/_menu.html.haml (43.0ms) + Rendered layouts/_language_selector.html.haml (5.0ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (6.0ms) +Completed 200 OK in 456ms (Views: 417.3ms | ActiveRecord: 20.0ms) + + +Started GET "/en" for 127.0.0.1 at 2016-06-22 14:54:30 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"en"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (81.1ms) + Rendered layouts/_front_meta.html.haml (45.0ms) + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 49], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 49], ["locale", "en"]] + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 47], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 47], ["locale", "en"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 48], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 48], ["locale", "en"]] + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 36], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 38], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 40], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (2.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1 [["phrase_id", 42], ["locale", "en"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m [["phrase_id", 42]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1[0m + Rendered layouts/_menu.html.haml (50.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 35], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 36], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 38], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 40], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 42], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 44], ["locale", "en"]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'en' LIMIT 1[0m [["phrase_id", 46], ["locale", "en"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`locale` = 'en' DESC, `translations`.`locale` = 'uk' DESC LIMIT 1 [["phrase_id", 46]] + Rendered layouts/_menu.html.haml (36.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (2.0ms) +Completed 200 OK in 474ms (Views: 440.3ms | ActiveRecord: 32.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:54:34 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 11:54:34' WHERE `accounts`.`id` = 5 + [1m[36m (1.0ms)[0m [1mCOMMIT[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (52.0ms) + Rendered layouts/_front_meta.html.haml (31.0ms) + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (35.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (34.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (2.0ms) +Completed 200 OK in 417ms (Views: 389.3ms | ActiveRecord: 20.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:57:07 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (47.0ms) + Rendered layouts/_front_meta.html.haml (48.0ms) + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (33.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (29.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 648ms (Views: 625.4ms | ActiveRecord: 20.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 14:57:08 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 14:57:08 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 14:57:08 +0300 + + +Started GET "/assets/front-5daa567c2ad5b733543e9cf46470857685fa92a48f69f657e09298ace1cff7fc.css" for 127.0.0.1 at 2016-06-22 14:57:08 +0300 + + +Started GET "/assets/admin_front-cfc7f137d50acc9bcd2c4a2bbd85a20afdee1524f66eae6b6407c447266cb6cc.css" for 127.0.0.1 at 2016-06-22 14:57:08 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 14:57:08 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 14:57:09 +0300 + + +Started GET "/uk/pages/page" for 127.0.0.1 at 2016-06-22 14:57:30 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"page"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/page.html.haml within layouts/front (11.0ms) + Rendered layouts/_front_meta.html.haml (23.0ms) + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (41.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (31.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 372ms (Views: 353.2ms | ActiveRecord: 15.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:57:32 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (49.0ms) + Rendered layouts/_front_meta.html.haml (29.0ms) + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (42.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (33.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (4.0ms) +Completed 200 OK in 448ms (Views: 430.3ms | ActiveRecord: 16.0ms) + + +Started GET "/uk/pages/page" for 127.0.0.1 at 2016-06-22 14:57:37 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"page"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/page.html.haml within layouts/front (12.0ms) + Rendered layouts/_front_meta.html.haml (24.0ms) + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (35.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (26.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (2.0ms) +Completed 200 OK in 311ms (Views: 296.2ms | ActiveRecord: 12.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 14:57:40 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (2.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (63.0ms) + Rendered layouts/_front_meta.html.haml (30.0ms) + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered layouts/_menu.html.haml (32.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC [["enabled", true]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1 [["id", 35]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 35], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m [["id", 36]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 36], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 [["id", 38]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 38], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m [["id", 40]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 40], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 [["id", 42]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 42], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m [["id", 44]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 44], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1 [["id", 46]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (28.6ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1 + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 411ms (Views: 381.9ms | ActiveRecord: 26.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 15:48:56 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered front/index.html.haml within layouts/front (115.1ms) + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1 + Rendered layouts/_front_meta.html.haml (53.0ms) +Completed 500 Internal Server Error in 1331ms (ActiveRecord: 72.0ms) + +ActionView::Template::Error (couldn't find file 'loc_icon.png'): + 9: = javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js' + 10: + 11: = stylesheet_link_tag 'shared', :media => "all" + 12: = stylesheet_link_tag 'front', :media => "all" + 13: = javascript_include_tag 'shared' + 14: = javascript_include_tag '//imasdk.googleapis.com/js/sdkloader/ima3.js' + 15: = javascript_include_tag 'front' + app/views/layouts/front.html.haml:12:in `_app_views_layouts_front_html_haml___62012953_59490732' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (15.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (149.1ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (77.1ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (216.1ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 15:51:27 +0300 + [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (167.1ms) + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1[0m + Rendered layouts/_front_meta.html.haml (302.2ms) +Completed 500 Internal Server Error in 2348ms (ActiveRecord: 58.0ms) + +ActionView::Template::Error (couldn't find file 'loc_icon.png'): + 8: /[if lt IE 9] + 9: = javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js' + 10: + 11: = stylesheet_link_tag 'shared', :media => "all" + 12: = stylesheet_link_tag 'front', :media => "all" + 13: = javascript_include_tag 'shared' + 14: = javascript_include_tag '//imasdk.googleapis.com/js/sdkloader/ima3.js' + app/views/layouts/front.html.haml:11:in `_app_views_layouts_front_html_haml__633317339_59055780' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (10.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (315.2ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (383.3ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 15:52:22 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (50.0ms) + Rendered layouts/_front_meta.html.haml (38.0ms) +Completed 500 Internal Server Error in 773ms (ActiveRecord: 13.0ms) + +ActionView::Template::Error (couldn't find file 'back/main_back.jpg'): + 8: /[if lt IE 9] + 9: = javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js' + 10: + 11: = stylesheet_link_tag 'shared', :media => "all" + 12: = stylesheet_link_tag 'front', :media => "all" + 13: = javascript_include_tag 'shared' + 14: = javascript_include_tag '//imasdk.googleapis.com/js/sdkloader/ima3.js' + app/views/layouts/front.html.haml:11:in `_app_views_layouts_front_html_haml__633317339_59055780' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (9.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (53.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (45.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (106.1ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 15:58:11 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (40.0ms) + Rendered layouts/_front_meta.html.haml (23.0ms) +Completed 500 Internal Server Error in 370ms (ActiveRecord: 13.0ms) + +ActionView::Template::Error (couldn't find file 'back/main_back.jpg'): + 8: /[if lt IE 9] + 9: = javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js' + 10: + 11: = stylesheet_link_tag 'shared', :media => "all" + 12: = stylesheet_link_tag 'front', :media => "all" + 13: = javascript_include_tag 'shared' + 14: = javascript_include_tag '//imasdk.googleapis.com/js/sdkloader/ima3.js' + app/views/layouts/front.html.haml:11:in `_app_views_layouts_front_html_haml__633317339_59055780' + + + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (10.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (1.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (45.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.0ms) + Rendered C:/tools/rubies/ruby-2.1.5-p273/lib/ruby/gems/2.1.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (108.1ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 15:58:54 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (51.0ms) + Rendered layouts/_front_meta.html.haml (32.0ms) + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (55.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (43.0ms) + Rendered layouts/_language_selector.html.haml (6.0ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (26.0ms) + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 +Completed 200 OK in 4874ms (Views: 4764.2ms | ActiveRecord: 108.1ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 15:59:00 +0300 + + +Started GET "/assets/front-d072c03e84e346b47ff00c58f9af676c4b02e345b1a7ba87165ad7992e5b7490.css" for 127.0.0.1 at 2016-06-22 15:59:00 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 15:59:00 +0300 + + +Started GET "/assets/admin_front-cfc7f137d50acc9bcd2c4a2bbd85a20afdee1524f66eae6b6407c447266cb6cc.css" for 127.0.0.1 at 2016-06-22 15:59:00 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 15:59:00 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 15:59:00 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 15:59:00 +0300 + + +Started GET "/uk/admin/blocks/contacts/edit" for 127.0.0.1 at 2016-06-22 15:59:08 +0300 +Processing by BlocksController#edit as */* + Parameters: {"locale"=>"uk", "id"=>"contacts"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + Rendered active_translation/_localed_tabs.html.haml (2.0ms) + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'en' LIMIT 1[0m + Rendered active_translation/_localed_inputs.html.haml (19.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (41.0ms) + Rendered blocks/edit.html.haml (53.0ms) +Completed 200 OK in 85ms (Views: 66.0ms | ActiveRecord: 5.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 16:00:44 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (38.0ms) + Rendered layouts/_front_meta.html.haml (23.0ms) + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (31.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (28.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 563ms (Views: 547.4ms | ActiveRecord: 13.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 16:00:45 +0300 + + +Started GET "/assets/front-ed0eaf29cf984849256ef6259a5faa48d0379c85406c9e43c8cd79412bd1b2f2.css" for 127.0.0.1 at 2016-06-22 16:00:45 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 16:00:45 +0300 + + +Started GET "/assets/admin_front-cfc7f137d50acc9bcd2c4a2bbd85a20afdee1524f66eae6b6407c447266cb6cc.css" for 127.0.0.1 at 2016-06-22 16:00:45 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 16:00:45 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 16:00:45 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 16:00:45 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 16:00:48 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (40.0ms) + Rendered layouts/_front_meta.html.haml (22.0ms) + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (30.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (31.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (4.0ms) +Completed 200 OK in 327ms (Views: 306.2ms | ActiveRecord: 17.0ms) + + +Started GET "/assets/front-ed0eaf29cf984849256ef6259a5faa48d0379c85406c9e43c8cd79412bd1b2f2.css" for 127.0.0.1 at 2016-06-22 16:00:49 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 16:00:49 +0300 + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 16:00:49 +0300 + + +Started GET "/assets/admin_front-cfc7f137d50acc9bcd2c4a2bbd85a20afdee1524f66eae6b6407c447266cb6cc.css" for 127.0.0.1 at 2016-06-22 16:00:49 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 16:00:49 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 16:00:49 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 16:00:49 +0300 + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 16:00:51 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (55.0ms) + Rendered layouts/_front_meta.html.haml (28.0ms) + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (40.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (37.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 429ms (Views: 405.3ms | ActiveRecord: 18.0ms) + + +Started GET "/assets/shared-f27147073761a069846f252ea66dfe2d6e4c460415660bbbda859240616bc447.css" for 127.0.0.1 at 2016-06-22 16:00:52 +0300 + + +Started GET "/assets/ckeditor/init-8a4a492fbcd8ef820519a5dd60f86b547348ba88dc155a3934ee3cbc5e58fffc.js" for 127.0.0.1 at 2016-06-22 16:00:52 +0300 + + +Started GET "/assets/front-ed0eaf29cf984849256ef6259a5faa48d0379c85406c9e43c8cd79412bd1b2f2.css" for 127.0.0.1 at 2016-06-22 16:00:52 +0300 + + +Started GET "/assets/shared-a6526a47d1ec7621e634db539197d125cc260bce99d9db03f1df618e2b50a1e3.js" for 127.0.0.1 at 2016-06-22 16:00:52 +0300 + + +Started GET "/assets/front-0a5fce493e753f23c8c9761fe6244079fb77b0911a3b2b78fab296628a678cdb.js" for 127.0.0.1 at 2016-06-22 16:00:52 +0300 + + +Started GET "/assets/admin_front-cfc7f137d50acc9bcd2c4a2bbd85a20afdee1524f66eae6b6407c447266cb6cc.css" for 127.0.0.1 at 2016-06-22 16:00:52 +0300 + + +Started GET "/assets/admin_front-3c81183d3abf26f1752ecbe0454ab848ab186d8ac60a425066518e61d14874ae.js" for 127.0.0.1 at 2016-06-22 16:00:52 +0300 + + +Started GET "/uk/pages/page" for 127.0.0.1 at 2016-06-22 16:00:56 +0300 +Processing by FrontController#page as HTML + Parameters: {"locale"=>"uk", "id"=>"page"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 45 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 45 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (13.0ms) + Rendered layouts/_front_meta.html.haml (21.0ms) + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (37.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (31.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 335ms (Views: 318.2ms | ActiveRecord: 14.0ms) + + +Started GET "/uk" for 127.0.0.1 at 2016-06-22 16:00:57 +0300 +Processing by FrontController#index as HTML + Parameters: {"locale"=>"uk"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 37 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 37 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 39 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 39 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 41 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 41 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 43 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 43 AND `translations`.`locale` = 'uk' LIMIT 1[0m + Rendered front/index.html.haml within layouts/front (65.0ms) + Rendered layouts/_front_meta.html.haml (39.0ms) + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 5 LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 3 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 49 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 49], ["locale", "uk"]] + [1m[35mCACHE (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 49 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 49], ["locale", "uk"]] + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 1 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 47 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 47], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 47 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 47], ["locale", "uk"]] + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=5) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 2 AND `phrase_containers`.`translatable_type` = 'Block' AND `phrase_containers`.`attribute_name` = 'text' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 48 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 48], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 48 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 48], ["locale", "uk"]] + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 + Rendered layouts/_menu.html.haml (49.0ms) + [1m[36mCACHE (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m [["enabled", true]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 20 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 20], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 35 LIMIT 1[0m [["id", 35]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 35 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 35], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 21 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 21], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 36 LIMIT 1 [["id", 36]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 36 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 36], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 22 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 22], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 38 LIMIT 1[0m [["id", 38]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 38 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 38], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 23 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 23], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 40 LIMIT 1 [["id", 40]] + [1m[36mCACHE (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 40 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 40], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 24 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 24], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 42 LIMIT 1[0m [["id", 42]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 42 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 42], ["locale", "uk"]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 25 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m [["translatable_id", 25], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 44 LIMIT 1 [["id", 44]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 44 AND `translations`.`locale` = 'uk' LIMIT 1[0m [["phrase_id", 44], ["locale", "uk"]] + [1m[35mCACHE (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 26 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 [["translatable_id", 26], ["translatable_type", "Page"], ["attribute_name", :title]] + [1m[36mCACHE (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 46 LIMIT 1[0m [["id", 46]] + [1m[35mCACHE (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 46 AND `translations`.`locale` = 'uk' LIMIT 1 [["phrase_id", 46], ["locale", "uk"]] + Rendered layouts/_menu.html.haml (44.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[36mBlockVersion Load (1.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 5 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 507ms (Views: 475.3ms | ActiveRecord: 29.0ms) diff --git a/log/test.log b/log/test.log new file mode 100644 index 0000000..750f5d5 --- /dev/null +++ b/log/test.log @@ -0,0 +1,1187 @@ + [1m[36m (20.9ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m + [1m[35m (48.8ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) + [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m +Migrating to DeviseCreateAccounts (20150506142023) + [1m[35m (24.0ms)[0m CREATE TABLE `accounts` (`id` int(11) auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `balance` decimal(8,2) DEFAULT 0 NOT NULL, `on_hold` tinyint(1) DEFAULT 0 NOT NULL, `subscribed` tinyint(1) DEFAULT 1 NOT NULL, `locale` varchar(255) DEFAULT 'en' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int(11) DEFAULT 0 NOT NULL, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB + [1m[36m (13.0ms)[0m [1mCREATE UNIQUE INDEX `index_accounts_on_email` ON `accounts` (`email`) [0m + [1m[35m (16.0ms)[0m CREATE UNIQUE INDEX `index_accounts_on_reset_password_token` ON `accounts` (`reset_password_token`) + [1m[36m (16.0ms)[0m [1mCREATE INDEX `index_accounts_on_on_hold` ON `accounts` (`on_hold`) [0m + [1m[35m (17.0ms)[0m CREATE INDEX `index_accounts_on_subscribed` ON `accounts` (`subscribed`) + [1m[36m (18.0ms)[0m [1mCREATE INDEX `index_accounts_on_locale` ON `accounts` (`locale`) [0m + [1m[35m (18.0ms)[0m CREATE UNIQUE INDEX `index_accounts_on_confirmation_token` ON `accounts` (`confirmation_token`) + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20150506142023') + [1m[36m (1.0ms)[0m [1mCOMMIT[0m +Migrating to CreateAdministrators (20150506142148) + [1m[35m (18.0ms)[0m CREATE TABLE `administrators` (`id` int(11) auto_increment PRIMARY KEY, `account_id` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB + [1m[36m (14.0ms)[0m [1mCREATE INDEX `index_administrators_on_account_id` ON `administrators` (`account_id`) [0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150506142148')[0m + [1m[35m (1.0ms)[0m COMMIT +Migrating to CreateActiveTranslation (20150517084222) + [1m[36m (53.0ms)[0m [1mCREATE TABLE `translations` (`id` int(11) auto_increment PRIMARY KEY, `locale` varchar(255), `text` text, `phrase_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_translations_on_locale` (`locale`) , INDEX `index_translations_on_phrase_id` (`phrase_id`) ) ENGINE=InnoDB[0m + [1m[35m (20.0ms)[0m CREATE INDEX `index_translations_on_text` ON `translations` (`text`(255)) + [1m[36m (21.0ms)[0m [1mCREATE TABLE `phrases` (`id` int(11) auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m + [1m[35m (22.0ms)[0m CREATE TABLE `phrase_containers` (`id` int(11) auto_increment PRIMARY KEY, `translatable_id` int(11), `translatable_type` varchar(255), `attribute_name` varchar(255), `phrase_id` int(11), INDEX `index_phrase_containers_on_attribute_name` (`attribute_name`) , INDEX `index_phrase_containers_on_phrase_id` (`phrase_id`) ) ENGINE=InnoDB + [1m[36m (18.0ms)[0m [1mCREATE INDEX `index_phrase_containers_on_translatable_id_and_translatable_type` ON `phrase_containers` (`translatable_id`, `translatable_type`) [0m + [1m[35m (1.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150517084222')[0m + [1m[35m (0.0ms)[0m COMMIT +Migrating to CreateNewsletters (20150525174028) + [1m[36m (12.6ms)[0m [1mCREATE TABLE `newsletters` (`id` int(11) auto_increment PRIMARY KEY, `subject` varchar(255), `text` text, `last_id` int(11), `processed_id` int(11), `processed_at` datetime, `recipient_filter` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150525174028')[0m + [1m[35m (0.0ms)[0m COMMIT +Migrating to CreateBlocks (20150715143148) + [1m[36m (31.0ms)[0m [1mCREATE TABLE `blocks` (`id` int(11) auto_increment PRIMARY KEY, `key` varchar(255), `block_version_id` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB[0m + [1m[35m (13.0ms)[0m CREATE INDEX `index_blocks_on_key` ON `blocks` (`key`) + [1m[36m (16.0ms)[0m [1mCREATE INDEX `index_blocks_on_block_version_id` ON `blocks` (`block_version_id`) [0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150715143148')[0m + [1m[35m (0.0ms)[0m COMMIT +Migrating to CreateBlockVersions (20150715143248) + [1m[36m (19.0ms)[0m [1mCREATE TABLE `block_versions` (`id` int(11) auto_increment PRIMARY KEY, `account_id` int(11), `active` tinyint(1), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB[0m + [1m[35m (15.0ms)[0m CREATE INDEX `index_block_versions_on_active` ON `block_versions` (`active`) + [1m[36m (17.0ms)[0m [1mCREATE INDEX `index_block_versions_on_account_id` ON `block_versions` (`account_id`) [0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150715143248')[0m + [1m[35m (0.0ms)[0m COMMIT +Migrating to CreatePages (20151130142520) + [1m[36m (34.0ms)[0m [1mCREATE TABLE `pages` (`id` int(11) auto_increment PRIMARY KEY, `mode` varchar(255), `link` varchar(255), `url_id` varchar(255), `position` int(11), `enabled` tinyint(1), `keywords` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m + [1m[35m (16.0ms)[0m CREATE INDEX `index_pages_on_position` ON `pages` (`position`) + [1m[36m (21.0ms)[0m [1mCREATE INDEX `index_pages_on_url_id` ON `pages` (`url_id`) [0m + [1m[35m (1.0ms)[0m BEGIN + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20151130142520')[0m + [1m[35m (1.0ms)[0m COMMIT +Migrating to CreateSettings (20151227121014) + [1m[36m (29.0ms)[0m [1mCREATE TABLE `settings` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `value` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m + [1m[35m (16.0ms)[0m CREATE UNIQUE INDEX `index_settings_on_name` ON `settings` (`name`) + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20151227121014') + [1m[36m (0.0ms)[0m [1mCOMMIT[0m +Migrating to CreateCkeditorAssets (20160302111301) + [1m[35m (87.1ms)[0m CREATE TABLE `ckeditor_assets` (`id` int(11) auto_increment PRIMARY KEY, `data_file_name` varchar(255) NOT NULL, `data_content_type` varchar(255), `data_file_size` int(11), `assetable_id` int(11), `assetable_type` varchar(30), `type` varchar(30), `width` int(11), `height` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB + [1m[36m (21.0ms)[0m [1mCREATE INDEX `idx_ckeditor_assetable_type` ON `ckeditor_assets` (`assetable_type`, `type`, `assetable_id`) [0m + [1m[35m (27.0ms)[0m CREATE INDEX `idx_ckeditor_assetable` ON `ckeditor_assets` (`assetable_type`, `assetable_id`) + [1m[36m (0.0ms)[0m [1mBEGIN[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20160302111301') + [1m[36m (0.0ms)[0m [1mCOMMIT[0m + [1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_test' + AND fk.table_name = 'accounts' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `accounts` + [1m[36m (1.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_test' + AND fk.table_name = 'administrators' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `administrators` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_test' + AND fk.table_name = 'block_versions' +[0m + [1m[35m (1.0ms)[0m SHOW CREATE TABLE `block_versions` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_test' + AND fk.table_name = 'blocks' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `blocks` + [1m[36m (1.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_test' + AND fk.table_name = 'ckeditor_assets' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `ckeditor_assets` + [1m[36m (1.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_test' + AND fk.table_name = 'newsletters' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `newsletters` + [1m[36m (1.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_test' + AND fk.table_name = 'pages' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `pages` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_test' + AND fk.table_name = 'phrase_containers' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `phrase_containers` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_test' + AND fk.table_name = 'phrases' +[0m + [1m[35m (1.0ms)[0m SHOW CREATE TABLE `phrases` + [1m[36m (0.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_test' + AND fk.table_name = 'settings' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `settings` + [1m[36m (1.0ms)[0m [1mSELECT fk.referenced_table_name as 'to_table' + ,fk.referenced_column_name as 'primary_key' + ,fk.column_name as 'column' + ,fk.constraint_name as 'name' +FROM information_schema.key_column_usage fk +WHERE fk.referenced_column_name is not null + AND fk.table_schema = 'base_sites_test' + AND fk.table_name = 'translations' +[0m + [1m[35m (0.0ms)[0m SHOW CREATE TABLE `translations` + [1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m + [1m[35m (1.0ms)[0m SELECT @@FOREIGN_KEY_CHECKS + [1m[36m (0.0ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM `accounts`[0m + [1m[35mFixture Insert (1.0ms)[0m INSERT INTO `accounts` (`email`, `on_hold`, `subscribed`, `created_at`, `updated_at`, `id`) VALUES ('admin@example.com', 0, 1, '2016-06-22 12:10:21', '2016-06-22 12:10:21', 980190962) + [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO `accounts` (`email`, `on_hold`, `subscribed`, `created_at`, `updated_at`, `id`) VALUES ('two@example.com', 0, 1, '2016-06-22 12:10:21', '2016-06-22 12:10:21', 298486374)[0m + [1m[35mFixture Insert (0.0ms)[0m INSERT INTO `accounts` (`email`, `on_hold`, `subscribed`, `created_at`, `updated_at`, `id`) VALUES ('three@example.com', 0, 1, '2016-06-22 12:10:21', '2016-06-22 12:10:21', 113629430) + [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM `administrators`[0m + [1m[35mFixture Insert (0.0ms)[0m INSERT INTO `administrators` (`created_at`, `updated_at`, `id`, `account_id`) VALUES ('2016-06-22 12:10:21', '2016-06-22 12:10:21', 980190962, 980190962) + [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM `newsletters`[0m + [1m[35mFixture Insert (0.0ms)[0m INSERT INTO `newsletters` (`subject`, `text`, `created_at`, `updated_at`, `id`) VALUES ('MyString', 'MyText', '2016-06-22 12:10:21', '2016-06-22 12:10:21', 980190962) + [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO `newsletters` (`subject`, `text`, `created_at`, `updated_at`, `id`) VALUES ('MyString', 'MyText', '2016-06-22 12:10:21', '2016-06-22 12:10:21', 298486374)[0m + [1m[35mFixture Delete (0.0ms)[0m DELETE FROM `pages` + [1m[36mFixture Insert (1.0ms)[0m [1mINSERT INTO `pages` (`mode`, `link`, `position`, `enabled`, `keywords`, `url_id`, `created_at`, `updated_at`, `id`) VALUES ('page', 'MyString', 1, 0, 'MyText', 'page-1', '2016-06-22 12:10:21', '2016-06-22 12:10:21', 980190962)[0m + [1m[35mFixture Insert (0.0ms)[0m INSERT INTO `pages` (`mode`, `link`, `position`, `enabled`, `keywords`, `url_id`, `created_at`, `updated_at`, `id`) VALUES ('page', 'MyString', 2, 0, 'MyText', 'page-2', '2016-06-22 12:10:21', '2016-06-22 12:10:21', 298486374) + [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM `settings`[0m + [1m[35mFixture Insert (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`, `id`) VALUES ('setting1', 'value', '2016-06-22 12:10:21', '2016-06-22 12:10:21', 980190962) + [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`, `id`) VALUES ('setting2', '1', '2016-06-22 12:10:21', '2016-06-22 12:10:21', 298486374)[0m + [1m[35m (0.0ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m + [1m[35m (0.0ms)[0m BEGIN +--------------------------------------------- +SettingsControllerTest: test_should_get_index +--------------------------------------------- + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`id` = 980190962 LIMIT 1[0m + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 +Processing by SettingsController#index as HTML + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (1.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:10:22' WHERE `accounts`.`id` = 980190962 + [1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSetting Exists (1.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'site_name' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('site_name', 'Personal site', '2016-06-22 12:10:22', '2016-06-22 12:10:22')[0m + [1m[35m (1.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSetting Exists (1.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'title' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('title', 'Personal site', '2016-06-22 12:10:22', '2016-06-22 12:10:22') + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'description' LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('description', 'Site of your dreams.', '2016-06-22 12:10:22', '2016-06-22 12:10:22')[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSetting Exists (1.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'keywords' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('keywords', 'site, personal site, own site', '2016-06-22 12:10:22', '2016-06-22 12:10:22') + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'gse_id' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('gse_id', '007392588842326689376:3onw-lza4mc', '2016-06-22 12:10:22', '2016-06-22 12:10:22')[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'google_analytics_id' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSetting Exists (0.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'google_analytics_id' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('google_analytics_id', 'UA-63039804-12', '2016-06-22 12:10:22', '2016-06-22 12:10:22') + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` ORDER BY `settings`.`name` ASC + Rendered settings/index.html.haml within layouts/admin (406.3ms) + Rendered layouts/_language_selector.html.haml (5.0ms) +Completed 200 OK in 37295ms (Views: 37181.5ms | ActiveRecord: 11.0ms) + [1m[36m (3.0ms)[0m [1mROLLBACK[0m + [1m[35m (1.0ms)[0m BEGIN +-------------------------------------------------- +SettingsControllerTest: test_should_update_setting +-------------------------------------------------- + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`id` = 980190962 LIMIT 1[0m + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 +Processing by SettingsController#update as HTML + Parameters: {"setting"=>{"name"=>"setting1", "value"=>"value"}, "id"=>"980190962"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (0.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:10:59' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`id` = 980190962 ORDER BY `settings`.`name` ASC LIMIT 1 +Unpermitted parameter: name + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSetting Exists (1.0ms)[0m SELECT 1 AS one FROM `settings` WHERE (`settings`.`name` = BINARY 'setting1' AND `settings`.`id` != 980190962) LIMIT 1 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m +Redirected to http://test.host/uk/admin/settings +Completed 302 Found in 13ms (ActiveRecord: 2.0ms) + [1m[35m (0.0ms)[0m ROLLBACK + [1m[36m (0.0ms)[0m [1mBEGIN[0m +------------------------------------------ +FrontControllerTest: test_should_get_index +------------------------------------------ + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 +Processing by FrontController#index as HTML + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (1.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:10:59' WHERE `accounts`.`id` = 980190962[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC[0m + Rendered front/index.html.haml within layouts/front (3.0ms) + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'title' LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('title', 'Personal site', '2016-06-22 12:10:59', '2016-06-22 12:10:59')[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSetting Exists (0.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'description' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('description', 'Site of your dreams.', '2016-06-22 12:10:59', '2016-06-22 12:10:59') + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'keywords' LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('keywords', 'site, personal site, own site', '2016-06-22 12:10:59', '2016-06-22 12:10:59')[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSetting Exists (1.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'site_name' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('site_name', 'Personal site', '2016-06-22 12:10:59', '2016-06-22 12:10:59') + [1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + Rendered layouts/_front_meta.html.haml (43.0ms) + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=980190962) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `block_versions` (`account_id`, `active`, `created_at`, `updated_at`) VALUES (980190962, 0, '2016-06-22 12:10:59', '2016-06-22 12:10:59') + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=980190962) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=980190962) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (1.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + Rendered layouts/_menu.html.haml (4.0ms) + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 1[0m + Rendered blocks/_blocks_controls.html.haml (10.0ms) + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSetting Exists (1.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'gse_id' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('gse_id', '007392588842326689376:3onw-lza4mc', '2016-06-22 12:10:59', '2016-06-22 12:10:59')[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 269ms (Views: 197.1ms | ActiveRecord: 65.0ms) + [1m[36m (1.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +----------------------------------------- +FrontControllerTest: test_should_get_page +----------------------------------------- + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1 +Processing by FrontController#page as HTML + Parameters: {"id"=>"page-1"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (0.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:10:59' WHERE `accounts`.`id` = 980190962[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page-1' ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + Rendered front/page.html.haml within layouts/front (11.0ms) + Rendered layouts/_front_meta.html.haml (26.0ms) + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=980190962) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `block_versions` (`account_id`, `active`, `created_at`, `updated_at`) VALUES (980190962, 0, '2016-06-22 12:10:59', '2016-06-22 12:10:59') + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=980190962) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (1.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=980190962) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + Rendered layouts/_menu.html.haml (1.0ms) + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) + [1m[35mBlockVersion Load (1.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 2[0m + Rendered blocks/_blocks_controls.html.haml (5.0ms) +Completed 200 OK in 91ms (Views: 79.1ms | ActiveRecord: 6.0ms) + [1m[35m (2.0ms)[0m ROLLBACK + [1m[36m (0.0ms)[0m [1mBEGIN[0m +------------------------------------------------- +AdminControllerTest: test_should_do_not_get_index +------------------------------------------------- + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 298486374 LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 298486374 LIMIT 1 +Processing by AdminController#index as HTML + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 298486374 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 298486374 LIMIT 1 +Redirected to http://test.host/uk +Filter chain halted as :check_administrator rendered or redirected +Completed 302 Found in 3ms (ActiveRecord: 0.0ms) + [1m[36m (0.0ms)[0m [1mROLLBACK[0m + [1m[35m (1.0ms)[0m BEGIN +------------------------------------------ +AdminControllerTest: test_should_get_index +------------------------------------------ + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m +Processing by AdminController#index as HTML + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (0.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:10:59' WHERE `accounts`.`id` = 980190962[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + Rendered admin/index.html.haml within layouts/admin (2.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 30ms (Views: 23.0ms | ActiveRecord: 2.0ms) + [1m[36m (0.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +-------------------------------------------- +AccountsControllerTest: test_should_get_show +-------------------------------------------- + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m +Processing by AccountsController#show as HTML + Parameters: {"id"=>"980190962"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (0.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:10:59' WHERE `accounts`.`id` = 980190962[0m + [1m[35m (1.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m + Rendered accounts/show.html.haml within layouts/admin (7.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 42ms (Views: 35.0ms | ActiveRecord: 1.0ms) + [1m[35m (1.0ms)[0m ROLLBACK + [1m[36m (0.0ms)[0m [1mBEGIN[0m +-------------------------------------------- +AccountsControllerTest: test_should_get_edit +-------------------------------------------- + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 +Processing by AccountsController#edit as HTML + Parameters: {"id"=>"980190962"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (1.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:10:59' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 + Rendered accounts/_form.html.haml (63.0ms) + Rendered accounts/edit.html.haml within layouts/admin (69.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 97ms (Views: 89.1ms | ActiveRecord: 2.0ms) + [1m[36m (0.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +--------------------------------------------- +AccountsControllerTest: test_should_get_index +--------------------------------------------- + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m +Processing by AccountsController#index as HTML + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (1.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:10:59' WHERE `accounts`.`id` = 980190962[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM `accounts`[0m + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` ORDER BY email, `accounts`.`email` ASC LIMIT 20 OFFSET 0 + Rendered accounts/index.html.haml within layouts/admin (12.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 49ms (Views: 34.0ms | ActiveRecord: 3.0ms) + [1m[36m (1.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +---------------------------------------------------- +AccountsControllerTest: test_should_do_not_get_index +---------------------------------------------------- + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 298486374 LIMIT 1 + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 298486374 LIMIT 1[0m +Processing by AccountsController#index as HTML + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 298486374 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 298486374 LIMIT 1[0m +Redirected to http://test.host/uk +Filter chain halted as :check_administrator rendered or redirected +Completed 302 Found in 4ms (ActiveRecord: 1.0ms) + [1m[35m (0.0ms)[0m ROLLBACK + [1m[36m (1.0ms)[0m [1mBEGIN[0m +-------------------------------------------- +PagesControllerTest: test_should_create_page +-------------------------------------------- + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1 + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m + [1m[35m (1.0ms)[0m SELECT COUNT(*) FROM `pages` + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 +Processing by PagesController#create as HTML + Parameters: {"page"=>{"body"=>nil, "description"=>nil, "enabled"=>false, "keywords"=>"MyText", "link"=>"MyString", "mode"=>"page", "url_id"=>"test", "position"=>"1", "title"=>"New page"}} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (0.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:11:00' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m +Unpermitted parameter: link + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (1.0ms)[0m [1mUPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 1)[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `pages` (`updated_at`, `position`, `mode`, `url_id`, `enabled`, `keywords`, `created_at`) VALUES ('2016-06-22 12:11:00', 1, 'page', 'test', 0, 'MyText', '2016-06-22 12:11:00') + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190963 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 12:11:00', '2016-06-22 12:11:00') + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'New page', 1, '2016-06-22 12:11:00', '2016-06-22 12:11:00')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 1 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 1 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 1 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 980190963, 1)[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190963 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 12:11:00', '2016-06-22 12:11:00')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 2, '2016-06-22 12:11:00', '2016-06-22 12:11:00') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 2 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 2 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 2 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 980190963, 2) + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190963 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 12:11:00', '2016-06-22 12:11:00') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 3, '2016-06-22 12:11:00', '2016-06-22 12:11:00')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 3 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 3 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 3 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'description', 980190963, 3)[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/uk/admin/pages/980190963 +Completed 302 Found in 75ms (ActiveRecord: 6.0ms) + [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM `pages`[0m + [1m[35m (1.0ms)[0m ROLLBACK + [1m[36m (0.0ms)[0m [1mBEGIN[0m +--------------------------------------------- +PagesControllerTest: test_should_destroy_page +--------------------------------------------- + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1 + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m + [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM `pages` +Processing by PagesController#destroy as HTML + Parameters: {"id"=>"980190962"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (0.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:11:00' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m DELETE FROM `pages` WHERE `pages`.`id` = 980190962 + [1m[36mSQL (1.0ms)[0m [1mUPDATE `pages` SET position = (position - 1) WHERE (1 = 1) AND (position > 1)[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/uk/admin/pages +Completed 302 Found in 15ms (ActiveRecord: 1.0ms) + [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM `pages`[0m + [1m[35m (0.0ms)[0m ROLLBACK + [1m[36m (0.0ms)[0m [1mBEGIN[0m +------------------------------------------ +PagesControllerTest: test_should_get_index +------------------------------------------ + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1 + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m +Processing by PagesController#index as HTML + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (0.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:11:00' WHERE `accounts`.`id` = 980190962[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` ORDER BY `pages`.`position` ASC[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 298486374 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 298486374 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + Rendered pages/index.html.haml within layouts/admin (15.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 47ms (Views: 39.0ms | ActiveRecord: 3.0ms) + [1m[35m (0.0ms)[0m ROLLBACK + [1m[36m (0.0ms)[0m [1mBEGIN[0m +----------------------------------------- +PagesControllerTest: test_should_get_edit +----------------------------------------- + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1 + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m +Processing by PagesController#edit as HTML + Parameters: {"id"=>"980190962"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (0.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:11:00' WHERE `accounts`.`id` = 980190962[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1[0m + Rendered active_translation/_localed_tabs.html.haml (2.0ms) + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + Rendered active_translation/_localed_inputs.html.haml (9.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (21.0ms) + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + Rendered active_translation/_localed_inputs.html.haml (13.0ms) + Rendered pages/_form.html.haml (63.0ms) + Rendered pages/edit.html.haml within layouts/admin (69.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 97ms (Views: 88.1ms | ActiveRecord: 2.0ms) + [1m[36m (1.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +------------------------------------------------- +PagesControllerTest: test_should_do_not_get_index +------------------------------------------------- + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1[0m + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 298486374 LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 298486374 LIMIT 1 +Processing by PagesController#index as HTML + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 298486374 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 298486374 LIMIT 1 +Redirected to http://test.host/uk +Filter chain halted as :check_administrator rendered or redirected +Completed 302 Found in 3ms (ActiveRecord: 0.0ms) + [1m[36m (1.0ms)[0m [1mROLLBACK[0m + [1m[35m (1.0ms)[0m BEGIN +---------------------------------------- +PagesControllerTest: test_should_get_new +---------------------------------------- + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1[0m + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 +Processing by PagesController#new as HTML + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (0.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:11:00' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + Rendered active_translation/_localed_tabs.html.haml (1.0ms) + Rendered active_translation/_localed_inputs.html.haml (2.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (3.0ms) + Rendered active_translation/_localed_inputs.html.haml (3.0ms) + Rendered pages/_form.html.haml (15.0ms) + Rendered pages/new.html.haml within layouts/admin (17.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 46ms (Views: 39.0ms | ActiveRecord: 1.0ms) + [1m[35m (1.0ms)[0m ROLLBACK + [1m[36m (0.0ms)[0m [1mBEGIN[0m +-------------------------------------------- +PagesControllerTest: test_should_update_page +-------------------------------------------- + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1 + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m +Processing by PagesController#update as HTML + Parameters: {"page"=>{"body"=>nil, "description"=>nil, "enabled"=>false, "keywords"=>"MyText", "link"=>"MyString", "mode"=>"page", "title"=>"Existing page"}, "id"=>"980190962"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (0.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:11:00' WHERE `accounts`.`id` = 980190962[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1[0m +Unpermitted parameter: link + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 12:11:00', '2016-06-22 12:11:00')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Existing page', 4, '2016-06-22 12:11:00', '2016-06-22 12:11:00') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 4 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 4 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 4 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_id`, `translatable_type`, `attribute_name`, `phrase_id`) VALUES (980190962, 'Page', 'title', 4) + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 12:11:00', '2016-06-22 12:11:00')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 5, '2016-06-22 12:11:00', '2016-06-22 12:11:00') + [1m[36mPhrase Load (1.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 5 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 5 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 5 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrase_containers` (`translatable_id`, `translatable_type`, `attribute_name`, `phrase_id`) VALUES (980190962, 'Page', 'body', 5) + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 12:11:00', '2016-06-22 12:11:00')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 6, '2016-06-22 12:11:00', '2016-06-22 12:11:00') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 6 LIMIT 1[0m + [1m[35mTranslation Load (0.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 6 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 6 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_id`, `translatable_type`, `attribute_name`, `phrase_id`) VALUES (980190962, 'Page', 'description', 6) + [1m[36mSQL (0.0ms)[0m [1mUPDATE `pages` SET `updated_at` = '2016-06-22 12:11:00' WHERE `pages`.`id` = 980190962[0m + [1m[35m (1.0ms)[0m SELECT COUNT(*) FROM `pages` WHERE (1 = 1) AND (position = 1) + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m +Redirected to http://test.host/uk/admin/pages/980190962 +Completed 302 Found in 65ms (ActiveRecord: 6.0ms) + [1m[35m (0.0ms)[0m ROLLBACK + [1m[36m (0.0ms)[0m [1mBEGIN[0m +------------------------------------------ +PagesControllerTest: test_should_show_page +------------------------------------------ + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1 + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m +Processing by PagesController#show as HTML + Parameters: {"id"=>"980190962"} + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (0.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 12:11:00' WHERE `accounts`.`id` = 980190962[0m + [1m[35m (1.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + Rendered pages/show.html.haml within layouts/admin (12.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 48ms (Views: 39.0ms | ActiveRecord: 2.0ms) + [1m[36m (1.0ms)[0m [1mROLLBACK[0m + [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m + [1m[35m (1.0ms)[0m SELECT @@FOREIGN_KEY_CHECKS + [1m[36m (0.0ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m + [1m[35m (0.0ms)[0m BEGIN + [1m[36mFixture Delete (1.0ms)[0m [1mDELETE FROM `accounts`[0m + [1m[35mFixture Insert (1.0ms)[0m INSERT INTO `accounts` (`email`, `on_hold`, `subscribed`, `created_at`, `updated_at`, `id`) VALUES ('admin@example.com', 0, 1, '2016-06-22 13:02:15', '2016-06-22 13:02:15', 980190962) + [1m[36mFixture Insert (1.1ms)[0m [1mINSERT INTO `accounts` (`email`, `on_hold`, `subscribed`, `created_at`, `updated_at`, `id`) VALUES ('two@example.com', 0, 1, '2016-06-22 13:02:15', '2016-06-22 13:02:15', 298486374)[0m + [1m[35mFixture Insert (0.0ms)[0m INSERT INTO `accounts` (`email`, `on_hold`, `subscribed`, `created_at`, `updated_at`, `id`) VALUES ('three@example.com', 0, 1, '2016-06-22 13:02:15', '2016-06-22 13:02:15', 113629430) + [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM `administrators`[0m + [1m[35mFixture Insert (1.0ms)[0m INSERT INTO `administrators` (`created_at`, `updated_at`, `id`, `account_id`) VALUES ('2016-06-22 13:02:15', '2016-06-22 13:02:15', 980190962, 980190962) + [1m[36mFixture Delete (1.0ms)[0m [1mDELETE FROM `newsletters`[0m + [1m[35mFixture Insert (0.0ms)[0m INSERT INTO `newsletters` (`subject`, `text`, `created_at`, `updated_at`, `id`) VALUES ('MyString', 'MyText', '2016-06-22 13:02:15', '2016-06-22 13:02:15', 980190962) + [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO `newsletters` (`subject`, `text`, `created_at`, `updated_at`, `id`) VALUES ('MyString', 'MyText', '2016-06-22 13:02:15', '2016-06-22 13:02:15', 298486374)[0m + [1m[35mFixture Delete (1.0ms)[0m DELETE FROM `pages` + [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO `pages` (`mode`, `link`, `position`, `enabled`, `keywords`, `url_id`, `created_at`, `updated_at`, `id`) VALUES ('page', 'MyString', 1, 0, 'MyText', 'page-1', '2016-06-22 13:02:15', '2016-06-22 13:02:15', 980190962)[0m + [1m[35mFixture Insert (0.0ms)[0m INSERT INTO `pages` (`mode`, `link`, `position`, `enabled`, `keywords`, `url_id`, `created_at`, `updated_at`, `id`) VALUES ('page', 'MyString', 2, 0, 'MyText', 'page-2', '2016-06-22 13:02:15', '2016-06-22 13:02:15', 298486374) + [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM `settings`[0m + [1m[35mFixture Insert (1.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`, `id`) VALUES ('setting1', 'value', '2016-06-22 13:02:15', '2016-06-22 13:02:15', 980190962) + [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`, `id`) VALUES ('setting2', '1', '2016-06-22 13:02:15', '2016-06-22 13:02:15', 298486374)[0m + [1m[35m (1.0ms)[0m COMMIT + [1m[36m (0.0ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m + [1m[35m (0.0ms)[0m BEGIN +------------------------------------------ +PagesControllerTest: test_should_get_index +------------------------------------------ + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1[0m + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 +Processing by PagesController#index as HTML + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (1.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:15' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` ORDER BY `pages`.`position` ASC + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 298486374 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 298486374 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + Rendered pages/index.html.haml within layouts/admin (246.2ms) + Rendered layouts/_language_selector.html.haml (5.0ms) +Completed 200 OK in 11908ms (Views: 11827.9ms | ActiveRecord: 17.0ms) + [1m[36m (1.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +---------------------------------------- +PagesControllerTest: test_should_get_new +---------------------------------------- + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1[0m + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 +Processing by PagesController#new as HTML + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (1.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:27' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + Rendered active_translation/_localed_tabs.html.haml (3.0ms) + Rendered active_translation/_localed_inputs.html.haml (23.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (31.0ms) + Rendered active_translation/_localed_inputs.html.haml (14.0ms) + Rendered pages/_form.html.haml (107.1ms) + Rendered pages/new.html.haml within layouts/admin (113.1ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 149ms (Views: 139.1ms | ActiveRecord: 4.0ms) + [1m[35m (1.0ms)[0m ROLLBACK + [1m[36m (0.0ms)[0m [1mBEGIN[0m +------------------------------------------ +PagesControllerTest: test_should_show_page +------------------------------------------ + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1 + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m +Processing by PagesController#show as HTML + Parameters: {"id"=>"980190962"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (0.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:27' WHERE `accounts`.`id` = 980190962[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + Rendered pages/show.html.haml within layouts/admin (16.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) +Completed 200 OK in 53ms (Views: 40.0ms | ActiveRecord: 2.0ms) + [1m[36m (1.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +------------------------------------------------- +PagesControllerTest: test_should_do_not_get_index +------------------------------------------------- + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1[0m + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 298486374 LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 298486374 LIMIT 1 +Processing by PagesController#index as HTML + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 298486374 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 298486374 LIMIT 1 +Redirected to http://test.host/uk +Filter chain halted as :check_administrator rendered or redirected +Completed 302 Found in 4ms (ActiveRecord: 1.0ms) + [1m[36m (0.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +-------------------------------------------- +PagesControllerTest: test_should_update_page +-------------------------------------------- + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1[0m + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 +Processing by PagesController#update as HTML + Parameters: {"page"=>{"body"=>nil, "description"=>nil, "enabled"=>false, "keywords"=>"MyText", "link"=>"MyString", "mode"=>"page", "title"=>"Existing page"}, "id"=>"980190962"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (1.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (1.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:28' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1 +Unpermitted parameter: link + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 13:02:28', '2016-06-22 13:02:28') + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'Existing page', 7, '2016-06-22 13:02:28', '2016-06-22 13:02:28')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 7 LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 7 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_id`, `translatable_type`, `attribute_name`, `phrase_id`) VALUES (980190962, 'Page', 'title', 7)[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 13:02:28', '2016-06-22 13:02:28') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 8, '2016-06-22 13:02:28', '2016-06-22 13:02:28')[0m + [1m[35mPhrase Load (1.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 8 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 8 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_id`, `translatable_type`, `attribute_name`, `phrase_id`) VALUES (980190962, 'Page', 'body', 8)[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 13:02:28', '2016-06-22 13:02:28') + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `translations` (`locale`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 9, '2016-06-22 13:02:28', '2016-06-22 13:02:28')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 9 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 9 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_id`, `translatable_type`, `attribute_name`, `phrase_id`) VALUES (980190962, 'Page', 'description', 9)[0m + [1m[35mSQL (0.0ms)[0m UPDATE `pages` SET `updated_at` = '2016-06-22 13:02:28' WHERE `pages`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM `pages` WHERE (1 = 1) AND (position = 1)[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/uk/admin/pages/980190962 +Completed 302 Found in 199ms (ActiveRecord: 43.0ms) + [1m[36m (1.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +-------------------------------------------- +PagesControllerTest: test_should_create_page +-------------------------------------------- + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1[0m + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 + [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM `pages`[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m +Processing by PagesController#create as HTML + Parameters: {"page"=>{"body"=>nil, "description"=>nil, "enabled"=>false, "keywords"=>"MyText", "link"=>"MyString", "mode"=>"page", "url_id"=>"test", "position"=>"1", "title"=>"New page"}} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1[0m + [1m[35m (1.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (1.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:28' WHERE `accounts`.`id` = 980190962[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 +Unpermitted parameter: link + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (0.0ms)[0m UPDATE `pages` SET position = (position + 1) WHERE (1 = 1) AND (position >= 1) + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `pages` (`updated_at`, `position`, `mode`, `url_id`, `enabled`, `keywords`, `created_at`) VALUES ('2016-06-22 13:02:28', 1, 'page', 'test', 0, 'MyText', '2016-06-22 13:02:28')[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190964 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 13:02:28', '2016-06-22 13:02:28')[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `translations` (`locale`, `text`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 'New page', 10, '2016-06-22 13:02:28', '2016-06-22 13:02:28') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 10 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 10 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'title', 980190964, 10) + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190964 ORDER BY `pages`.`position` ASC LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 13:02:28', '2016-06-22 13:02:28') + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `translations` (`locale`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 11, '2016-06-22 13:02:28', '2016-06-22 13:02:28')[0m + [1m[35mPhrase Load (0.0ms)[0m SELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 11 LIMIT 1 + [1m[36mTranslation Load (1.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 11 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'body', 980190964, 11)[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190964 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `phrases` (`created_at`, `updated_at`) VALUES ('2016-06-22 13:02:28', '2016-06-22 13:02:28')[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `translations` (`locale`, `phrase_id`, `created_at`, `updated_at`) VALUES ('uk', 12, '2016-06-22 13:02:28', '2016-06-22 13:02:28') + [1m[36mPhrase Load (0.0ms)[0m [1mSELECT `phrases`.* FROM `phrases` WHERE `phrases`.`id` = 12 LIMIT 1[0m + [1m[35mTranslation Load (1.0ms)[0m SELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1 + [1m[36mTranslation Load (0.0ms)[0m [1mSELECT `translations`.* FROM `translations` WHERE `translations`.`phrase_id` = 12 AND (NOT ((`translations`.`text` = '' OR `translations`.`text` IS NULL))) ORDER BY `translations`.`id` ASC LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `phrase_containers` (`translatable_type`, `attribute_name`, `translatable_id`, `phrase_id`) VALUES ('Page', 'description', 980190964, 12) + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m +Redirected to http://test.host/uk/admin/pages/980190964 +Completed 302 Found in 236ms (ActiveRecord: 12.0ms) + [1m[35m (1.0ms)[0m SELECT COUNT(*) FROM `pages` + [1m[36m (0.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +----------------------------------------- +PagesControllerTest: test_should_get_edit +----------------------------------------- + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1[0m + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 +Processing by PagesController#edit as HTML + Parameters: {"id"=>"980190962"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (0.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:28' WHERE `accounts`.`id` = 980190962 + [1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1 + Rendered active_translation/_localed_tabs.html.haml (1.0ms) + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + Rendered active_translation/_localed_inputs.html.haml (8.0ms) + Rendered active_translation/_localed_tabs_and_inputs.html.haml (9.0ms) + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + Rendered active_translation/_localed_inputs.html.haml (12.0ms) + Rendered pages/_form.html.haml (38.0ms) + Rendered pages/edit.html.haml within layouts/admin (41.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 93ms (Views: 79.1ms | ActiveRecord: 4.0ms) + [1m[35m (1.0ms)[0m ROLLBACK + [1m[36m (0.0ms)[0m [1mBEGIN[0m +--------------------------------------------- +PagesControllerTest: test_should_destroy_page +--------------------------------------------- + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1 + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m + [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM `pages` +Processing by PagesController#destroy as HTML + Parameters: {"id"=>"980190962"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (0.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:28' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1 + [1m[36mPhraseContainer Load (1.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhraseContainer Load (0.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'description' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m DELETE FROM `pages` WHERE `pages`.`id` = 980190962 + [1m[36mSQL (0.0ms)[0m [1mUPDATE `pages` SET position = (position - 1) WHERE (1 = 1) AND (position > 1)[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/uk/admin/pages +Completed 302 Found in 26ms (ActiveRecord: 3.0ms) + [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM `pages`[0m + [1m[35m (1.0ms)[0m ROLLBACK + [1m[36m (0.0ms)[0m [1mBEGIN[0m +---------------------------------------------------- +AccountsControllerTest: test_should_do_not_get_index +---------------------------------------------------- + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 298486374 LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 298486374 LIMIT 1 +Processing by AccountsController#index as HTML + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 298486374 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 298486374 LIMIT 1 +Redirected to http://test.host/uk +Filter chain halted as :check_administrator rendered or redirected +Completed 302 Found in 4ms (ActiveRecord: 0.0ms) + [1m[36m (0.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +-------------------------------------------- +AccountsControllerTest: test_should_get_edit +-------------------------------------------- + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m +Processing by AccountsController#edit as HTML + Parameters: {"id"=>"980190962"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (0.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:28' WHERE `accounts`.`id` = 980190962[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m + Rendered accounts/_form.html.haml (23.0ms) + Rendered accounts/edit.html.haml within layouts/admin (28.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 66ms (Views: 56.0ms | ActiveRecord: 0.0ms) + [1m[35m (0.0ms)[0m ROLLBACK + [1m[36m (1.0ms)[0m [1mBEGIN[0m +--------------------------------------------- +AccountsControllerTest: test_should_get_index +--------------------------------------------- + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 +Processing by AccountsController#index as HTML + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (1.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:28' WHERE `accounts`.`id` = 980190962 + [1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM `accounts` + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` ORDER BY email, `accounts`.`email` ASC LIMIT 20 OFFSET 0[0m + Rendered accounts/index.html.haml within layouts/admin (16.0ms) + Rendered layouts/_language_selector.html.haml (0.0ms) +Completed 200 OK in 48ms (Views: 35.0ms | ActiveRecord: 5.0ms) + [1m[35m (1.0ms)[0m ROLLBACK + [1m[36m (1.0ms)[0m [1mBEGIN[0m +-------------------------------------------- +AccountsControllerTest: test_should_get_show +-------------------------------------------- + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 +Processing by AccountsController#show as HTML + Parameters: {"id"=>"980190962"} + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (1.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:28' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 + Rendered accounts/show.html.haml within layouts/admin (11.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 45ms (Views: 36.0ms | ActiveRecord: 2.0ms) + [1m[36m (1.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +------------------------------------------ +FrontControllerTest: test_should_get_index +------------------------------------------ + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m +Processing by FrontController#index as HTML + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (1.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:28' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 AND `pages`.`mode` = 'anchor' ORDER BY `pages`.`position` ASC + Rendered front/index.html.haml within layouts/front (5.0ms) + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (1.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSetting Exists (0.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'title' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('title', 'Personal site', '2016-06-22 13:02:28', '2016-06-22 13:02:28') + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mSetting Load (1.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'description' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('description', 'Site of your dreams.', '2016-06-22 13:02:28', '2016-06-22 13:02:28')[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSetting Exists (0.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'keywords' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('keywords', 'site, personal site, own site', '2016-06-22 13:02:28', '2016-06-22 13:02:28') + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'site_name' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('site_name', 'Personal site', '2016-06-22 13:02:28', '2016-06-22 13:02:28')[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + Rendered layouts/_front_meta.html.haml (71.0ms) + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=980190962) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `block_versions` (`account_id`, `active`, `created_at`, `updated_at`) VALUES (980190962, 0, '2016-06-22 13:02:28', '2016-06-22 13:02:28')[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=980190962) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (0.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=980190962) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + Rendered layouts/_menu.html.haml (3.0ms) + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (2.0ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 3 + Rendered blocks/_blocks_controls.html.haml (10.0ms) + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSetting Exists (1.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'gse_id' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('gse_id', '007392588842326689376:3onw-lza4mc', '2016-06-22 13:02:29', '2016-06-22 13:02:29') + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m +Completed 200 OK in 223ms (Views: 181.1ms | ActiveRecord: 32.0ms) + [1m[35m (1.0ms)[0m ROLLBACK + [1m[36m (0.0ms)[0m [1mBEGIN[0m +----------------------------------------- +FrontControllerTest: test_should_get_page +----------------------------------------- + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 + [1m[36mPage Load (1.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`id` = 980190962 LIMIT 1[0m +Processing by FrontController#page as HTML + Parameters: {"id"=>"page-1"} + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (1.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:29' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mPage Load (0.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`url_id` = 'page-1' ORDER BY `pages`.`position` ASC LIMIT 1 + [1m[36mPhraseContainer Load (0.0ms)[0m [1mSELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'title' LIMIT 1[0m + [1m[35mPhraseContainer Load (1.0ms)[0m SELECT `phrase_containers`.* FROM `phrase_containers` WHERE `phrase_containers`.`translatable_id` = 980190962 AND `phrase_containers`.`translatable_type` = 'Page' AND `phrase_containers`.`attribute_name` = 'body' LIMIT 1 + Rendered front/page.html.haml within layouts/front (6.0ms) + Rendered layouts/_front_meta.html.haml (14.0ms) + [1m[36mAdministrator Load (0.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1[0m + [1m[35mBlock Load (1.0ms)[0m SELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'site_name' AND (block_versions.active=1 or block_versions.account_id=980190962) ORDER BY `blocks`.`id` DESC LIMIT 1 + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `block_versions` (`account_id`, `active`, `created_at`, `updated_at`) VALUES (980190962, 0, '2016-06-22 13:02:29', '2016-06-22 13:02:29')[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'contacts' AND (block_versions.active=1 or block_versions.account_id=980190962) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mBlock Load (1.0ms)[0m [1mSELECT `blocks`.* FROM `blocks` INNER JOIN `block_versions` ON `block_versions`.`id` = `blocks`.`block_version_id` WHERE `blocks`.`key` = 'summary' AND (block_versions.active=1 or block_versions.account_id=980190962) ORDER BY `blocks`.`id` DESC LIMIT 1[0m + [1m[35mBlockVersion Load (0.0ms)[0m SELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1 + [1m[36mPage Load (0.0ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC[0m + Rendered layouts/_menu.html.haml (2.0ms) + [1m[35mPage Load (1.0ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`enabled` = 1 ORDER BY `pages`.`position` ASC + Rendered layouts/_menu.html.haml (1.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) + [1m[36mBlockVersion Load (0.0ms)[0m [1mSELECT `block_versions`.* FROM `block_versions` WHERE `block_versions`.`account_id` = 980190962 ORDER BY `block_versions`.`id` DESC LIMIT 1[0m + [1m[35mBlock Load (0.0ms)[0m SELECT `blocks`.* FROM `blocks` WHERE `blocks`.`block_version_id` = 4 + Rendered blocks/_blocks_controls.html.haml (3.0ms) +Completed 200 OK in 70ms (Views: 56.0ms | ActiveRecord: 6.0ms) + [1m[36m (1.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +--------------------------------------------- +SettingsControllerTest: test_should_get_index +--------------------------------------------- + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`id` = 980190962 LIMIT 1[0m + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 +Processing by SettingsController#index as HTML + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (0.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:29' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'site_name' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'site_name' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('site_name', 'Personal site', '2016-06-22 13:02:29', '2016-06-22 13:02:29')[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'title' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSetting Exists (0.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'title' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('title', 'Personal site', '2016-06-22 13:02:29', '2016-06-22 13:02:29') + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'description' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'description' LIMIT 1 + [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('description', 'Site of your dreams.', '2016-06-22 13:02:29', '2016-06-22 13:02:29')[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'keywords' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSetting Exists (0.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'keywords' LIMIT 1[0m + [1m[35mSQL (0.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('keywords', 'site, personal site, own site', '2016-06-22 13:02:29', '2016-06-22 13:02:29') + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'gse_id' ORDER BY `settings`.`name` ASC LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'gse_id' LIMIT 1 + [1m[36mSQL (0.0ms)[0m [1mINSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('gse_id', '007392588842326689376:3onw-lza4mc', '2016-06-22 13:02:29', '2016-06-22 13:02:29')[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + [1m[36mSetting Load (0.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'google_analytics_id' ORDER BY `settings`.`name` ASC LIMIT 1[0m + [1m[35m (1.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSetting Exists (1.0ms)[0m [1mSELECT 1 AS one FROM `settings` WHERE `settings`.`name` = BINARY 'google_analytics_id' LIMIT 1[0m + [1m[35mSQL (1.0ms)[0m INSERT INTO `settings` (`name`, `value`, `created_at`, `updated_at`) VALUES ('google_analytics_id', 'UA-63039804-12', '2016-06-22 13:02:29', '2016-06-22 13:02:29') + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` ORDER BY `settings`.`name` ASC + Rendered settings/index.html.haml within layouts/admin (16.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 102ms (Views: 64.0ms | ActiveRecord: 7.0ms) + [1m[36m (0.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +-------------------------------------------------- +SettingsControllerTest: test_should_update_setting +-------------------------------------------------- + [1m[36mSetting Load (1.0ms)[0m [1mSELECT `settings`.* FROM `settings` WHERE `settings`.`id` = 980190962 LIMIT 1[0m + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 +Processing by SettingsController#update as HTML + Parameters: {"setting"=>{"name"=>"setting1", "value"=>"value"}, "id"=>"980190962"} + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1 + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSQL (1.0ms)[0m UPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:29' WHERE `accounts`.`id` = 980190962 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m + [1m[35mSetting Load (0.0ms)[0m SELECT `settings`.* FROM `settings` WHERE `settings`.`id` = 980190962 ORDER BY `settings`.`name` ASC LIMIT 1 +Unpermitted parameter: name + [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m + [1m[35mSetting Exists (0.0ms)[0m SELECT 1 AS one FROM `settings` WHERE (`settings`.`name` = BINARY 'setting1' AND `settings`.`id` != 980190962) LIMIT 1 + [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m +Redirected to http://test.host/uk/admin/settings +Completed 302 Found in 13ms (ActiveRecord: 2.0ms) + [1m[35m (1.0ms)[0m ROLLBACK + [1m[36m (1.0ms)[0m [1mBEGIN[0m +------------------------------------------------- +AdminControllerTest: test_should_do_not_get_index +------------------------------------------------- + [1m[35mAccount Load (1.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1 + [1m[36mAccount Load (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 298486374 LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 298486374 LIMIT 1 +Processing by AdminController#index as HTML + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 298486374 ORDER BY `accounts`.`id` ASC LIMIT 1[0m + [1m[35mAdministrator Load (0.0ms)[0m SELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 298486374 LIMIT 1 +Redirected to http://test.host/uk +Filter chain halted as :check_administrator rendered or redirected +Completed 302 Found in 4ms (ActiveRecord: 1.0ms) + [1m[36m (0.0ms)[0m [1mROLLBACK[0m + [1m[35m (0.0ms)[0m BEGIN +------------------------------------------ +AdminControllerTest: test_should_get_index +------------------------------------------ + [1m[36mAccount Load (1.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 LIMIT 1[0m +Processing by AdminController#index as HTML + [1m[35mAccount Load (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 980190962 ORDER BY `accounts`.`id` ASC LIMIT 1 + [1m[36mAdministrator Load (1.0ms)[0m [1mSELECT `administrators`.* FROM `administrators` WHERE `administrators`.`account_id` = 980190962 LIMIT 1[0m + [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 + [1m[36mSQL (0.0ms)[0m [1mUPDATE `accounts` SET `locale` = 'uk', `updated_at` = '2016-06-22 13:02:29' WHERE `accounts`.`id` = 980190962[0m + [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 + Rendered admin/index.html.haml within layouts/admin (2.0ms) + Rendered layouts/_language_selector.html.haml (1.0ms) +Completed 200 OK in 35ms (Views: 25.0ms | ActiveRecord: 1.0ms) + [1m[36m (1.0ms)[0m [1mROLLBACK[0m diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..b612547 --- /dev/null +++ b/public/404.html @@ -0,0 +1,67 @@ +<!DOCTYPE html> +<html> +<head> + <title>The page you were looking for doesn't exist (404)</title> + <meta name="viewport" content="width=device-width,initial-scale=1"> + <style> + body { + background-color: #EFEFEF; + color: #2E2F30; + text-align: center; + font-family: arial, sans-serif; + margin: 0; + } + + div.dialog { + width: 95%; + max-width: 33em; + margin: 4em auto 0; + } + + div.dialog > div { + border: 1px solid #CCC; + border-right-color: #999; + border-left-color: #999; + border-bottom-color: #BBB; + border-top: #B00100 solid 4px; + border-top-left-radius: 9px; + border-top-right-radius: 9px; + background-color: white; + padding: 7px 12% 0; + box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); + } + + h1 { + font-size: 100%; + color: #730E15; + line-height: 1.5em; + } + + div.dialog > p { + margin: 0 0 1em; + padding: 1em; + background-color: #F7F7F7; + border: 1px solid #CCC; + border-right-color: #999; + border-left-color: #999; + border-bottom-color: #999; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + border-top-color: #DADADA; + color: #666; + box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); + } + </style> +</head> + +<body> + <!-- This file lives in public/404.html --> + <div class="dialog"> + <div> + <h1>The page you were looking for doesn't exist.</h1> + <p>You may have mistyped the address or the page may have moved.</p> + </div> + <p>If you are the application owner check the logs for more information.</p> + </div> +</body> +</html> diff --git a/public/422.html b/public/422.html new file mode 100644 index 0000000..a21f82b --- /dev/null +++ b/public/422.html @@ -0,0 +1,67 @@ +<!DOCTYPE html> +<html> +<head> + <title>The change you wanted was rejected (422)</title> + <meta name="viewport" content="width=device-width,initial-scale=1"> + <style> + body { + background-color: #EFEFEF; + color: #2E2F30; + text-align: center; + font-family: arial, sans-serif; + margin: 0; + } + + div.dialog { + width: 95%; + max-width: 33em; + margin: 4em auto 0; + } + + div.dialog > div { + border: 1px solid #CCC; + border-right-color: #999; + border-left-color: #999; + border-bottom-color: #BBB; + border-top: #B00100 solid 4px; + border-top-left-radius: 9px; + border-top-right-radius: 9px; + background-color: white; + padding: 7px 12% 0; + box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); + } + + h1 { + font-size: 100%; + color: #730E15; + line-height: 1.5em; + } + + div.dialog > p { + margin: 0 0 1em; + padding: 1em; + background-color: #F7F7F7; + border: 1px solid #CCC; + border-right-color: #999; + border-left-color: #999; + border-bottom-color: #999; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + border-top-color: #DADADA; + color: #666; + box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); + } + </style> +</head> + +<body> + <!-- This file lives in public/422.html --> + <div class="dialog"> + <div> + <h1>The change you wanted was rejected.</h1> + <p>Maybe you tried to change something you didn't have access to.</p> + </div> + <p>If you are the application owner check the logs for more information.</p> + </div> +</body> +</html> diff --git a/public/500.html b/public/500.html new file mode 100644 index 0000000..061abc5 --- /dev/null +++ b/public/500.html @@ -0,0 +1,66 @@ +<!DOCTYPE html> +<html> +<head> + <title>We're sorry, but something went wrong (500)</title> + <meta name="viewport" content="width=device-width,initial-scale=1"> + <style> + body { + background-color: #EFEFEF; + color: #2E2F30; + text-align: center; + font-family: arial, sans-serif; + margin: 0; + } + + div.dialog { + width: 95%; + max-width: 33em; + margin: 4em auto 0; + } + + div.dialog > div { + border: 1px solid #CCC; + border-right-color: #999; + border-left-color: #999; + border-bottom-color: #BBB; + border-top: #B00100 solid 4px; + border-top-left-radius: 9px; + border-top-right-radius: 9px; + background-color: white; + padding: 7px 12% 0; + box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); + } + + h1 { + font-size: 100%; + color: #730E15; + line-height: 1.5em; + } + + div.dialog > p { + margin: 0 0 1em; + padding: 1em; + background-color: #F7F7F7; + border: 1px solid #CCC; + border-right-color: #999; + border-left-color: #999; + border-bottom-color: #999; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + border-top-color: #DADADA; + color: #666; + box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); + } + </style> +</head> + +<body> + <!-- This file lives in public/500.html --> + <div class="dialog"> + <div> + <h1>We're sorry, but something went wrong.</h1> + </div> + <p>If you are the application owner check the logs for more information.</p> + </div> +</body> +</html> diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..e69de29 diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..3c9c7c0 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,5 @@ +# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file +# +# To ban all spiders from the entire site uncomment the next two lines: +# User-agent: * +# Disallow: / diff --git a/test/controllers/.keep b/test/controllers/.keep new file mode 100644 index 0000000..e69de29 diff --git a/test/controllers/accounts_controller_test.rb b/test/controllers/accounts_controller_test.rb new file mode 100644 index 0000000..07b3289 --- /dev/null +++ b/test/controllers/accounts_controller_test.rb @@ -0,0 +1,27 @@ +require 'test_helper' + +class AccountsControllerTest < ActionController::TestCase + test 'should get index' do + get :index + assert_response :success + end + + test 'should do not get index' do + account = accounts(:two) + assert_nil account.administrator + sign_in account + get :index + assert_redirected_to root_url + end + + test 'should get show' do + get :show, id: accounts(:one) + assert_response :success + end + + test 'should get edit' do + get :edit, id: accounts(:one) + assert_response :success + end + +end diff --git a/test/controllers/admin_controller_test.rb b/test/controllers/admin_controller_test.rb new file mode 100644 index 0000000..dd56e8d --- /dev/null +++ b/test/controllers/admin_controller_test.rb @@ -0,0 +1,17 @@ +require 'test_helper' + +class AdminControllerTest < ActionController::TestCase + test 'should get index' do + get :index + assert_response :success + end + + test 'should do not get index' do + account = accounts(:two) + assert_nil account.administrator + sign_in account + get :index + assert_redirected_to root_url + end + +end diff --git a/test/controllers/front_controller_test.rb b/test/controllers/front_controller_test.rb new file mode 100644 index 0000000..18d08a1 --- /dev/null +++ b/test/controllers/front_controller_test.rb @@ -0,0 +1,14 @@ +require 'test_helper' + +class FrontControllerTest < ActionController::TestCase + test 'should get index' do + get :index + assert_response :success + end + + test 'should get page' do + get :page, id: pages(:one).url_id + assert_response :success + end + +end diff --git a/test/controllers/pages_controller_test.rb b/test/controllers/pages_controller_test.rb new file mode 100644 index 0000000..eeb0686 --- /dev/null +++ b/test/controllers/pages_controller_test.rb @@ -0,0 +1,60 @@ +require 'test_helper' + +class PagesControllerTest < ActionController::TestCase + setup do + @page = pages(:one) + end + + test 'should get index' do + get :index + assert_response :success + assert_not_nil assigns(:pages) + end + + test 'should do not get index' do + account = accounts(:two) + assert_nil account.administrator + sign_in account + get :index + assert_redirected_to root_url + end + + test 'should get new' do + get :new + assert_response :success + end + + test 'should create page' do + assert_difference('Page.count') do + post :create, page: { body: @page.body, description: @page.description, enabled: @page.enabled, + keywords: @page.keywords, link: @page.link, mode: @page.mode, url_id: 'test', + position: @page.position, title: 'New page' } + end + + assert_redirected_to page_path(assigns(:page)) + end + + test 'should show page' do + get :show, id: @page + assert_response :success + end + + test 'should get edit' do + get :edit, id: @page + assert_response :success + end + + test 'should update page' do + patch :update, id: @page, page: { body: @page.body, description: @page.description, enabled: @page.enabled, + keywords: @page.keywords, link: @page.link, mode: @page.mode, title: 'Existing page' } + assert_redirected_to page_path(assigns(:page)) + end + + test 'should destroy page' do + assert_difference('Page.count', -1) do + delete :destroy, id: @page + end + + assert_redirected_to pages_path + end +end diff --git a/test/controllers/settings_controller_test.rb b/test/controllers/settings_controller_test.rb new file mode 100644 index 0000000..f96596f --- /dev/null +++ b/test/controllers/settings_controller_test.rb @@ -0,0 +1,19 @@ +require 'test_helper' + +class SettingsControllerTest < ActionController::TestCase + setup do + @setting = settings(:one) + end + + test 'should get index' do + get :index + assert_response :success + assert_not_nil assigns(:settings) + end + + test 'should update setting' do + patch :update, id: @setting, setting: { name: @setting.name, value: @setting.value } + assert_redirected_to settings_path + end + +end diff --git a/test/fixtures/.keep b/test/fixtures/.keep new file mode 100644 index 0000000..e69de29 diff --git a/test/fixtures/accounts.yml b/test/fixtures/accounts.yml new file mode 100644 index 0000000..a8d5b5b --- /dev/null +++ b/test/fixtures/accounts.yml @@ -0,0 +1,14 @@ +one: + email: 'admin@example.com' + on_hold: false + subscribed: true + +two: + email: 'two@example.com' + on_hold: false + subscribed: true + +three: + email: 'three@example.com' + on_hold: false + subscribed: true diff --git a/test/fixtures/administrators.yml b/test/fixtures/administrators.yml new file mode 100644 index 0000000..2978ad8 --- /dev/null +++ b/test/fixtures/administrators.yml @@ -0,0 +1,2 @@ +one: + account: one diff --git a/test/fixtures/files/test.png b/test/fixtures/files/test.png new file mode 100644 index 0000000000000000000000000000000000000000..c40d79d1bab4143993cdbd5a20e6f49a406c5393 GIT binary patch literal 930 zcmaJ=O^=g67$(-ky0LflG+|FB76vLsCdH<O)+I{Qw2j-N6sB9!g~4Gew5N?HJ$Ues zcsB8%CSLaL$@m}q119UxEnN>*l3_mbJkR^Q@4WMN(0@`rymu%FLe)98hkQOL#=#B# ze;VEY$)~%lJ7FU-W0^;>&<@BH11IuM@eq5#>g5G)3PJ^h;|ZI%&yY_d$ty5Y9wnSD z2+dZWc>V%2FvX`~Y>K}=eHK9&nBs}%LN~GSJUm`gJX-h1{(9jXf!KNsnmOVE5oR99 zqq8_gxhZaR5nmU_vIsU1wlKvjQxkUpEJ88RBv|ud1A>MkDfNfCu0H@ORG<u1Sy5|> zj_N9c5Ntn@N29?E4ej1G7T=lToUsJSa+YOMR+k7pl@-G<3Jq1QaYQX$#mviVae7oL z*f{lRn6Qw<piuOtWXVjCJH1LFN_Mhwx-Angn4EiwtVpm(sRX+2|DjQ|L#J$rul@d0 zI32GNEDv!?mel7LH#;gqCCH-KV}y<gIV-C;m=i|QIZ1#u(!fa=2P8{3XxBwfoH8%= zv16Me=SyK2Aib?Tf_ld?dYYvuU9AHfYEOeu(T#4`Zrdf-CjK(QF)O*jHP_zDEgB(8 zcw`&X@D&bvltf^YFbem3Y46qBa)bR|I(xY?HzOC<`qwp=N4$56<*sS@X4m#O=DkjN zQ@?+A@s&S_JC5BR=Rc;uFE3k_#+PsBmD~MW=R!qz{=HIt^D($tyc(z5w?A}Vy#53B CtsM{m literal 0 HcmV?d00001 diff --git a/test/fixtures/newsletters.yml b/test/fixtures/newsletters.yml new file mode 100644 index 0000000..233d4bb --- /dev/null +++ b/test/fixtures/newsletters.yml @@ -0,0 +1,7 @@ +one: + subject: MyString + text: MyText + +two: + subject: MyString + text: MyText diff --git a/test/fixtures/pages.yml b/test/fixtures/pages.yml new file mode 100644 index 0000000..fcca2a9 --- /dev/null +++ b/test/fixtures/pages.yml @@ -0,0 +1,15 @@ +one: + mode: page + link: MyString + position: 1 + enabled: false + keywords: MyText + url_id: page-1 + +two: + mode: page + link: MyString + position: 2 + enabled: false + keywords: MyText + url_id: page-2 diff --git a/test/fixtures/settings.yml b/test/fixtures/settings.yml new file mode 100644 index 0000000..8e269ff --- /dev/null +++ b/test/fixtures/settings.yml @@ -0,0 +1,7 @@ +one: + name: setting1 + value: value + +two: + name: setting2 + value: 1 diff --git a/test/helpers/.keep b/test/helpers/.keep new file mode 100644 index 0000000..e69de29 diff --git a/test/integration/.keep b/test/integration/.keep new file mode 100644 index 0000000..e69de29 diff --git a/test/mailers/.keep b/test/mailers/.keep new file mode 100644 index 0000000..e69de29 diff --git a/test/models/.keep b/test/models/.keep new file mode 100644 index 0000000..e69de29 diff --git a/test/models/account_test.rb b/test/models/account_test.rb new file mode 100644 index 0000000..6d1e104 --- /dev/null +++ b/test/models/account_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class AccountTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/models/administrator_test.rb b/test/models/administrator_test.rb new file mode 100644 index 0000000..7613709 --- /dev/null +++ b/test/models/administrator_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class AdministratorTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/models/newsletter_test.rb b/test/models/newsletter_test.rb new file mode 100644 index 0000000..4466ff3 --- /dev/null +++ b/test/models/newsletter_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class NewsletterTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/models/page_test.rb b/test/models/page_test.rb new file mode 100644 index 0000000..e7400b9 --- /dev/null +++ b/test/models/page_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class PageTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/models/setting_test.rb b/test/models/setting_test.rb new file mode 100644 index 0000000..2d91c71 --- /dev/null +++ b/test/models/setting_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class SettingTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/test_helper.rb b/test/test_helper.rb new file mode 100644 index 0000000..9eb3be6 --- /dev/null +++ b/test/test_helper.rb @@ -0,0 +1,19 @@ +ENV['RAILS_ENV'] ||= 'test' +require File.expand_path('../../config/environment', __FILE__) +require 'rails/test_help' + +class ActiveSupport::TestCase + # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. + fixtures :all + + # Add more helper methods to be used by all tests here... +end + +class ActionController::TestCase + include Devise::TestHelpers + + def setup + # @request.env["devise.mapping"] = Devise.mappings[:admin] + sign_in accounts(:one) + end +end diff --git a/vendor/assets/javascripts/.keep b/vendor/assets/javascripts/.keep new file mode 100644 index 0000000..e69de29 diff --git a/vendor/assets/stylesheets/.keep b/vendor/assets/stylesheets/.keep new file mode 100644 index 0000000..e69de29 -- 2.21.0