sunrise-locales 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +36 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +15 -0
- data/Rakefile +27 -0
- data/app/controllers/manage/locales_controller.rb +43 -0
- data/app/views/manage/locales/_locale.html.erb +21 -0
- data/app/views/manage/locales/edit.html.erb +101 -0
- data/app/views/manage/locales/index.html.erb +24 -0
- data/config/locales/ru.yml +20 -0
- data/config/locales/uk.yml +20 -0
- data/config/routes.rb +5 -0
- data/lib/generators/sunrise/locales/USAGE +6 -0
- data/lib/generators/sunrise/locales/install_generator.rb +20 -0
- data/lib/generators/sunrise/locales/templates/codemirror.css +107 -0
- data/lib/generators/sunrise/locales/templates/codemirror.js +2157 -0
- data/lib/generators/sunrise/locales/templates/yaml.js +95 -0
- data/lib/sunrise-locales.rb +1 -0
- data/lib/sunrise/locales.rb +13 -0
- data/lib/sunrise/locales/engine.rb +19 -0
- data/lib/sunrise/locales/version.rb +5 -0
- data/lib/sunrise/locales/yml_locale.rb +43 -0
- data/spec/controllers/manage/locales_controller_spec.rb +59 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/helpers/manage/assets_helper.rb +2 -0
- data/spec/dummy/app/helpers/manage/base_helper.rb +81 -0
- data/spec/dummy/app/helpers/manage/pages_helper.rb +2 -0
- data/spec/dummy/app/helpers/manage/settings_helper.rb +2 -0
- data/spec/dummy/app/helpers/manage/structures_helper.rb +12 -0
- data/spec/dummy/app/helpers/manage/users_helper.rb +6 -0
- data/spec/dummy/app/models/defaults/ability.rb +39 -0
- data/spec/dummy/app/models/defaults/asset.rb +9 -0
- data/spec/dummy/app/models/defaults/attachment_file.rb +31 -0
- data/spec/dummy/app/models/defaults/avatar.rb +33 -0
- data/spec/dummy/app/models/defaults/header.rb +5 -0
- data/spec/dummy/app/models/defaults/page.rb +5 -0
- data/spec/dummy/app/models/defaults/picture.rb +31 -0
- data/spec/dummy/app/models/defaults/position_type.rb +7 -0
- data/spec/dummy/app/models/defaults/role.rb +20 -0
- data/spec/dummy/app/models/defaults/role_type.rb +8 -0
- data/spec/dummy/app/models/defaults/structure.rb +16 -0
- data/spec/dummy/app/models/defaults/structure_type.rb +9 -0
- data/spec/dummy/app/models/defaults/user.rb +47 -0
- data/spec/dummy/app/uploaders/attachment_file_uploader.rb +5 -0
- data/spec/dummy/app/uploaders/avatar_uploader.rb +17 -0
- data/spec/dummy/app/uploaders/picture_uploader.rb +17 -0
- data/spec/dummy/app/views/layouts/application.html.erb +37 -0
- data/spec/dummy/app/views/pages/show.html.erb +2 -0
- data/spec/dummy/app/views/shared/_notice.html.erb +17 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +46 -0
- data/spec/dummy/config/application.yml.sample +4 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +22 -0
- data/spec/dummy/config/database.yml.sample +34 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +26 -0
- data/spec/dummy/config/environments/production.rb +49 -0
- data/spec/dummy/config/environments/test.rb +35 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/devise.rb +204 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/simple_form.rb +93 -0
- data/spec/dummy/config/initializers/sunrise.rb +9 -0
- data/spec/dummy/config/locales/devise.en.yml +53 -0
- data/spec/dummy/config/locales/en.yml +3 -0
- data/spec/dummy/config/locales/ru.yml +3 -0
- data/spec/dummy/config/locales/simple_form.en.yml +24 -0
- data/spec/dummy/config/locales/uk.yml +2 -0
- data/spec/dummy/config/logrotate-config.sample +9 -0
- data/spec/dummy/config/nginx-config-passenger.sample +51 -0
- data/spec/dummy/config/routes.rb +64 -0
- data/spec/dummy/db/migrate/20110801124809_sunrise_create_users.rb +29 -0
- data/spec/dummy/db/migrate/20110801124909_sunrise_create_roles.rb +16 -0
- data/spec/dummy/db/migrate/20110801125009_sunrise_create_structures.rb +27 -0
- data/spec/dummy/db/migrate/20110801125109_sunrise_create_pages.rb +17 -0
- data/spec/dummy/db/migrate/20110801125209_sunrise_create_assets.rb +28 -0
- data/spec/dummy/db/migrate/20110801125309_sunrise_create_headers.rb +20 -0
- data/spec/dummy/db/seeds.rb +25 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/templates/erb/scaffold/_form.html.erb +13 -0
- data/spec/dummy/log/test.log +1678 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/images/manage/add_post_bot.gif +0 -0
- data/spec/dummy/public/images/manage/add_post_top.gif +0 -0
- data/spec/dummy/public/images/manage/add_white_bot.gif +0 -0
- data/spec/dummy/public/images/manage/add_white_top.gif +0 -0
- data/spec/dummy/public/images/manage/arrow.png +0 -0
- data/spec/dummy/public/images/manage/back_but_lc.gif +0 -0
- data/spec/dummy/public/images/manage/back_but_rc.gif +0 -0
- data/spec/dummy/public/images/manage/bot_corn.gif +0 -0
- data/spec/dummy/public/images/manage/bot_duo_corn.gif +0 -0
- data/spec/dummy/public/images/manage/but_bg.png +0 -0
- data/spec/dummy/public/images/manage/but_block_lc.gif +0 -0
- data/spec/dummy/public/images/manage/but_block_rc.gif +0 -0
- data/spec/dummy/public/images/manage/but_freze_lc.gif +0 -0
- data/spec/dummy/public/images/manage/but_freze_rc.gif +0 -0
- data/spec/dummy/public/images/manage/but_gr.gif +0 -0
- data/spec/dummy/public/images/manage/but_gr_l.gif +0 -0
- data/spec/dummy/public/images/manage/but_gr_r.gif +0 -0
- data/spec/dummy/public/images/manage/but_search.gif +0 -0
- data/spec/dummy/public/images/manage/but_unfreze_lc.gif +0 -0
- data/spec/dummy/public/images/manage/but_unfreze_rc.gif +0 -0
- data/spec/dummy/public/images/manage/button_add_foto.gif +0 -0
- data/spec/dummy/public/images/manage/button_add_foto_ru.gif +0 -0
- data/spec/dummy/public/images/manage/button_add_foto_ua.gif +0 -0
- data/spec/dummy/public/images/manage/button_add_foto_uk.gif +0 -0
- data/spec/dummy/public/images/manage/cancelbutton.gif +0 -0
- data/spec/dummy/public/images/manage/dark_arr.gif +0 -0
- data/spec/dummy/public/images/manage/dark_arr_left.gif +0 -0
- data/spec/dummy/public/images/manage/dark_cross_ico.gif +0 -0
- data/spec/dummy/public/images/manage/dot.gif +0 -0
- data/spec/dummy/public/images/manage/duo_bg.gif +0 -0
- data/spec/dummy/public/images/manage/duo_bg_small.gif +0 -0
- data/spec/dummy/public/images/manage/duo_bg_small_blocked.gif +0 -0
- data/spec/dummy/public/images/manage/duo_bg_small_frozed.gif +0 -0
- data/spec/dummy/public/images/manage/duo_bg_small_notact.gif +0 -0
- data/spec/dummy/public/images/manage/duo_bot_small.gif +0 -0
- data/spec/dummy/public/images/manage/duo_bot_small_blocked.gif +0 -0
- data/spec/dummy/public/images/manage/duo_bot_small_frozed.gif +0 -0
- data/spec/dummy/public/images/manage/duo_bot_small_notact.gif +0 -0
- data/spec/dummy/public/images/manage/duo_top_small.gif +0 -0
- data/spec/dummy/public/images/manage/duo_top_small_blocked.gif +0 -0
- data/spec/dummy/public/images/manage/duo_top_small_frozed.gif +0 -0
- data/spec/dummy/public/images/manage/duo_top_small_notact.gif +0 -0
- data/spec/dummy/public/images/manage/edit_white_top.gif +0 -0
- data/spec/dummy/public/images/manage/empty.gif +0 -0
- data/spec/dummy/public/images/manage/filter_bot_bg.gif +0 -0
- data/spec/dummy/public/images/manage/filter_top_bg.gif +0 -0
- data/spec/dummy/public/images/manage/flag_en.gif +0 -0
- data/spec/dummy/public/images/manage/flag_en_nonact.gif +0 -0
- data/spec/dummy/public/images/manage/flag_ru.gif +0 -0
- data/spec/dummy/public/images/manage/flag_ru_nonact.gif +0 -0
- data/spec/dummy/public/images/manage/flag_ua.gif +0 -0
- data/spec/dummy/public/images/manage/flag_ua_nonact.gif +0 -0
- data/spec/dummy/public/images/manage/foto.jpg +0 -0
- data/spec/dummy/public/images/manage/ico_add.gif +0 -0
- data/spec/dummy/public/images/manage/ico_del.gif +0 -0
- data/spec/dummy/public/images/manage/ico_down.gif +0 -0
- data/spec/dummy/public/images/manage/ico_edit.gif +0 -0
- data/spec/dummy/public/images/manage/ico_settings.gif +0 -0
- data/spec/dummy/public/images/manage/ico_up.gif +0 -0
- data/spec/dummy/public/images/manage/input_bg.gif +0 -0
- data/spec/dummy/public/images/manage/l_but_corn.gif +0 -0
- data/spec/dummy/public/images/manage/minimise_but.gif +0 -0
- data/spec/dummy/public/images/manage/mp3.png +0 -0
- data/spec/dummy/public/images/manage/page_arr_hover.png +0 -0
- data/spec/dummy/public/images/manage/page_next_arr.gif +0 -0
- data/spec/dummy/public/images/manage/page_num_hover.gif +0 -0
- data/spec/dummy/public/images/manage/page_prev_arr.gif +0 -0
- data/spec/dummy/public/images/manage/panel/l_but_corn.gif +0 -0
- data/spec/dummy/public/images/manage/panel/maximise_but.gif +0 -0
- data/spec/dummy/public/images/manage/panel/r_but_corn.gif +0 -0
- data/spec/dummy/public/images/manage/panel/top_menu_arr.gif +0 -0
- data/spec/dummy/public/images/manage/panel/user_pic.gif +0 -0
- data/spec/dummy/public/images/manage/preloader.gif +0 -0
- data/spec/dummy/public/images/manage/r_but_corn.gif +0 -0
- data/spec/dummy/public/images/manage/select_bg.gif +0 -0
- data/spec/dummy/public/images/manage/select_corn.gif +0 -0
- data/spec/dummy/public/images/manage/struct_corn_lg.gif +0 -0
- data/spec/dummy/public/images/manage/struct_corn_llg.gif +0 -0
- data/spec/dummy/public/images/manage/struct_corn_lw.gif +0 -0
- data/spec/dummy/public/images/manage/struct_corn_rg.gif +0 -0
- data/spec/dummy/public/images/manage/struct_corn_rlg.gif +0 -0
- data/spec/dummy/public/images/manage/struct_corn_rw.gif +0 -0
- data/spec/dummy/public/images/manage/tab_gl.gif +0 -0
- data/spec/dummy/public/images/manage/tab_gr.gif +0 -0
- data/spec/dummy/public/images/manage/tab_wl.gif +0 -0
- data/spec/dummy/public/images/manage/tab_wr.gif +0 -0
- data/spec/dummy/public/images/manage/top_corn.gif +0 -0
- data/spec/dummy/public/images/manage/top_duo_corn.gif +0 -0
- data/spec/dummy/public/images/manage/top_menu_arr.gif +0 -0
- data/spec/dummy/public/images/manage/transp_cross.png +0 -0
- data/spec/dummy/public/images/manage/upload_progress.gif +0 -0
- data/spec/dummy/public/images/manage/user_act_lc.gif +0 -0
- data/spec/dummy/public/images/manage/user_act_rc.gif +0 -0
- data/spec/dummy/public/images/manage/user_ico.gif +0 -0
- data/spec/dummy/public/images/manage/user_pic.gif +0 -0
- data/spec/dummy/public/images/manage/user_pic_small.gif +0 -0
- data/spec/dummy/public/images/manage/user_pic_thumb.gif +0 -0
- data/spec/dummy/public/javascripts/application.js +2 -0
- data/spec/dummy/public/javascripts/controls.js +965 -0
- data/spec/dummy/public/javascripts/datepicker/jquery-ui-i18n.js +1176 -0
- data/spec/dummy/public/javascripts/datepicker/jquery.ui.datepicker-ru.js +37 -0
- data/spec/dummy/public/javascripts/datepicker/jquery.ui.datepicker-uk.js +37 -0
- data/spec/dummy/public/javascripts/dragdrop.js +974 -0
- data/spec/dummy/public/javascripts/effects.js +1123 -0
- data/spec/dummy/public/javascripts/fileupload/fileuploader-input.js +217 -0
- data/spec/dummy/public/javascripts/fileupload/fileuploader.css +31 -0
- data/spec/dummy/public/javascripts/fileupload/fileuploader.js +1288 -0
- data/spec/dummy/public/javascripts/jquery-ui-timepicker-addon.js +911 -0
- data/spec/dummy/public/javascripts/jquery.cookie.js +97 -0
- data/spec/dummy/public/javascripts/jquery.fancybox-1.3.4.pack.js +46 -0
- data/spec/dummy/public/javascripts/jquery.tmpl.min.js +10 -0
- data/spec/dummy/public/javascripts/manage-fileuploader.js +182 -0
- data/spec/dummy/public/javascripts/manage.js +294 -0
- data/spec/dummy/public/javascripts/preloader.js +47 -0
- data/spec/dummy/public/javascripts/prototype.js +6001 -0
- data/spec/dummy/public/javascripts/rails.js +331 -0
- data/spec/dummy/public/stylesheets/application.css +1 -0
- data/spec/dummy/public/stylesheets/fancybox/images/blank.gif +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_close.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_loading.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_nav_left.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_nav_right.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_shadow_e.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_shadow_n.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_shadow_ne.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_shadow_nw.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_shadow_s.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_shadow_se.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_shadow_sw.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_shadow_w.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_title_left.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_title_main.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_title_over.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancy_title_right.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancybox-x.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancybox-y.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/images/fancybox.png +0 -0
- data/spec/dummy/public/stylesheets/fancybox/jquery.fancybox-1.3.4.css +359 -0
- data/spec/dummy/public/stylesheets/manage/buttons.css +42 -0
- data/spec/dummy/public/stylesheets/manage/ie.css +16 -0
- data/spec/dummy/public/stylesheets/manage/main.css +1108 -0
- data/spec/dummy/public/stylesheets/manage/panel.css +126 -0
- data/spec/dummy/public/stylesheets/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/spec/dummy/public/stylesheets/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/spec/dummy/public/stylesheets/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/spec/dummy/public/stylesheets/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/spec/dummy/public/stylesheets/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/spec/dummy/public/stylesheets/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/spec/dummy/public/stylesheets/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/spec/dummy/public/stylesheets/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/spec/dummy/public/stylesheets/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/spec/dummy/public/stylesheets/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/spec/dummy/public/stylesheets/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/spec/dummy/public/stylesheets/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/spec/dummy/public/stylesheets/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/spec/dummy/public/stylesheets/smoothness/jquery-ui-1.8.13.custom.css +578 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/factories/structure_factory.rb +22 -0
- data/spec/factories/user_factory.rb +48 -0
- data/spec/generators/install_generator_spec.rb +18 -0
- data/spec/integration/navigation_spec.rb +9 -0
- data/spec/spec.opts +2 -0
- data/spec/spec_helper.rb +57 -0
- data/spec/sunrise_locales_spec.rb +7 -0
- data/spec/support/helpers/controller_macros.rb +40 -0
- data/spec/tmp/public/javascripts/codemirror.js +2157 -0
- data/spec/tmp/public/javascripts/yaml.js +95 -0
- data/spec/tmp/public/stylesheets/codemirror.css +107 -0
- metadata +575 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
en:
|
2
|
+
simple_form:
|
3
|
+
"yes": 'Yes'
|
4
|
+
"no": 'No'
|
5
|
+
required:
|
6
|
+
text: 'required'
|
7
|
+
mark: '*'
|
8
|
+
# You can uncomment the line below if you need to overwrite the whole required html.
|
9
|
+
# When using html, text and mark won't be used.
|
10
|
+
# html: '<abbr title="required">*</abbr>'
|
11
|
+
error_notification:
|
12
|
+
default_message: "Some errors were found, please take a look:"
|
13
|
+
# Labels and hints examples
|
14
|
+
# labels:
|
15
|
+
# password: 'Password'
|
16
|
+
# user:
|
17
|
+
# new:
|
18
|
+
# email: 'E-mail para efetuar o sign in.'
|
19
|
+
# edit:
|
20
|
+
# email: 'E-mail.'
|
21
|
+
# hints:
|
22
|
+
# username: 'User name to sign in.'
|
23
|
+
# password: 'No special characters, please.'
|
24
|
+
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# You may add here your
|
2
|
+
# server {
|
3
|
+
# ...
|
4
|
+
# }
|
5
|
+
# statements for each of your virtual hosts
|
6
|
+
|
7
|
+
|
8
|
+
server {
|
9
|
+
listen 80;
|
10
|
+
server_name .dummy.brainberry.com.ua;
|
11
|
+
|
12
|
+
server_tokens off;
|
13
|
+
|
14
|
+
gzip on;
|
15
|
+
gzip_proxied any;
|
16
|
+
gzip_min_length 1100;
|
17
|
+
gzip_buffers 12 4k;
|
18
|
+
gzip_types text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
19
|
+
|
20
|
+
client_max_body_size 200M;
|
21
|
+
client_body_buffer_size 128k;
|
22
|
+
client_header_timeout 60;
|
23
|
+
client_body_timeout 260;
|
24
|
+
send_timeout 260;
|
25
|
+
keepalive_timeout 60;
|
26
|
+
|
27
|
+
large_client_header_buffers 4 4k;
|
28
|
+
client_header_buffer_size 1k;
|
29
|
+
|
30
|
+
connection_pool_size 256;
|
31
|
+
ignore_invalid_headers on;
|
32
|
+
postpone_output 1460;
|
33
|
+
output_buffers 4 32k;
|
34
|
+
request_pool_size 4k;
|
35
|
+
|
36
|
+
passenger_enabled on;
|
37
|
+
rails_env production;
|
38
|
+
# rack_env production;
|
39
|
+
|
40
|
+
root /var/www/gems/sunrise-questions/spec/dummy/public;
|
41
|
+
|
42
|
+
location ~ /\.[^\/]+ {
|
43
|
+
return 404;
|
44
|
+
}
|
45
|
+
|
46
|
+
location ~* ^.+\.(jpg|jpeg|gif|png|css|js|swf|ico|mov|flv|fla|pdf|zip|rar|doc|xls)$
|
47
|
+
{
|
48
|
+
expires 12h;
|
49
|
+
add_header Cache-Control private;
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
root :to => "welcome#index"
|
3
|
+
|
4
|
+
resources :pages, :only => [:show]
|
5
|
+
|
6
|
+
devise_for :users
|
7
|
+
|
8
|
+
# The priority is based upon order of creation:
|
9
|
+
# first created -> highest priority.
|
10
|
+
|
11
|
+
# Sample of regular route:
|
12
|
+
# match 'products/:id' => 'catalog#view'
|
13
|
+
# Keep in mind you can assign values other than :controller and :action
|
14
|
+
|
15
|
+
# Sample of named route:
|
16
|
+
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
17
|
+
# This route can be invoked with purchase_url(:id => product.id)
|
18
|
+
|
19
|
+
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
20
|
+
# resources :products
|
21
|
+
|
22
|
+
# Sample resource route with options:
|
23
|
+
# resources :products do
|
24
|
+
# member do
|
25
|
+
# get 'short'
|
26
|
+
# post 'toggle'
|
27
|
+
# end
|
28
|
+
#
|
29
|
+
# collection do
|
30
|
+
# get 'sold'
|
31
|
+
# end
|
32
|
+
# end
|
33
|
+
|
34
|
+
# Sample resource route with sub-resources:
|
35
|
+
# resources :products do
|
36
|
+
# resources :comments, :sales
|
37
|
+
# resource :seller
|
38
|
+
# end
|
39
|
+
|
40
|
+
# Sample resource route with more complex sub-resources
|
41
|
+
# resources :products do
|
42
|
+
# resources :comments
|
43
|
+
# resources :sales do
|
44
|
+
# get 'recent', :on => :collection
|
45
|
+
# end
|
46
|
+
# end
|
47
|
+
|
48
|
+
# Sample resource route within a namespace:
|
49
|
+
# namespace :admin do
|
50
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
51
|
+
# # (app/controllers/admin/products_controller.rb)
|
52
|
+
# resources :products
|
53
|
+
# end
|
54
|
+
|
55
|
+
# You can have the root of your site routed with "root"
|
56
|
+
# just remember to delete public/index.html.
|
57
|
+
# root :to => "welcome#index"
|
58
|
+
|
59
|
+
# See how all your routes lay out with "rake routes"
|
60
|
+
|
61
|
+
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
62
|
+
# Note: This route will make all actions in every controller accessible via GET requests.
|
63
|
+
# match ':controller(/:action(/:id(.:format)))'
|
64
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
class SunriseCreateUsers < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table(:users) do |t|
|
4
|
+
t.string :name, :limit => 150
|
5
|
+
# t.string :login, :limit => 20, :null => false
|
6
|
+
|
7
|
+
t.database_authenticatable :null => false
|
8
|
+
t.recoverable
|
9
|
+
t.rememberable
|
10
|
+
t.trackable
|
11
|
+
t.confirmable
|
12
|
+
t.lockable :lock_strategy => :failed_attempts, :unlock_strategy => :time
|
13
|
+
t.encryptable
|
14
|
+
# t.token_authenticatable
|
15
|
+
|
16
|
+
t.timestamps
|
17
|
+
end
|
18
|
+
|
19
|
+
add_index :users, :email, :unique => true
|
20
|
+
add_index :users, :reset_password_token, :unique => true
|
21
|
+
add_index :users, :confirmation_token, :unique => true
|
22
|
+
# add_index :users, :login, :unique => true
|
23
|
+
# add_index :users, :unlock_token, :unique => true
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.down
|
27
|
+
drop_table :users
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
class SunriseCreateRoles < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table :roles do |t|
|
4
|
+
t.integer :role_type, :limit => 1, :default => 0
|
5
|
+
t.integer :user_id, :null => false
|
6
|
+
|
7
|
+
t.timestamps
|
8
|
+
end
|
9
|
+
|
10
|
+
add_index :roles, :user_id, :name => "fk_user"
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.down
|
14
|
+
drop_table :roles
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
class SunriseCreateStructures < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table :structures do |t|
|
4
|
+
t.string :title, :null => false
|
5
|
+
t.string :slug, :null => false, :limit => 25
|
6
|
+
t.integer :kind, :limit => 1, :default => 0
|
7
|
+
t.integer :position, :limit => 2, :default => 0
|
8
|
+
t.boolean :is_visible, :default => true
|
9
|
+
t.string :redirect_url
|
10
|
+
|
11
|
+
t.integer "parent_id"
|
12
|
+
t.integer "lft", :default => 0
|
13
|
+
t.integer "rgt", :default => 0
|
14
|
+
t.integer "depth", :default => 0
|
15
|
+
|
16
|
+
t.timestamps
|
17
|
+
end
|
18
|
+
|
19
|
+
add_index :structures, [:kind, :slug], :uniq => true
|
20
|
+
add_index :structures, :parent_id
|
21
|
+
add_index :structures, [:lft, :rgt]
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.down
|
25
|
+
drop_table :structures
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
class SunriseCreatePages < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table :pages do |t|
|
4
|
+
t.string :title, :null => false
|
5
|
+
t.text :content
|
6
|
+
t.integer :structure_id, :null => false
|
7
|
+
|
8
|
+
t.timestamps
|
9
|
+
end
|
10
|
+
|
11
|
+
add_index :pages, :structure_id, :name => "fk_pages"
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.down
|
15
|
+
drop_table :pages
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
class SunriseCreateAssets < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table :assets do |t|
|
4
|
+
t.string :data_file_name, :null => false
|
5
|
+
t.string :data_content_type
|
6
|
+
t.integer :data_file_size
|
7
|
+
|
8
|
+
t.integer :assetable_id, :null => false
|
9
|
+
t.string :assetable_type, :limit => 25, :null => false
|
10
|
+
t.string :type, :limit => 25
|
11
|
+
t.string :guid, :limit => 10
|
12
|
+
|
13
|
+
t.integer :locale, :limit => 1, :default => 0
|
14
|
+
t.integer :user_id
|
15
|
+
t.integer :sort_order, :default => 0
|
16
|
+
|
17
|
+
t.timestamps
|
18
|
+
end
|
19
|
+
|
20
|
+
add_index "assets", ["assetable_type", "type", "assetable_id"]
|
21
|
+
add_index "assets", ["assetable_type", "assetable_id"]
|
22
|
+
add_index "assets", ["user_id"]
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.down
|
26
|
+
drop_table :assets
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
class SunriseCreateHeaders < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table :headers do |t|
|
4
|
+
t.string :title
|
5
|
+
t.string :keywords
|
6
|
+
t.text :description
|
7
|
+
|
8
|
+
t.string :headerable_type, :limit => 30, :null => false
|
9
|
+
t.integer :headerable_id, :null => false
|
10
|
+
|
11
|
+
t.timestamps
|
12
|
+
end
|
13
|
+
|
14
|
+
add_index :headers, [:headerable_type, :headerable_id], :uniq => true, :name => "fk_headerable"
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.down
|
18
|
+
drop_table :headers
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
def insert_user
|
2
|
+
User.truncate_table
|
3
|
+
Role.truncate_table
|
4
|
+
password = Devise.friendly_token
|
5
|
+
|
6
|
+
admin = User.new(:name=>'Administrator', :email=>'dev@aimbulance.com',
|
7
|
+
:password=>password, :password_confirmation=>password)
|
8
|
+
admin.login = 'admin' if admin.respond_to?(:login)
|
9
|
+
admin.roles.build(:role_type => RoleType.admin)
|
10
|
+
admin.skip_confirmation!
|
11
|
+
admin.save!
|
12
|
+
|
13
|
+
puts "Admin: #{admin.email}, #{admin.password}"
|
14
|
+
end
|
15
|
+
|
16
|
+
def insert_structures
|
17
|
+
Structure.truncate_table
|
18
|
+
|
19
|
+
main_page = Structure.create!(:title => "Главная страница", :slug => "main-page", :structure_type => StructureType.main, :parent => nil)
|
20
|
+
#Structure.create!(:title => "Трансляции", :slug => "broadcasts", :structure_type => StructureType.broadcasts, :parent => main_page)
|
21
|
+
#Structure.create!(:title => "Прямые репортажи", :slug => "posts", :structure_type => StructureType.posts, :parent => main_page)
|
22
|
+
end
|
23
|
+
|
24
|
+
insert_user
|
25
|
+
insert_structures
|
Binary file
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<%%= simple_form_for(@<%= singular_table_name %>) do |f| %>
|
2
|
+
<%%= f.error_notification %>
|
3
|
+
|
4
|
+
<div class="inputs">
|
5
|
+
<%- attributes.each do |attribute| -%>
|
6
|
+
<%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %>
|
7
|
+
<%- end -%>
|
8
|
+
</div>
|
9
|
+
|
10
|
+
<div class="actions">
|
11
|
+
<%%= f.button :submit %>
|
12
|
+
</div>
|
13
|
+
<%% end %>
|
@@ -0,0 +1,1678 @@
|
|
1
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
2
|
+
FROM sqlite_master
|
3
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
4
|
+
[0m
|
5
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
6
|
+
FROM sqlite_master
|
7
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
8
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
9
|
+
FROM sqlite_master
|
10
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
11
|
+
[0m
|
12
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
13
|
+
FROM sqlite_master
|
14
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
15
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
16
|
+
FROM sqlite_master
|
17
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
18
|
+
[0m
|
19
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
20
|
+
FROM sqlite_master
|
21
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
22
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
23
|
+
FROM sqlite_master
|
24
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
25
|
+
[0m
|
26
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
27
|
+
FROM sqlite_master
|
28
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
29
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
30
|
+
FROM sqlite_master
|
31
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
32
|
+
[0m
|
33
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
34
|
+
FROM sqlite_master
|
35
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
36
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
37
|
+
FROM sqlite_master
|
38
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
39
|
+
[0m
|
40
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
41
|
+
FROM sqlite_master
|
42
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
43
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
44
|
+
FROM sqlite_master
|
45
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
46
|
+
[0m
|
47
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
48
|
+
FROM sqlite_master
|
49
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
50
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
51
|
+
FROM sqlite_master
|
52
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
53
|
+
[0m
|
54
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
55
|
+
FROM sqlite_master
|
56
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
57
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
58
|
+
FROM sqlite_master
|
59
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
60
|
+
[0m
|
61
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
62
|
+
FROM sqlite_master
|
63
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
64
|
+
[0m
|
65
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
66
|
+
FROM sqlite_master
|
67
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
68
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
69
|
+
FROM sqlite_master
|
70
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
71
|
+
[0m
|
72
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
73
|
+
FROM sqlite_master
|
74
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
75
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
76
|
+
FROM sqlite_master
|
77
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
78
|
+
[0m
|
79
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
80
|
+
FROM sqlite_master
|
81
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
82
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
83
|
+
FROM sqlite_master
|
84
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
85
|
+
[0m
|
86
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
87
|
+
[1m[36mSQL (194.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
88
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
89
|
+
[1m[36mSQL (95.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
90
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
91
|
+
FROM sqlite_master
|
92
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
93
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
94
|
+
FROM sqlite_master
|
95
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
96
|
+
[0m
|
97
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
98
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
99
|
+
[1m[36mSQL (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(150), "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(128) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "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, "failed_attempts" integer DEFAULT 0, "locked_at" datetime, "password_salt" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
100
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("users")
|
101
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
102
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("users")
|
103
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
104
|
+
[1m[35mSQL (0.3ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
105
|
+
[1m[36mSQL (0.2ms)[0m [1mPRAGMA index_list("users")[0m
|
106
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
107
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
108
|
+
[1m[35mSQL (0.3ms)[0m CREATE UNIQUE INDEX "index_users_on_confirmation_token" ON "users" ("confirmation_token")
|
109
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
110
|
+
FROM sqlite_master
|
111
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
112
|
+
[0m
|
113
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110801124809')
|
114
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
115
|
+
[1m[36mSQL (0.6ms)[0m [1mCREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_type" integer(1) DEFAULT 0, "user_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
116
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("roles")
|
117
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "fk_user" ON "roles" ("user_id")[0m
|
118
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
119
|
+
FROM sqlite_master
|
120
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
121
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110801124909')[0m
|
122
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
123
|
+
[1m[35mSQL (0.7ms)[0m CREATE TABLE "structures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "slug" varchar(25) NOT NULL, "kind" integer(1) DEFAULT 0, "position" integer(2) DEFAULT 0, "is_visible" boolean DEFAULT 't', "redirect_url" varchar(255), "parent_id" integer, "lft" integer DEFAULT 0, "rgt" integer DEFAULT 0, "depth" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime)
|
124
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("structures")[0m
|
125
|
+
[1m[35mSQL (0.2ms)[0m CREATE INDEX "index_structures_on_kind_and_slug" ON "structures" ("kind", "slug")
|
126
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("structures")[0m
|
127
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_structures_on_kind_and_slug')
|
128
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "index_structures_on_parent_id" ON "structures" ("parent_id")[0m
|
129
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("structures")
|
130
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_structures_on_parent_id')[0m
|
131
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_structures_on_kind_and_slug')
|
132
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "index_structures_on_lft_and_rgt" ON "structures" ("lft", "rgt")[0m
|
133
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
134
|
+
FROM sqlite_master
|
135
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
136
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110801125009')[0m
|
137
|
+
Migrating to SunriseCreatePages (20110801125109)
|
138
|
+
[1m[35mSQL (0.5ms)[0m CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "content" text, "structure_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
|
139
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("pages")[0m
|
140
|
+
[1m[35mSQL (0.2ms)[0m CREATE INDEX "fk_pages" ON "pages" ("structure_id")
|
141
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
142
|
+
FROM sqlite_master
|
143
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
144
|
+
[0m
|
145
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110801125109')
|
146
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
147
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer NOT NULL, "assetable_type" varchar(25) NOT NULL, "type" varchar(25), "guid" varchar(10), "locale" integer(1) DEFAULT 0, "user_id" integer, "sort_order" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime) [0m
|
148
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("assets")
|
149
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE INDEX "index_assets_on_assetable_type_and_type_and_assetable_id" ON "assets" ("assetable_type", "type", "assetable_id")[0m
|
150
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("assets")
|
151
|
+
[1m[36mSQL (0.2ms)[0m [1mPRAGMA index_info('index_assets_on_assetable_type_and_type_and_assetable_id')[0m
|
152
|
+
[1m[35mSQL (0.2ms)[0m CREATE INDEX "index_assets_on_assetable_type_and_assetable_id" ON "assets" ("assetable_type", "assetable_id")
|
153
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("assets")[0m
|
154
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_assets_on_assetable_type_and_assetable_id')
|
155
|
+
[1m[36mSQL (0.2ms)[0m [1mPRAGMA index_info('index_assets_on_assetable_type_and_type_and_assetable_id')[0m
|
156
|
+
[1m[35mSQL (0.3ms)[0m CREATE INDEX "index_assets_on_user_id" ON "assets" ("user_id")
|
157
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
158
|
+
FROM sqlite_master
|
159
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
160
|
+
[0m
|
161
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110801125209')
|
162
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
163
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "headers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "keywords" varchar(255), "description" text, "headerable_type" varchar(30) NOT NULL, "headerable_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
164
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("headers")
|
165
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "fk_headerable" ON "headers" ("headerable_type", "headerable_id")[0m
|
166
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
167
|
+
FROM sqlite_master
|
168
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
169
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110801125309')[0m
|
170
|
+
Migrating to SunriseCreateWidgets (20110801161138)
|
171
|
+
[1m[35mSQL (0.6ms)[0m CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "structure_id" integer, "title" varchar(255) NOT NULL, "content" text, "is_visible" boolean DEFAULT 't', "sort_order" integer DEFAULT 0, "widget_type_id" integer(1) DEFAULT 0, "widget_position_id" integer(1) DEFAULT 0, "created_at" datetime, "updated_at" datetime)
|
172
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("widgets")[0m
|
173
|
+
[1m[35mSQL (0.2ms)[0m CREATE INDEX "index_widgets_on_structure_id" ON "widgets" ("structure_id")
|
174
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("widgets")[0m
|
175
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_widgets_on_structure_id')
|
176
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "index_widgets_on_widget_position_id" ON "widgets" ("widget_position_id")[0m
|
177
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("widgets")
|
178
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_widgets_on_widget_position_id')[0m
|
179
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_widgets_on_structure_id')
|
180
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "index_widgets_on_widget_type_id" ON "widgets" ("widget_type_id")[0m
|
181
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
182
|
+
FROM sqlite_master
|
183
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
184
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110801161138')[0m
|
185
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
186
|
+
FROM sqlite_master
|
187
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
188
|
+
[1m[36mSQL (80.0ms)[0m [1mDELETE FROM "users";[0m
|
189
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
190
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
191
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "pages";
|
192
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "assets";[0m
|
193
|
+
[1m[35mSQL (77.1ms)[0m DELETE FROM "headers";
|
194
|
+
[1m[36mSQL (77.1ms)[0m [1mDELETE FROM "widgets";[0m
|
195
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
196
|
+
FROM sqlite_master
|
197
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
198
|
+
[1m[36mSQL (184.5ms)[0m [1mDELETE FROM "users";[0m
|
199
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "roles";
|
200
|
+
[1m[36mSQL (77.3ms)[0m [1mDELETE FROM "structures";[0m
|
201
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "pages";
|
202
|
+
[1m[36mSQL (77.3ms)[0m [1mDELETE FROM "assets";[0m
|
203
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
204
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "widgets";[0m
|
205
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
206
|
+
FROM sqlite_master
|
207
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
208
|
+
[1m[36mSQL (102.9ms)[0m [1mDELETE FROM "users";[0m
|
209
|
+
[1m[35mSQL (76.9ms)[0m DELETE FROM "roles";
|
210
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "structures";[0m
|
211
|
+
[1m[35mSQL (76.9ms)[0m DELETE FROM "pages";
|
212
|
+
[1m[36mSQL (66.2ms)[0m [1mDELETE FROM "assets";[0m
|
213
|
+
[1m[35mSQL (65.9ms)[0m DELETE FROM "headers";
|
214
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "widgets";[0m
|
215
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
216
|
+
FROM sqlite_master
|
217
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
218
|
+
[0m
|
219
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
220
|
+
FROM sqlite_master
|
221
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
222
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
223
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
224
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
225
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
226
|
+
Migrating to SunriseCreatePages (20110801125109)
|
227
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
228
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
229
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
230
|
+
FROM sqlite_master
|
231
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
232
|
+
[1m[36mSQL (186.3ms)[0m [1mDELETE FROM "users";[0m
|
233
|
+
[1m[35mSQL (121.1ms)[0m DELETE FROM "roles";
|
234
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "structures";[0m
|
235
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "pages";
|
236
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "assets";[0m
|
237
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "headers";
|
238
|
+
[1m[36mSQL (143.5ms)[0m [1mDELETE FROM "widgets";[0m
|
239
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
240
|
+
FROM sqlite_master
|
241
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
242
|
+
[1m[36mSQL (107.1ms)[0m [1mDELETE FROM "users";[0m
|
243
|
+
[1m[35mSQL (132.2ms)[0m DELETE FROM "roles";
|
244
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
245
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "pages";
|
246
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "assets";[0m
|
247
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "headers";
|
248
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "widgets";[0m
|
249
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
250
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "users" ("email", "remember_created_at", "reset_password_token", "created_at", "confirmation_sent_at", "reset_password_sent_at", "last_sign_in_ip", "updated_at", "encrypted_password", "locked_at", "password_salt", "failed_attempts", "name", "sign_in_count", "last_sign_in_at", "confirmed_at", "current_sign_in_at", "confirmation_token", "current_sign_in_ip") VALUES ('testing1@example.com', NULL, NULL, '2011-09-13 09:52:45.483061', NULL, NULL, NULL, '2011-09-13 09:52:45.483061', '535af3fd96994ad8970705aa0eb328730ae8fca5e1eefde1b46f8496409e1ea104d80b6454fd35ba9cf47542792407f6f8075d26fd25bbf3d7801bfbd0d3c7c6', NULL, 'Hmp9RSiHsqM58RXx5zFv', 0, 'Admin', 0, NULL, '2011-09-13 09:52:45.458125', NULL, NULL, NULL)[0m
|
251
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("updated_at", "role_type", "created_at", "user_id") VALUES ('2011-09-13 09:52:45.510371', 4, '2011-09-13 09:52:45.510371', 1)
|
252
|
+
Processing by Manage::LocalesController#index as HTML
|
253
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
254
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1) LIMIT 1
|
255
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1) LIMIT 1[0m
|
256
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (3.5ms)
|
257
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 1 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
258
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (19.0ms)
|
259
|
+
Completed 500 Internal Server Error in 125ms
|
260
|
+
Processing by Manage::LocalesController#edit as HTML
|
261
|
+
Parameters: {"id"=>:uk}
|
262
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
263
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1) LIMIT 1
|
264
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1) LIMIT 1[0m
|
265
|
+
[1m[35mAvatar Load (0.3ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 1 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
266
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (6.4ms)
|
267
|
+
Completed 500 Internal Server Error in 23ms
|
268
|
+
Processing by Manage::LocalesController#update as HTML
|
269
|
+
Parameters: {"text"=>"uk:\n title: 'Hello World'", "id"=>:uk}
|
270
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
271
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1) LIMIT 1
|
272
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1) LIMIT 1[0m
|
273
|
+
Completed 500 Internal Server Error in 9ms
|
274
|
+
Processing by Manage::LocalesController#index as HTML
|
275
|
+
Completed in 15ms
|
276
|
+
Processing by Manage::LocalesController#edit as HTML
|
277
|
+
Parameters: {"id"=>:uk}
|
278
|
+
Completed in 0ms
|
279
|
+
Processing by Manage::LocalesController#update as HTML
|
280
|
+
Parameters: {"id"=>:uk}
|
281
|
+
Completed in 0ms
|
282
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
283
|
+
FROM sqlite_master
|
284
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
285
|
+
[1m[36mSQL (169.8ms)[0m [1mDELETE FROM "users";[0m
|
286
|
+
[1m[35mSQL (88.2ms)[0m DELETE FROM "roles";
|
287
|
+
[1m[36mSQL (77.0ms)[0m [1mDELETE FROM "structures";[0m
|
288
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "pages";
|
289
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "assets";[0m
|
290
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "headers";
|
291
|
+
[1m[36mSQL (88.1ms)[0m [1mDELETE FROM "widgets";[0m
|
292
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
293
|
+
FROM sqlite_master
|
294
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
295
|
+
[0m
|
296
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
297
|
+
FROM sqlite_master
|
298
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
299
|
+
[0m
|
300
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
301
|
+
FROM sqlite_master
|
302
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
303
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
304
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
305
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
306
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
307
|
+
Migrating to SunriseCreatePages (20110801125109)
|
308
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
309
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
310
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
311
|
+
FROM sqlite_master
|
312
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
313
|
+
[1m[36mSQL (144.4ms)[0m [1mDELETE FROM "users";[0m
|
314
|
+
[1m[35mSQL (121.1ms)[0m DELETE FROM "roles";
|
315
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "structures";[0m
|
316
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "pages";
|
317
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "assets";[0m
|
318
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "headers";
|
319
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "widgets";[0m
|
320
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
321
|
+
FROM sqlite_master
|
322
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
323
|
+
[1m[36mSQL (96.2ms)[0m [1mDELETE FROM "users";[0m
|
324
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
325
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "structures";[0m
|
326
|
+
[1m[35mSQL (88.2ms)[0m DELETE FROM "pages";
|
327
|
+
[1m[36mSQL (132.4ms)[0m [1mDELETE FROM "assets";[0m
|
328
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "headers";
|
329
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "widgets";[0m
|
330
|
+
[1m[35mSQL (0.1ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
331
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "users" ("remember_created_at", "last_sign_in_ip", "encrypted_password", "current_sign_in_at", "confirmation_token", "sign_in_count", "reset_password_token", "last_sign_in_at", "name", "email", "current_sign_in_ip", "password_salt", "updated_at", "confirmed_at", "reset_password_sent_at", "locked_at", "failed_attempts", "created_at", "confirmation_sent_at") VALUES (NULL, NULL, '1435d7151664b2267133aa601d0e718993cf3374c2005a1e3085f1dd5fa44fc2b3dc4a0cbf3278ba0e6a603a75fe7bd8c25db62f4c0554bd560c376368716bcd', NULL, NULL, 0, NULL, NULL, 'Admin', 'testing1@example.com', NULL, 'Gszhh8nsJrpbWGgt8u6v', '2011-09-13 09:55:18.723770', '2011-09-13 09:55:18.719138', NULL, NULL, 0, '2011-09-13 09:55:18.723770', NULL)[0m
|
332
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("updated_at", "created_at", "role_type", "user_id") VALUES ('2011-09-13 09:55:18.727175', '2011-09-13 09:55:18.727175', 4, 2)
|
333
|
+
Processing by Manage::LocalesController#index as HTML
|
334
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
335
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 2) LIMIT 1
|
336
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 2) LIMIT 1[0m
|
337
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (0.0ms)
|
338
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 2 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
339
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (15.1ms)
|
340
|
+
Completed 500 Internal Server Error in 49ms
|
341
|
+
Processing by Manage::LocalesController#edit as HTML
|
342
|
+
Parameters: {"id"=>:en}
|
343
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
344
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 2) LIMIT 1
|
345
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 2) LIMIT 1[0m
|
346
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 2 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
347
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (6.3ms)
|
348
|
+
Completed 500 Internal Server Error in 21ms
|
349
|
+
Processing by Manage::LocalesController#update as HTML
|
350
|
+
Parameters: {"text"=>"en:\n title: 'Hello World'", "id"=>:en}
|
351
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
352
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 2) LIMIT 1
|
353
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 2) LIMIT 1[0m
|
354
|
+
Completed 500 Internal Server Error in 7ms
|
355
|
+
Processing by Manage::LocalesController#index as HTML
|
356
|
+
Completed in 3ms
|
357
|
+
Processing by Manage::LocalesController#edit as HTML
|
358
|
+
Parameters: {"id"=>:en}
|
359
|
+
Completed in 0ms
|
360
|
+
Processing by Manage::LocalesController#update as HTML
|
361
|
+
Parameters: {"id"=>:en}
|
362
|
+
Completed in 0ms
|
363
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
364
|
+
FROM sqlite_master
|
365
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
366
|
+
[1m[36mSQL (99.0ms)[0m [1mDELETE FROM "users";[0m
|
367
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "roles";
|
368
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
369
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "pages";
|
370
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "assets";[0m
|
371
|
+
[1m[35mSQL (87.9ms)[0m DELETE FROM "headers";
|
372
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "widgets";[0m
|
373
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
374
|
+
FROM sqlite_master
|
375
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
376
|
+
[0m
|
377
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
378
|
+
FROM sqlite_master
|
379
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
380
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
381
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
382
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
383
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
384
|
+
Migrating to SunriseCreatePages (20110801125109)
|
385
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
386
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
387
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
388
|
+
FROM sqlite_master
|
389
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
390
|
+
[1m[36mSQL (113.5ms)[0m [1mDELETE FROM "users";[0m
|
391
|
+
[1m[35mSQL (433.1ms)[0m DELETE FROM "roles";
|
392
|
+
[1m[36mSQL (228.8ms)[0m [1mDELETE FROM "structures";[0m
|
393
|
+
[1m[35mSQL (165.4ms)[0m DELETE FROM "pages";
|
394
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "assets";[0m
|
395
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "headers";
|
396
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "widgets";[0m
|
397
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
398
|
+
FROM sqlite_master
|
399
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
400
|
+
[1m[36mSQL (96.1ms)[0m [1mDELETE FROM "users";[0m
|
401
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "roles";
|
402
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
403
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "pages";
|
404
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "assets";[0m
|
405
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "headers";
|
406
|
+
[1m[36mSQL (187.6ms)[0m [1mDELETE FROM "widgets";[0m
|
407
|
+
[1m[35mSQL (0.1ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
408
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "users" ("confirmation_sent_at", "confirmed_at", "current_sign_in_at", "locked_at", "current_sign_in_ip", "remember_created_at", "reset_password_token", "updated_at", "email", "sign_in_count", "name", "last_sign_in_at", "password_salt", "reset_password_sent_at", "failed_attempts", "created_at", "confirmation_token", "last_sign_in_ip", "encrypted_password") VALUES (NULL, '2011-09-13 11:00:34.575846', NULL, NULL, NULL, NULL, NULL, '2011-09-13 11:00:34.580611', 'testing1@example.com', 0, 'Admin', NULL, 'jvkaZEe9q1VjiFoDxqyW', NULL, 0, '2011-09-13 11:00:34.580611', NULL, NULL, 'dd54004a6526575f2df788755ec9ca93cfbba3c27c98d002731a20d2127e7ce1804173e681c7688f89940a1963cf432bed3773fe09f296175e3b9eb09f25c714')[0m
|
409
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("updated_at", "created_at", "role_type", "user_id") VALUES ('2011-09-13 11:00:34.584028', '2011-09-13 11:00:34.584028', 4, 3)
|
410
|
+
Processing by Manage::LocalesController#index as HTML
|
411
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
412
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 3) LIMIT 1
|
413
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 3) LIMIT 1[0m
|
414
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (3.5ms)
|
415
|
+
[1m[35mAvatar Load (0.4ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 3 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
416
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (18.1ms)
|
417
|
+
Completed 500 Internal Server Error in 59ms
|
418
|
+
Processing by Manage::LocalesController#edit as HTML
|
419
|
+
Parameters: {"id"=>:ru}
|
420
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
421
|
+
[1m[35mRole Load (0.3ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 3) LIMIT 1
|
422
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 3) LIMIT 1[0m
|
423
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 3 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
424
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (6.6ms)
|
425
|
+
Completed 500 Internal Server Error in 30ms
|
426
|
+
Processing by Manage::LocalesController#update as HTML
|
427
|
+
Parameters: {"text"=>"ru:\n title: 'Hello World'", "id"=>:ru}
|
428
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
429
|
+
[1m[35mRole Load (0.4ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 3) LIMIT 1
|
430
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 3) LIMIT 1[0m
|
431
|
+
Completed 500 Internal Server Error in 12ms
|
432
|
+
Processing by Manage::LocalesController#index as HTML
|
433
|
+
Completed in 3ms
|
434
|
+
Processing by Manage::LocalesController#edit as HTML
|
435
|
+
Parameters: {"id"=>:ru}
|
436
|
+
Completed in 0ms
|
437
|
+
Processing by Manage::LocalesController#update as HTML
|
438
|
+
Parameters: {"id"=>:ru}
|
439
|
+
Completed in 0ms
|
440
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
441
|
+
FROM sqlite_master
|
442
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
443
|
+
[1m[36mSQL (113.6ms)[0m [1mDELETE FROM "users";[0m
|
444
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "roles";
|
445
|
+
[1m[36mSQL (132.3ms)[0m [1mDELETE FROM "structures";[0m
|
446
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "pages";
|
447
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "assets";[0m
|
448
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "headers";
|
449
|
+
[1m[36mSQL (276.0ms)[0m [1mDELETE FROM "widgets";[0m
|
450
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
451
|
+
FROM sqlite_master
|
452
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
453
|
+
[0m
|
454
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
455
|
+
FROM sqlite_master
|
456
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
457
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
458
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
459
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
460
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
461
|
+
Migrating to SunriseCreatePages (20110801125109)
|
462
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
463
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
464
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
465
|
+
FROM sqlite_master
|
466
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
467
|
+
[1m[36mSQL (161.8ms)[0m [1mDELETE FROM "users";[0m
|
468
|
+
[1m[35mSQL (132.2ms)[0m DELETE FROM "roles";
|
469
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "structures";[0m
|
470
|
+
[1m[35mSQL (176.4ms)[0m DELETE FROM "pages";
|
471
|
+
[1m[36mSQL (121.3ms)[0m [1mDELETE FROM "assets";[0m
|
472
|
+
[1m[35mSQL (165.4ms)[0m DELETE FROM "headers";
|
473
|
+
[1m[36mSQL (132.3ms)[0m [1mDELETE FROM "widgets";[0m
|
474
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
475
|
+
FROM sqlite_master
|
476
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
477
|
+
[1m[36mSQL (118.2ms)[0m [1mDELETE FROM "users";[0m
|
478
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "roles";
|
479
|
+
[1m[36mSQL (209.8ms)[0m [1mDELETE FROM "structures";[0m
|
480
|
+
[1m[35mSQL (110.3ms)[0m DELETE FROM "pages";
|
481
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "assets";[0m
|
482
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
483
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "widgets";[0m
|
484
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
485
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "users" ("failed_attempts", "confirmed_at", "confirmation_token", "current_sign_in_ip", "password_salt", "created_at", "locked_at", "last_sign_in_at", "last_sign_in_ip", "encrypted_password", "name", "remember_created_at", "current_sign_in_at", "reset_password_token", "sign_in_count", "confirmation_sent_at", "updated_at", "email", "reset_password_sent_at") VALUES (0, '2011-09-13 11:01:05.911712', NULL, NULL, 'juUr6W5RShnonzLpawG7', '2011-09-13 11:01:05.916459', NULL, NULL, NULL, 'ab2078626b39a3d0046d30815eff41d77e4f800be8fee7feac45d5b524fb64bf5cdb844981a9ee7138daad252c83459c36c8bed6af319385aa386c1a46314b86', 'Admin', NULL, NULL, NULL, 0, NULL, '2011-09-13 11:01:05.916459', 'testing1@example.com', NULL)[0m
|
486
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("updated_at", "user_id", "role_type", "created_at") VALUES ('2011-09-13 11:01:05.919783', 4, 4, '2011-09-13 11:01:05.919783')
|
487
|
+
Processing by Manage::LocalesController#index as HTML
|
488
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1[0m
|
489
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1
|
490
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1[0m
|
491
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (3.3ms)
|
492
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 4 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
493
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (15.5ms)
|
494
|
+
Completed 500 Internal Server Error in 55ms
|
495
|
+
Processing by Manage::LocalesController#edit as HTML
|
496
|
+
Parameters: {"id"=>:en}
|
497
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1[0m
|
498
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1
|
499
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1[0m
|
500
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 4 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
501
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (7.6ms)
|
502
|
+
Completed 500 Internal Server Error in 26ms
|
503
|
+
Processing by Manage::LocalesController#update as HTML
|
504
|
+
Parameters: {"text"=>"en:\n title: 'Hello World'", "id"=>:en}
|
505
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1[0m
|
506
|
+
[1m[35mRole Load (0.3ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1
|
507
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1[0m
|
508
|
+
Completed 500 Internal Server Error in 9ms
|
509
|
+
Processing by Manage::LocalesController#index as HTML
|
510
|
+
Completed in 2ms
|
511
|
+
Processing by Manage::LocalesController#edit as HTML
|
512
|
+
Parameters: {"id"=>:en}
|
513
|
+
Completed in 0ms
|
514
|
+
Processing by Manage::LocalesController#update as HTML
|
515
|
+
Parameters: {"id"=>:en}
|
516
|
+
Completed in 0ms
|
517
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
518
|
+
FROM sqlite_master
|
519
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
520
|
+
[1m[36mSQL (102.1ms)[0m [1mDELETE FROM "users";[0m
|
521
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "roles";
|
522
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
523
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "pages";
|
524
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "assets";[0m
|
525
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "headers";
|
526
|
+
[1m[36mSQL (110.2ms)[0m [1mDELETE FROM "widgets";[0m
|
527
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
528
|
+
FROM sqlite_master
|
529
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
530
|
+
[0m
|
531
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
532
|
+
FROM sqlite_master
|
533
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
534
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
535
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
536
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
537
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
538
|
+
Migrating to SunriseCreatePages (20110801125109)
|
539
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
540
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
541
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
542
|
+
FROM sqlite_master
|
543
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
544
|
+
[1m[36mSQL (94.5ms)[0m [1mDELETE FROM "users";[0m
|
545
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "roles";
|
546
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "structures";[0m
|
547
|
+
[1m[35mSQL (121.1ms)[0m DELETE FROM "pages";
|
548
|
+
[1m[36mSQL (154.5ms)[0m [1mDELETE FROM "assets";[0m
|
549
|
+
[1m[35mSQL (154.2ms)[0m DELETE FROM "headers";
|
550
|
+
[1m[36mSQL (143.4ms)[0m [1mDELETE FROM "widgets";[0m
|
551
|
+
[1m[35mSQL (0.6ms)[0m SELECT name
|
552
|
+
FROM sqlite_master
|
553
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
554
|
+
[1m[36mSQL (107.0ms)[0m [1mDELETE FROM "users";[0m
|
555
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "roles";
|
556
|
+
[1m[36mSQL (132.4ms)[0m [1mDELETE FROM "structures";[0m
|
557
|
+
[1m[35mSQL (132.2ms)[0m DELETE FROM "pages";
|
558
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "assets";[0m
|
559
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "headers";
|
560
|
+
[1m[36mSQL (154.5ms)[0m [1mDELETE FROM "widgets";[0m
|
561
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
562
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "users" ("reset_password_sent_at", "email", "confirmation_token", "current_sign_in_ip", "name", "encrypted_password", "sign_in_count", "created_at", "reset_password_token", "locked_at", "last_sign_in_at", "current_sign_in_at", "password_salt", "confirmation_sent_at", "failed_attempts", "confirmed_at", "remember_created_at", "last_sign_in_ip", "updated_at") VALUES (NULL, 'testing1@example.com', NULL, NULL, 'Admin', 'b38cac85e566cb1c78b76945c33940dd555e646adcc80433ffff55cdf19dbf2943dd5b5b2861b529d8770dc89cfcb555f7d3f0cb7ae7e4b97fa987cef3e70aa9', 0, '2011-09-13 11:03:18.465482', NULL, NULL, NULL, NULL, 'P2eNBtupsJVpNsvdvtQ1', NULL, 0, '2011-09-13 11:03:18.460601', NULL, NULL, '2011-09-13 11:03:18.465482')[0m
|
563
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("created_at", "updated_at", "user_id", "role_type") VALUES ('2011-09-13 11:03:18.468880', '2011-09-13 11:03:18.468880', 5, 4)
|
564
|
+
Processing by Manage::LocalesController#index as HTML
|
565
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 5 LIMIT 1[0m
|
566
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1
|
567
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1[0m
|
568
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (2.9ms)
|
569
|
+
[1m[35mAvatar Load (0.3ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 5 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
570
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (13.7ms)
|
571
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.5ms)
|
572
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.8ms)
|
573
|
+
Completed 200 OK in 57ms (Views: 49.9ms | ActiveRecord: 1770.5ms)
|
574
|
+
Processing by Manage::LocalesController#edit as HTML
|
575
|
+
Parameters: {"id"=>:ru}
|
576
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 5 LIMIT 1[0m
|
577
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1
|
578
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1[0m
|
579
|
+
[1m[35mAvatar Load (0.3ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 5 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
580
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (4.4ms)
|
581
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.1ms)
|
582
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.5ms)
|
583
|
+
Completed 200 OK in 20ms (Views: 12.9ms | ActiveRecord: 0.9ms)
|
584
|
+
Processing by Manage::LocalesController#update as HTML
|
585
|
+
Parameters: {"text"=>"ru:\n title: 'Hello World'", "id"=>:ru}
|
586
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 5 LIMIT 1[0m
|
587
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1
|
588
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1[0m
|
589
|
+
Completed 500 Internal Server Error in 8ms
|
590
|
+
Processing by Manage::LocalesController#index as HTML
|
591
|
+
Completed in 2ms
|
592
|
+
Processing by Manage::LocalesController#edit as HTML
|
593
|
+
Parameters: {"id"=>:ru}
|
594
|
+
Completed in 0ms
|
595
|
+
Processing by Manage::LocalesController#update as HTML
|
596
|
+
Parameters: {"id"=>:ru}
|
597
|
+
Completed in 0ms
|
598
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
599
|
+
FROM sqlite_master
|
600
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
601
|
+
[1m[36mSQL (168.4ms)[0m [1mDELETE FROM "users";[0m
|
602
|
+
[1m[35mSQL (132.2ms)[0m DELETE FROM "roles";
|
603
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
604
|
+
[1m[35mSQL (143.1ms)[0m DELETE FROM "pages";
|
605
|
+
[1m[36mSQL (132.4ms)[0m [1mDELETE FROM "assets";[0m
|
606
|
+
[1m[35mSQL (132.3ms)[0m DELETE FROM "headers";
|
607
|
+
[1m[36mSQL (187.7ms)[0m [1mDELETE FROM "widgets";[0m
|
608
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
609
|
+
FROM sqlite_master
|
610
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
611
|
+
[0m
|
612
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
613
|
+
FROM sqlite_master
|
614
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
615
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
616
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
617
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
618
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
619
|
+
Migrating to SunriseCreatePages (20110801125109)
|
620
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
621
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
622
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
623
|
+
FROM sqlite_master
|
624
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
625
|
+
[1m[36mSQL (126.3ms)[0m [1mDELETE FROM "users";[0m
|
626
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
627
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
628
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "pages";
|
629
|
+
[1m[36mSQL (111.1ms)[0m [1mDELETE FROM "assets";[0m
|
630
|
+
[1m[35mSQL (109.1ms)[0m DELETE FROM "headers";
|
631
|
+
[1m[36mSQL (176.6ms)[0m [1mDELETE FROM "widgets";[0m
|
632
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
633
|
+
FROM sqlite_master
|
634
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
635
|
+
[1m[36mSQL (163.0ms)[0m [1mDELETE FROM "users";[0m
|
636
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "roles";
|
637
|
+
[1m[36mSQL (110.2ms)[0m [1mDELETE FROM "structures";[0m
|
638
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "pages";
|
639
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "assets";[0m
|
640
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "headers";
|
641
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "widgets";[0m
|
642
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
643
|
+
[1m[36mAREL (0.4ms)[0m [1mINSERT INTO "users" ("last_sign_in_ip", "email", "current_sign_in_ip", "failed_attempts", "confirmation_sent_at", "created_at", "confirmed_at", "reset_password_token", "name", "current_sign_in_at", "confirmation_token", "reset_password_sent_at", "locked_at", "password_salt", "encrypted_password", "remember_created_at", "sign_in_count", "last_sign_in_at", "updated_at") VALUES (NULL, 'testing1@example.com', NULL, 0, NULL, '2011-09-13 11:05:11.808821', '2011-09-13 11:05:11.804041', NULL, 'Admin', NULL, NULL, NULL, NULL, 'wttsPmAgg9DGqbyPXpxx', '4756a44c760629a5eaaeb918114658a3b67d1798243327f7891dc9a0735ae8dd8ede47b7bfa47cc60ccbd8fc5ca066dba131eb3a40b5bfc75a0ff9f3d4831e84', NULL, 0, NULL, '2011-09-13 11:05:11.808821')[0m
|
644
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("updated_at", "user_id", "created_at", "role_type") VALUES ('2011-09-13 11:05:11.813181', 6, '2011-09-13 11:05:11.813181', 4)
|
645
|
+
Processing by Manage::LocalesController#index as HTML
|
646
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1[0m
|
647
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1
|
648
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1[0m
|
649
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (2.9ms)
|
650
|
+
[1m[35mAvatar Load (0.3ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 6 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
651
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (13.2ms)
|
652
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.6ms)
|
653
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.9ms)
|
654
|
+
Completed 200 OK in 60ms (Views: 52.2ms | ActiveRecord: 1614.8ms)
|
655
|
+
Processing by Manage::LocalesController#edit as HTML
|
656
|
+
Parameters: {"id"=>:en}
|
657
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1[0m
|
658
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1
|
659
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1[0m
|
660
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 6 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
661
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (4.4ms)
|
662
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.1ms)
|
663
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.5ms)
|
664
|
+
Completed 200 OK in 21ms (Views: 13.9ms | ActiveRecord: 0.9ms)
|
665
|
+
Processing by Manage::LocalesController#update as HTML
|
666
|
+
Parameters: {"text"=>"en:\n title: 'Hello World'", "id"=>:en}
|
667
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1[0m
|
668
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1
|
669
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1[0m
|
670
|
+
Redirected to http://test.host/manage/locales
|
671
|
+
Completed 302 Found in 119ms
|
672
|
+
Processing by Manage::LocalesController#index as HTML
|
673
|
+
Completed in 2ms
|
674
|
+
Processing by Manage::LocalesController#edit as HTML
|
675
|
+
Parameters: {"id"=>:en}
|
676
|
+
Completed in 0ms
|
677
|
+
Processing by Manage::LocalesController#update as HTML
|
678
|
+
Parameters: {"id"=>:en}
|
679
|
+
Completed in 0ms
|
680
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
681
|
+
FROM sqlite_master
|
682
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
683
|
+
[1m[36mSQL (105.9ms)[0m [1mDELETE FROM "users";[0m
|
684
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
685
|
+
[1m[36mSQL (132.2ms)[0m [1mDELETE FROM "structures";[0m
|
686
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "pages";
|
687
|
+
[1m[36mSQL (187.7ms)[0m [1mDELETE FROM "assets";[0m
|
688
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
689
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "widgets";[0m
|
690
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
691
|
+
FROM sqlite_master
|
692
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
693
|
+
[0m
|
694
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
695
|
+
FROM sqlite_master
|
696
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
697
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
698
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
699
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
700
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
701
|
+
Migrating to SunriseCreatePages (20110801125109)
|
702
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
703
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
704
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
705
|
+
FROM sqlite_master
|
706
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
707
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "users";[0m
|
708
|
+
[1m[35mSQL (121.1ms)[0m DELETE FROM "roles";
|
709
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
710
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "pages";
|
711
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "assets";[0m
|
712
|
+
[1m[35mSQL (132.2ms)[0m DELETE FROM "headers";
|
713
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "widgets";[0m
|
714
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
715
|
+
FROM sqlite_master
|
716
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
717
|
+
[1m[36mSQL (96.2ms)[0m [1mDELETE FROM "users";[0m
|
718
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
719
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
720
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "pages";
|
721
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "assets";[0m
|
722
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "headers";
|
723
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "widgets";[0m
|
724
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
725
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "users" ("sign_in_count", "last_sign_in_ip", "encrypted_password", "locked_at", "current_sign_in_ip", "password_salt", "email", "reset_password_sent_at", "reset_password_token", "last_sign_in_at", "failed_attempts", "created_at", "remember_created_at", "current_sign_in_at", "updated_at", "confirmation_token", "name", "confirmed_at", "confirmation_sent_at") VALUES (0, NULL, '078e5b2c70848dbd938e1ba883ea51df09e47836562238da6b3e45944e7ce6a2773340140aae12761ecc4fb72b72c7a0aa18c1d41fdc57bfb080955dff93e5dc', NULL, NULL, 'xXEU6Lz2WeQH6jQPhinr', 'testing1@example.com', NULL, NULL, NULL, 0, '2011-09-13 11:06:50.287134', NULL, NULL, '2011-09-13 11:06:50.287134', NULL, 'Admin', '2011-09-13 11:06:50.282276', NULL)[0m
|
726
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("created_at", "role_type", "updated_at", "user_id") VALUES ('2011-09-13 11:06:50.290649', 4, '2011-09-13 11:06:50.290649', 7)
|
727
|
+
Processing by Manage::LocalesController#index as HTML
|
728
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 7 LIMIT 1[0m
|
729
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1
|
730
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1[0m
|
731
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (3.2ms)
|
732
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 7 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
733
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (11.5ms)
|
734
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.4ms)
|
735
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.7ms)
|
736
|
+
Completed 200 OK in 55ms (Views: 47.8ms | ActiveRecord: 1399.9ms)
|
737
|
+
Processing by Manage::LocalesController#edit as HTML
|
738
|
+
Parameters: {"id"=>:en}
|
739
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 7 LIMIT 1[0m
|
740
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1
|
741
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1[0m
|
742
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 7 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
743
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (4.3ms)
|
744
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.1ms)
|
745
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
746
|
+
Completed 200 OK in 20ms (Views: 12.7ms | ActiveRecord: 0.9ms)
|
747
|
+
Processing by Manage::LocalesController#update as HTML
|
748
|
+
Parameters: {"text"=>"en:\n title: 'Hello World'", "id"=>:en}
|
749
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 7 LIMIT 1[0m
|
750
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1
|
751
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1[0m
|
752
|
+
Redirected to http://test.host/manage/locales
|
753
|
+
Completed 302 Found in 113ms
|
754
|
+
Processing by Manage::LocalesController#index as HTML
|
755
|
+
Completed in 2ms
|
756
|
+
Processing by Manage::LocalesController#edit as HTML
|
757
|
+
Parameters: {"id"=>:en}
|
758
|
+
Completed in 0ms
|
759
|
+
Processing by Manage::LocalesController#update as HTML
|
760
|
+
Parameters: {"id"=>:en}
|
761
|
+
Completed in 0ms
|
762
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
763
|
+
FROM sqlite_master
|
764
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
765
|
+
[1m[36mSQL (74.6ms)[0m [1mDELETE FROM "users";[0m
|
766
|
+
[1m[35mSQL (88.4ms)[0m DELETE FROM "roles";
|
767
|
+
[1m[36mSQL (87.8ms)[0m [1mDELETE FROM "structures";[0m
|
768
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "pages";
|
769
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "assets";[0m
|
770
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "headers";
|
771
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "widgets";[0m
|
772
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
773
|
+
FROM sqlite_master
|
774
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
775
|
+
[0m
|
776
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
777
|
+
FROM sqlite_master
|
778
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
779
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
780
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
781
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
782
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
783
|
+
Migrating to SunriseCreatePages (20110801125109)
|
784
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
785
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
786
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
787
|
+
FROM sqlite_master
|
788
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
789
|
+
[1m[36mSQL (148.1ms)[0m [1mDELETE FROM "users";[0m
|
790
|
+
[1m[35mSQL (154.3ms)[0m DELETE FROM "roles";
|
791
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "structures";[0m
|
792
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "pages";
|
793
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "assets";[0m
|
794
|
+
[1m[35mSQL (98.7ms)[0m DELETE FROM "headers";
|
795
|
+
[1m[36mSQL (121.3ms)[0m [1mDELETE FROM "widgets";[0m
|
796
|
+
[1m[35mSQL (0.6ms)[0m SELECT name
|
797
|
+
FROM sqlite_master
|
798
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
799
|
+
[1m[36mSQL (106.9ms)[0m [1mDELETE FROM "users";[0m
|
800
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
801
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "structures";[0m
|
802
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "pages";
|
803
|
+
[1m[36mSQL (132.4ms)[0m [1mDELETE FROM "assets";[0m
|
804
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "headers";
|
805
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "widgets";[0m
|
806
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
807
|
+
[1m[36mAREL (0.4ms)[0m [1mINSERT INTO "users" ("reset_password_token", "encrypted_password", "confirmation_token", "reset_password_sent_at", "locked_at", "confirmation_sent_at", "current_sign_in_at", "created_at", "email", "remember_created_at", "name", "password_salt", "last_sign_in_at", "last_sign_in_ip", "failed_attempts", "confirmed_at", "current_sign_in_ip", "sign_in_count", "updated_at") VALUES (NULL, '76e83001435ffcdf74c1fd01ca7df299d73e4be328461d3d201d495941bb74e0a2f88d4e4ce784393cf61deaf158c3a2e9d0f44ded75c5a2332acc381134a8c5', NULL, NULL, NULL, NULL, NULL, '2011-09-13 11:09:04.281955', 'testing1@example.com', NULL, 'Admin', 'pJzX5M5j98pX3QMZXhMa', NULL, NULL, 0, '2011-09-13 11:09:04.276681', NULL, 0, '2011-09-13 11:09:04.281955')[0m
|
808
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("updated_at", "role_type", "user_id", "created_at") VALUES ('2011-09-13 11:09:04.285680', 4, 8, '2011-09-13 11:09:04.285680')
|
809
|
+
Processing by Manage::LocalesController#index as HTML
|
810
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1[0m
|
811
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 8) LIMIT 1
|
812
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 8) LIMIT 1[0m
|
813
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (2.9ms)
|
814
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 8 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
815
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (11.4ms)
|
816
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.4ms)
|
817
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.7ms)
|
818
|
+
Completed 200 OK in 56ms (Views: 47.0ms | ActiveRecord: 1614.1ms)
|
819
|
+
Processing by Manage::LocalesController#edit as HTML
|
820
|
+
Parameters: {"id"=>:ru}
|
821
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1[0m
|
822
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 8) LIMIT 1
|
823
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 8) LIMIT 1[0m
|
824
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 8 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
825
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (4.3ms)
|
826
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.1ms)
|
827
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
828
|
+
Completed 200 OK in 19ms (Views: 12.9ms | ActiveRecord: 0.8ms)
|
829
|
+
Processing by Manage::LocalesController#update as HTML
|
830
|
+
Parameters: {"text"=>"ru:\n title: 'Hello World'", "id"=>:ru}
|
831
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1[0m
|
832
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 8) LIMIT 1
|
833
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 8) LIMIT 1[0m
|
834
|
+
Redirected to http://test.host/manage/locales
|
835
|
+
Completed 302 Found in 116ms
|
836
|
+
Processing by Manage::LocalesController#index as HTML
|
837
|
+
Completed in 2ms
|
838
|
+
Processing by Manage::LocalesController#edit as HTML
|
839
|
+
Parameters: {"id"=>:ru}
|
840
|
+
Completed in 0ms
|
841
|
+
Processing by Manage::LocalesController#update as HTML
|
842
|
+
Parameters: {"id"=>:ru}
|
843
|
+
Completed in 0ms
|
844
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
845
|
+
FROM sqlite_master
|
846
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
847
|
+
[1m[36mSQL (91.5ms)[0m [1mDELETE FROM "users";[0m
|
848
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
849
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
850
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "pages";
|
851
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "assets";[0m
|
852
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "headers";
|
853
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "widgets";[0m
|
854
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
855
|
+
FROM sqlite_master
|
856
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
857
|
+
[0m
|
858
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
859
|
+
FROM sqlite_master
|
860
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
861
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
862
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
863
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
864
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
865
|
+
Migrating to SunriseCreatePages (20110801125109)
|
866
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
867
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
868
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
869
|
+
FROM sqlite_master
|
870
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
871
|
+
[1m[36mSQL (95.5ms)[0m [1mDELETE FROM "users";[0m
|
872
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
873
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
874
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "pages";
|
875
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "assets";[0m
|
876
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
877
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "widgets";[0m
|
878
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
879
|
+
FROM sqlite_master
|
880
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
881
|
+
[1m[36mSQL (96.3ms)[0m [1mDELETE FROM "users";[0m
|
882
|
+
[1m[35mSQL (121.1ms)[0m DELETE FROM "roles";
|
883
|
+
[1m[36mSQL (143.4ms)[0m [1mDELETE FROM "structures";[0m
|
884
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "pages";
|
885
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "assets";[0m
|
886
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "headers";
|
887
|
+
[1m[36mSQL (110.2ms)[0m [1mDELETE FROM "widgets";[0m
|
888
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
889
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "users" ("email", "confirmation_token", "name", "sign_in_count", "failed_attempts", "updated_at", "confirmed_at", "password_salt", "last_sign_in_ip", "reset_password_sent_at", "locked_at", "confirmation_sent_at", "current_sign_in_at", "encrypted_password", "remember_created_at", "current_sign_in_ip", "created_at", "reset_password_token", "last_sign_in_at") VALUES ('testing1@example.com', NULL, 'Admin', 0, 0, '2011-09-13 11:09:15.126805', '2011-09-13 11:09:15.121839', 'NjxBs23q3WXcxAtp7qz9', NULL, NULL, NULL, NULL, NULL, '9a4753041af33414d75109b4dee9c557b99c1cc3a0231282776a27699be0738f0a0b120f7e3cdd8063a3efddea247bb166db18c5ee5b624e26fb03a56e349944', NULL, NULL, '2011-09-13 11:09:15.126805', NULL, NULL)[0m
|
890
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("updated_at", "created_at", "role_type", "user_id") VALUES ('2011-09-13 11:09:15.130223', '2011-09-13 11:09:15.130223', 4, 9)
|
891
|
+
Processing by Manage::LocalesController#index as HTML
|
892
|
+
[1m[36mUser Load (0.7ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1[0m
|
893
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 9) LIMIT 1
|
894
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 9) LIMIT 1[0m
|
895
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (3.0ms)
|
896
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 9 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
897
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (11.3ms)
|
898
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.4ms)
|
899
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.8ms)
|
900
|
+
Completed 200 OK in 56ms (Views: 46.9ms | ActiveRecord: 1495.7ms)
|
901
|
+
Processing by Manage::LocalesController#edit as HTML
|
902
|
+
Parameters: {"id"=>:uk}
|
903
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1[0m
|
904
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 9) LIMIT 1
|
905
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 9) LIMIT 1[0m
|
906
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 9 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
907
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (4.3ms)
|
908
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.1ms)
|
909
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.5ms)
|
910
|
+
Completed 200 OK in 19ms (Views: 12.8ms | ActiveRecord: 0.8ms)
|
911
|
+
Processing by Manage::LocalesController#update as HTML
|
912
|
+
Parameters: {"text"=>"uk:\n title: 'Hello World'", "id"=>:uk}
|
913
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1[0m
|
914
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 9) LIMIT 1
|
915
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 9) LIMIT 1[0m
|
916
|
+
Redirected to http://test.host/manage/locales
|
917
|
+
Completed 302 Found in 113ms
|
918
|
+
Processing by Manage::LocalesController#index as HTML
|
919
|
+
Completed in 2ms
|
920
|
+
Processing by Manage::LocalesController#edit as HTML
|
921
|
+
Parameters: {"id"=>:uk}
|
922
|
+
Completed in 0ms
|
923
|
+
Processing by Manage::LocalesController#update as HTML
|
924
|
+
Parameters: {"id"=>:uk}
|
925
|
+
Completed in 0ms
|
926
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
927
|
+
FROM sqlite_master
|
928
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
929
|
+
[1m[36mSQL (82.5ms)[0m [1mDELETE FROM "users";[0m
|
930
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "roles";
|
931
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "structures";[0m
|
932
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "pages";
|
933
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "assets";[0m
|
934
|
+
[1m[35mSQL (143.3ms)[0m DELETE FROM "headers";
|
935
|
+
[1m[36mSQL (154.4ms)[0m [1mDELETE FROM "widgets";[0m
|
936
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
937
|
+
FROM sqlite_master
|
938
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
939
|
+
[0m
|
940
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
941
|
+
FROM sqlite_master
|
942
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
943
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
944
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
945
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
946
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
947
|
+
Migrating to SunriseCreatePages (20110801125109)
|
948
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
949
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
950
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
951
|
+
FROM sqlite_master
|
952
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
953
|
+
[1m[36mSQL (118.9ms)[0m [1mDELETE FROM "users";[0m
|
954
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "roles";
|
955
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
956
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "pages";
|
957
|
+
[1m[36mSQL (132.4ms)[0m [1mDELETE FROM "assets";[0m
|
958
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "headers";
|
959
|
+
[1m[36mSQL (110.2ms)[0m [1mDELETE FROM "widgets";[0m
|
960
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
961
|
+
FROM sqlite_master
|
962
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
963
|
+
[1m[36mSQL (107.1ms)[0m [1mDELETE FROM "users";[0m
|
964
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
965
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "structures";[0m
|
966
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "pages";
|
967
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "assets";[0m
|
968
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "headers";
|
969
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "widgets";[0m
|
970
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
971
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "users" ("confirmation_token", "updated_at", "confirmed_at", "last_sign_in_at", "confirmation_sent_at", "encrypted_password", "sign_in_count", "failed_attempts", "locked_at", "password_salt", "last_sign_in_ip", "name", "remember_created_at", "reset_password_token", "created_at", "email", "current_sign_in_ip", "reset_password_sent_at", "current_sign_in_at") VALUES (NULL, '2011-09-13 11:09:32.753163', '2011-09-13 11:09:32.748048', NULL, NULL, 'e7541cf1fd80443ff564fdd034d0788ce86362e2649cfd8a41c2a363a196e1c565a88b4870d20289831c9520fa4fb501fa66dac57e7f0ce33c4799f794287506', 0, 0, NULL, 'LgZp1TKyiGVQa8XwwdXE', NULL, 'Admin', NULL, NULL, '2011-09-13 11:09:32.753163', 'testing1@example.com', NULL, NULL, NULL)[0m
|
972
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("user_id", "role_type", "created_at", "updated_at") VALUES (10, 4, '2011-09-13 11:09:32.756620', '2011-09-13 11:09:32.756620')
|
973
|
+
Processing by Manage::LocalesController#index as HTML
|
974
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1[0m
|
975
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 10) LIMIT 1
|
976
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 10) LIMIT 1[0m
|
977
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (3.0ms)
|
978
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 10 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
979
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (11.4ms)
|
980
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.4ms)
|
981
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.8ms)
|
982
|
+
Completed 200 OK in 55ms (Views: 48.0ms | ActiveRecord: 1474.8ms)
|
983
|
+
Processing by Manage::LocalesController#edit as HTML
|
984
|
+
Parameters: {"id"=>:ru}
|
985
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1[0m
|
986
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 10) LIMIT 1
|
987
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 10) LIMIT 1[0m
|
988
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 10 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
989
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (4.5ms)
|
990
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.1ms)
|
991
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
992
|
+
Completed 200 OK in 20ms (Views: 13.6ms | ActiveRecord: 0.8ms)
|
993
|
+
Processing by Manage::LocalesController#update as HTML
|
994
|
+
Parameters: {"text"=>"ru:\n title: 'Hello World'", "id"=>:ru}
|
995
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1[0m
|
996
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 10) LIMIT 1
|
997
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 10) LIMIT 1[0m
|
998
|
+
Redirected to http://test.host/manage/locales
|
999
|
+
Completed 302 Found in 113ms
|
1000
|
+
Processing by Manage::LocalesController#index as HTML
|
1001
|
+
Completed in 2ms
|
1002
|
+
Processing by Manage::LocalesController#edit as HTML
|
1003
|
+
Parameters: {"id"=>:ru}
|
1004
|
+
Completed in 0ms
|
1005
|
+
Processing by Manage::LocalesController#update as HTML
|
1006
|
+
Parameters: {"id"=>:ru}
|
1007
|
+
Completed in 0ms
|
1008
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1009
|
+
FROM sqlite_master
|
1010
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1011
|
+
[1m[36mSQL (107.6ms)[0m [1mDELETE FROM "users";[0m
|
1012
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "roles";
|
1013
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "structures";[0m
|
1014
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "pages";
|
1015
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "assets";[0m
|
1016
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "headers";
|
1017
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "widgets";[0m
|
1018
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
1019
|
+
FROM sqlite_master
|
1020
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1021
|
+
[0m
|
1022
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1023
|
+
FROM sqlite_master
|
1024
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1025
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1026
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1027
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1028
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1029
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1030
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1031
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1032
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1033
|
+
FROM sqlite_master
|
1034
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1035
|
+
[1m[36mSQL (84.3ms)[0m [1mDELETE FROM "users";[0m
|
1036
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
1037
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
1038
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "pages";
|
1039
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "assets";[0m
|
1040
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "headers";
|
1041
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "widgets";[0m
|
1042
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1043
|
+
FROM sqlite_master
|
1044
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1045
|
+
[1m[36mSQL (107.1ms)[0m [1mDELETE FROM "users";[0m
|
1046
|
+
[1m[35mSQL (87.9ms)[0m DELETE FROM "roles";
|
1047
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "structures";[0m
|
1048
|
+
[1m[35mSQL (88.2ms)[0m DELETE FROM "pages";
|
1049
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "assets";[0m
|
1050
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "headers";
|
1051
|
+
[1m[36mSQL (154.5ms)[0m [1mDELETE FROM "widgets";[0m
|
1052
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
1053
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "users" ("current_sign_in_at", "confirmation_token", "last_sign_in_ip", "last_sign_in_at", "remember_created_at", "name", "reset_password_sent_at", "email", "password_salt", "updated_at", "encrypted_password", "reset_password_token", "current_sign_in_ip", "sign_in_count", "created_at", "confirmed_at", "locked_at", "confirmation_sent_at", "failed_attempts") VALUES (NULL, NULL, NULL, NULL, NULL, 'Admin', NULL, 'testing1@example.com', '9sMPBhqAe1fpGbsQGaWJ', '2011-09-13 11:09:42.339934', '27bfc545f7d2f727538f418472f005fabdf910aec39741c6e66e2e90760eb76c03ccb6f4cbf93c5d7dfb4300fc29cdf34c1dc16c458fa608b747c4715d449ee5', NULL, NULL, 0, '2011-09-13 11:09:42.339934', '2011-09-13 11:09:42.334979', NULL, NULL, 0)[0m
|
1054
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("role_type", "created_at", "updated_at", "user_id") VALUES (4, '2011-09-13 11:09:42.343394', '2011-09-13 11:09:42.343394', 11)
|
1055
|
+
Processing by Manage::LocalesController#index as HTML
|
1056
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1[0m
|
1057
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 11) LIMIT 1
|
1058
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 11) LIMIT 1[0m
|
1059
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (2.9ms)
|
1060
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 11 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
1061
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (11.5ms)
|
1062
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.4ms)
|
1063
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.7ms)
|
1064
|
+
Completed 200 OK in 54ms (Views: 46.8ms | ActiveRecord: 1340.6ms)
|
1065
|
+
Processing by Manage::LocalesController#edit as HTML
|
1066
|
+
Parameters: {"id"=>:uk}
|
1067
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1[0m
|
1068
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 11) LIMIT 1
|
1069
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 11) LIMIT 1[0m
|
1070
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 11 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
1071
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (4.4ms)
|
1072
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1073
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
1074
|
+
Completed 200 OK in 19ms (Views: 12.8ms | ActiveRecord: 0.9ms)
|
1075
|
+
Processing by Manage::LocalesController#update as HTML
|
1076
|
+
Parameters: {"text"=>"uk:\n title: 'Hello World'", "id"=>:uk}
|
1077
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1[0m
|
1078
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 11) LIMIT 1
|
1079
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 11) LIMIT 1[0m
|
1080
|
+
Redirected to http://test.host/manage/locales
|
1081
|
+
Completed 302 Found in 116ms
|
1082
|
+
Processing by Manage::LocalesController#index as HTML
|
1083
|
+
Completed in 2ms
|
1084
|
+
Processing by Manage::LocalesController#edit as HTML
|
1085
|
+
Parameters: {"id"=>:uk}
|
1086
|
+
Completed in 0ms
|
1087
|
+
Processing by Manage::LocalesController#update as HTML
|
1088
|
+
Parameters: {"id"=>:uk}
|
1089
|
+
Completed in 0ms
|
1090
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1091
|
+
FROM sqlite_master
|
1092
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1093
|
+
[1m[36mSQL (105.3ms)[0m [1mDELETE FROM "users";[0m
|
1094
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
1095
|
+
[1m[36mSQL (132.4ms)[0m [1mDELETE FROM "structures";[0m
|
1096
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "pages";
|
1097
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "assets";[0m
|
1098
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "headers";
|
1099
|
+
[1m[36mSQL (110.2ms)[0m [1mDELETE FROM "widgets";[0m
|
1100
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
1101
|
+
FROM sqlite_master
|
1102
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1103
|
+
[0m
|
1104
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1105
|
+
FROM sqlite_master
|
1106
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1107
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1108
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1109
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1110
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1111
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1112
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1113
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1114
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1115
|
+
FROM sqlite_master
|
1116
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1117
|
+
[1m[36mSQL (157.4ms)[0m [1mDELETE FROM "users";[0m
|
1118
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
1119
|
+
[1m[36mSQL (143.5ms)[0m [1mDELETE FROM "structures";[0m
|
1120
|
+
[1m[35mSQL (99.8ms)[0m DELETE FROM "pages";
|
1121
|
+
[1m[36mSQL (98.7ms)[0m [1mDELETE FROM "assets";[0m
|
1122
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "headers";
|
1123
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "widgets";[0m
|
1124
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1125
|
+
FROM sqlite_master
|
1126
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1127
|
+
[1m[36mSQL (85.1ms)[0m [1mDELETE FROM "users";[0m
|
1128
|
+
[1m[35mSQL (176.4ms)[0m DELETE FROM "roles";
|
1129
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "structures";[0m
|
1130
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "pages";
|
1131
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "assets";[0m
|
1132
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
1133
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "widgets";[0m
|
1134
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
1135
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "users" ("last_sign_in_ip", "created_at", "reset_password_token", "confirmation_sent_at", "locked_at", "remember_created_at", "confirmed_at", "current_sign_in_at", "sign_in_count", "updated_at", "name", "reset_password_sent_at", "confirmation_token", "password_salt", "last_sign_in_at", "failed_attempts", "email", "current_sign_in_ip", "encrypted_password") VALUES (NULL, '2011-09-13 11:12:02.494348', NULL, NULL, NULL, NULL, '2011-09-13 11:12:02.488874', NULL, 0, '2011-09-13 11:12:02.494348', 'Admin', NULL, NULL, 'PyJ1QQLErxZ5sJVL26Tr', NULL, 0, 'testing1@example.com', NULL, '8023eef814b48c87f519d3a5e5294da20dc778f7ed1b96c65c23fcd76ff8fec35e10df0ce4b807fba106b7684e82c556c86f22afc101499878171e0bd35c3413')[0m
|
1136
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("role_type", "created_at", "user_id", "updated_at") VALUES (4, '2011-09-13 11:12:02.497770', 12, '2011-09-13 11:12:02.497770')
|
1137
|
+
Processing by Manage::LocalesController#index as HTML
|
1138
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1[0m
|
1139
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 12) LIMIT 1
|
1140
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 12) LIMIT 1[0m
|
1141
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (3.0ms)
|
1142
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 12 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
1143
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (11.9ms)
|
1144
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.4ms)
|
1145
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.8ms)
|
1146
|
+
Completed 200 OK in 56ms (Views: 48.5ms | ActiveRecord: 1579.7ms)
|
1147
|
+
Processing by Manage::LocalesController#edit as HTML
|
1148
|
+
Parameters: {"id"=>:en}
|
1149
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1[0m
|
1150
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 12) LIMIT 1
|
1151
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 12) LIMIT 1[0m
|
1152
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 12 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
1153
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (4.8ms)
|
1154
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1155
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.5ms)
|
1156
|
+
Completed 200 OK in 21ms (Views: 14.2ms | ActiveRecord: 0.9ms)
|
1157
|
+
Processing by Manage::LocalesController#update as HTML
|
1158
|
+
Parameters: {"text"=>"en:\n title: 'Hello World'\nnew: 'temp'", "id"=>:en}
|
1159
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1[0m
|
1160
|
+
[1m[35mRole Load (0.3ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 12) LIMIT 1
|
1161
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 12) LIMIT 1[0m
|
1162
|
+
Completed 500 Internal Server Error in 12ms
|
1163
|
+
Processing by Manage::LocalesController#index as HTML
|
1164
|
+
Completed in 2ms
|
1165
|
+
Processing by Manage::LocalesController#edit as HTML
|
1166
|
+
Parameters: {"id"=>:en}
|
1167
|
+
Completed in 0ms
|
1168
|
+
Processing by Manage::LocalesController#update as HTML
|
1169
|
+
Parameters: {"id"=>:en}
|
1170
|
+
Completed in 0ms
|
1171
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1172
|
+
FROM sqlite_master
|
1173
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1174
|
+
[1m[36mSQL (189.3ms)[0m [1mDELETE FROM "users";[0m
|
1175
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
1176
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "structures";[0m
|
1177
|
+
[1m[35mSQL (76.9ms)[0m DELETE FROM "pages";
|
1178
|
+
[1m[36mSQL (88.4ms)[0m [1mDELETE FROM "assets";[0m
|
1179
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "headers";
|
1180
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "widgets";[0m
|
1181
|
+
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
1182
|
+
FROM sqlite_master
|
1183
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1184
|
+
[0m
|
1185
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1186
|
+
FROM sqlite_master
|
1187
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1188
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1189
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1190
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1191
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1192
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1193
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1194
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1195
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1196
|
+
FROM sqlite_master
|
1197
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1198
|
+
[1m[36mSQL (128.8ms)[0m [1mDELETE FROM "users";[0m
|
1199
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "roles";
|
1200
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "structures";[0m
|
1201
|
+
[1m[35mSQL (165.4ms)[0m DELETE FROM "pages";
|
1202
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "assets";[0m
|
1203
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
1204
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "widgets";[0m
|
1205
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
1206
|
+
FROM sqlite_master
|
1207
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1208
|
+
[1m[36mSQL (107.0ms)[0m [1mDELETE FROM "users";[0m
|
1209
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
1210
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "structures";[0m
|
1211
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "pages";
|
1212
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "assets";[0m
|
1213
|
+
[1m[35mSQL (121.1ms)[0m DELETE FROM "headers";
|
1214
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "widgets";[0m
|
1215
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
1216
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "users" ("remember_created_at", "current_sign_in_at", "last_sign_in_ip", "encrypted_password", "locked_at", "password_salt", "failed_attempts", "confirmation_token", "sign_in_count", "last_sign_in_at", "email", "name", "reset_password_token", "reset_password_sent_at", "updated_at", "created_at", "confirmed_at", "confirmation_sent_at", "current_sign_in_ip") VALUES (NULL, NULL, NULL, 'd3d7e34d7beee145c2cfbf46dd4f4f8b2a6fa2b7b3d9068b3c881b1647b034d93d22643fe154636016025f303d3ccdf3b2b8561356decd6a9ff108b966381cee', NULL, 'LW46aizVBuEFh5sWp6Yk', 0, NULL, 0, NULL, 'testing1@example.com', 'Admin', NULL, NULL, '2011-09-13 11:15:07.162438', '2011-09-13 11:15:07.162438', '2011-09-13 11:15:07.157755', NULL, NULL)[0m
|
1217
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("updated_at", "created_at", "role_type", "user_id") VALUES ('2011-09-13 11:15:07.165773', '2011-09-13 11:15:07.165773', 4, 13)
|
1218
|
+
Processing by Manage::LocalesController#index as HTML
|
1219
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1[0m
|
1220
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 13) LIMIT 1
|
1221
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 13) LIMIT 1[0m
|
1222
|
+
Completed 500 Internal Server Error in 22ms
|
1223
|
+
Processing by Manage::LocalesController#edit as HTML
|
1224
|
+
Parameters: {"id"=>:uk}
|
1225
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1
|
1226
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 13) LIMIT 1[0m
|
1227
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 13) LIMIT 1
|
1228
|
+
Completed 500 Internal Server Error in 18ms
|
1229
|
+
Processing by Manage::LocalesController#update as HTML
|
1230
|
+
Parameters: {"text"=>"uk:\n title: 'Hello World'", "id"=>:uk}
|
1231
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1[0m
|
1232
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 13) LIMIT 1
|
1233
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 13) LIMIT 1[0m
|
1234
|
+
Completed 500 Internal Server Error in 15ms
|
1235
|
+
Processing by Manage::LocalesController#index as HTML
|
1236
|
+
Completed in 2ms
|
1237
|
+
Processing by Manage::LocalesController#edit as HTML
|
1238
|
+
Parameters: {"id"=>:uk}
|
1239
|
+
Completed in 0ms
|
1240
|
+
Processing by Manage::LocalesController#update as HTML
|
1241
|
+
Parameters: {"id"=>:uk}
|
1242
|
+
Completed in 0ms
|
1243
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1244
|
+
FROM sqlite_master
|
1245
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1246
|
+
[1m[36mSQL (148.3ms)[0m [1mDELETE FROM "users";[0m
|
1247
|
+
[1m[35mSQL (132.2ms)[0m DELETE FROM "roles";
|
1248
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "structures";[0m
|
1249
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "pages";
|
1250
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "assets";[0m
|
1251
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "headers";
|
1252
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "widgets";[0m
|
1253
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
1254
|
+
FROM sqlite_master
|
1255
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1256
|
+
[0m
|
1257
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1258
|
+
FROM sqlite_master
|
1259
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1260
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1261
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1262
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1263
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1264
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1265
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1266
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1267
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1268
|
+
FROM sqlite_master
|
1269
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1270
|
+
[1m[36mSQL (167.4ms)[0m [1mDELETE FROM "users";[0m
|
1271
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
1272
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
1273
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "pages";
|
1274
|
+
[1m[36mSQL (88.4ms)[0m [1mDELETE FROM "assets";[0m
|
1275
|
+
[1m[35mSQL (110.0ms)[0m DELETE FROM "headers";
|
1276
|
+
[1m[36mSQL (88.1ms)[0m [1mDELETE FROM "widgets";[0m
|
1277
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1278
|
+
FROM sqlite_master
|
1279
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1280
|
+
[1m[36mSQL (85.3ms)[0m [1mDELETE FROM "users";[0m
|
1281
|
+
[1m[35mSQL (159.0ms)[0m DELETE FROM "roles";
|
1282
|
+
[1m[36mSQL (94.5ms)[0m [1mDELETE FROM "structures";[0m
|
1283
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "pages";
|
1284
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "assets";[0m
|
1285
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
1286
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "widgets";[0m
|
1287
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
1288
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "users" ("current_sign_in_at", "encrypted_password", "confirmation_token", "locked_at", "failed_attempts", "last_sign_in_ip", "email", "reset_password_sent_at", "reset_password_token", "name", "remember_created_at", "last_sign_in_at", "password_salt", "confirmation_sent_at", "created_at", "confirmed_at", "current_sign_in_ip", "sign_in_count", "updated_at") VALUES (NULL, '225d61f9b80f0e9b50f437cedcfc8f7d7d0c9e93b2925f6e64bad7b6f66140b584da9262f30a7bd5f58659bfeecd6ba80742524a82563bb06e08a7aa1ecfa02f', NULL, NULL, 0, NULL, 'testing1@example.com', NULL, NULL, 'Admin', NULL, NULL, '5W3i2Ywp2NRMuambtSgu', NULL, '2011-09-13 11:15:48.262828', '2011-09-13 11:15:48.255382', NULL, 0, '2011-09-13 11:15:48.262828')[0m
|
1289
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("role_type", "created_at", "updated_at", "user_id") VALUES (4, '2011-09-13 11:15:48.266486', '2011-09-13 11:15:48.266486', 14)
|
1290
|
+
Processing by Manage::LocalesController#index as HTML
|
1291
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1[0m
|
1292
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 14) LIMIT 1
|
1293
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 14) LIMIT 1[0m
|
1294
|
+
Completed 500 Internal Server Error in 23ms
|
1295
|
+
Processing by Manage::LocalesController#edit as HTML
|
1296
|
+
Parameters: {"id"=>:ru}
|
1297
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1
|
1298
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 14) LIMIT 1[0m
|
1299
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 14) LIMIT 1
|
1300
|
+
Completed 500 Internal Server Error in 18ms
|
1301
|
+
Processing by Manage::LocalesController#update as HTML
|
1302
|
+
Parameters: {"text"=>"ru:\n title: 'Hello World'", "id"=>:ru}
|
1303
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1[0m
|
1304
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 14) LIMIT 1
|
1305
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 14) LIMIT 1[0m
|
1306
|
+
Completed 500 Internal Server Error in 14ms
|
1307
|
+
Processing by Manage::LocalesController#index as HTML
|
1308
|
+
Completed in 2ms
|
1309
|
+
Processing by Manage::LocalesController#edit as HTML
|
1310
|
+
Parameters: {"id"=>:ru}
|
1311
|
+
Completed in 0ms
|
1312
|
+
Processing by Manage::LocalesController#update as HTML
|
1313
|
+
Parameters: {"id"=>:ru}
|
1314
|
+
Completed in 0ms
|
1315
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1316
|
+
FROM sqlite_master
|
1317
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1318
|
+
[1m[36mSQL (141.4ms)[0m [1mDELETE FROM "users";[0m
|
1319
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
1320
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
1321
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "pages";
|
1322
|
+
[1m[36mSQL (77.3ms)[0m [1mDELETE FROM "assets";[0m
|
1323
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "headers";
|
1324
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "widgets";[0m
|
1325
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
1326
|
+
FROM sqlite_master
|
1327
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1328
|
+
[0m
|
1329
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1330
|
+
FROM sqlite_master
|
1331
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1332
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1333
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1334
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1335
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1336
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1337
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1338
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1339
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1340
|
+
FROM sqlite_master
|
1341
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1342
|
+
[1m[36mSQL (160.8ms)[0m [1mDELETE FROM "users";[0m
|
1343
|
+
[1m[35mSQL (132.2ms)[0m DELETE FROM "roles";
|
1344
|
+
[1m[36mSQL (147.7ms)[0m [1mDELETE FROM "structures";[0m
|
1345
|
+
[1m[35mSQL (503.4ms)[0m DELETE FROM "pages";
|
1346
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "assets";[0m
|
1347
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "headers";
|
1348
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "widgets";[0m
|
1349
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1350
|
+
FROM sqlite_master
|
1351
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1352
|
+
[1m[36mSQL (118.3ms)[0m [1mDELETE FROM "users";[0m
|
1353
|
+
[1m[35mSQL (121.1ms)[0m DELETE FROM "roles";
|
1354
|
+
[1m[36mSQL (154.5ms)[0m [1mDELETE FROM "structures";[0m
|
1355
|
+
[1m[35mSQL (143.3ms)[0m DELETE FROM "pages";
|
1356
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "assets";[0m
|
1357
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "headers";
|
1358
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "widgets";[0m
|
1359
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
1360
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "users" ("confirmed_at", "current_sign_in_at", "confirmation_token", "updated_at", "reset_password_sent_at", "last_sign_in_ip", "created_at", "encrypted_password", "sign_in_count", "failed_attempts", "password_salt", "last_sign_in_at", "email", "remember_created_at", "reset_password_token", "name", "locked_at", "current_sign_in_ip", "confirmation_sent_at") VALUES ('2011-09-13 11:16:49.382084', NULL, NULL, '2011-09-13 11:16:49.386927', NULL, NULL, '2011-09-13 11:16:49.386927', '2147e66e3e0dd166dfb6856fbd65fc912736cdd414fd41816885b4a15c7935b3019ecaaaaf6a5509ea633cb49ce2739b352f6d5b0e4c7dd5d9cd3ca2ca327d99', 0, 0, 'cQjfkY2LQWVsNkxz7VMB', NULL, 'testing1@example.com', NULL, NULL, 'Admin', NULL, NULL, NULL)[0m
|
1361
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "roles" ("user_id", "role_type", "created_at", "updated_at") VALUES (15, 4, '2011-09-13 11:16:49.390430', '2011-09-13 11:16:49.390430')
|
1362
|
+
Processing by Manage::LocalesController#index as HTML
|
1363
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1[0m
|
1364
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 15) LIMIT 1
|
1365
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 15) LIMIT 1[0m
|
1366
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (2.9ms)
|
1367
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 15 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
1368
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (12.3ms)
|
1369
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.4ms)
|
1370
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.8ms)
|
1371
|
+
Completed 200 OK in 55ms (Views: 47.8ms | ActiveRecord: 2113.3ms)
|
1372
|
+
Processing by Manage::LocalesController#edit as HTML
|
1373
|
+
Parameters: {"id"=>:ru}
|
1374
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1[0m
|
1375
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 15) LIMIT 1
|
1376
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 15) LIMIT 1[0m
|
1377
|
+
[1m[35mAvatar Load (0.3ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 15 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
1378
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (4.4ms)
|
1379
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1380
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
1381
|
+
Completed 200 OK in 19ms (Views: 12.9ms | ActiveRecord: 0.9ms)
|
1382
|
+
Processing by Manage::LocalesController#update as HTML
|
1383
|
+
Parameters: {"text"=>"ru:\n title: 'Hello World'", "id"=>:ru}
|
1384
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1[0m
|
1385
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 15) LIMIT 1
|
1386
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 15) LIMIT 1[0m
|
1387
|
+
Redirected to http://test.host/manage/locales
|
1388
|
+
Completed 302 Found in 111ms
|
1389
|
+
Processing by Manage::LocalesController#update as HTML
|
1390
|
+
Parameters: {"text"=>"ru:\n title: 'Hello World'", "id"=>:ru}
|
1391
|
+
Redirected to http://test.host/manage/locales
|
1392
|
+
Completed 302 Found in 17ms
|
1393
|
+
Processing by Manage::LocalesController#index as HTML
|
1394
|
+
Completed in 2ms
|
1395
|
+
Processing by Manage::LocalesController#edit as HTML
|
1396
|
+
Parameters: {"id"=>:ru}
|
1397
|
+
Completed in 0ms
|
1398
|
+
Processing by Manage::LocalesController#update as HTML
|
1399
|
+
Parameters: {"id"=>:ru}
|
1400
|
+
Completed in 0ms
|
1401
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1402
|
+
FROM sqlite_master
|
1403
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1404
|
+
[1m[36mSQL (81.0ms)[0m [1mDELETE FROM "users";[0m
|
1405
|
+
[1m[35mSQL (132.1ms)[0m DELETE FROM "roles";
|
1406
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "structures";[0m
|
1407
|
+
[1m[35mSQL (88.2ms)[0m DELETE FROM "pages";
|
1408
|
+
[1m[36mSQL (88.1ms)[0m [1mDELETE FROM "assets";[0m
|
1409
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "headers";
|
1410
|
+
[1m[36mSQL (132.4ms)[0m [1mDELETE FROM "widgets";[0m
|
1411
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
1412
|
+
FROM sqlite_master
|
1413
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1414
|
+
[0m
|
1415
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1416
|
+
FROM sqlite_master
|
1417
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1418
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1419
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1420
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1421
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1422
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1423
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1424
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1425
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1426
|
+
FROM sqlite_master
|
1427
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1428
|
+
[1m[36mSQL (145.9ms)[0m [1mDELETE FROM "users";[0m
|
1429
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "roles";
|
1430
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "structures";[0m
|
1431
|
+
[1m[35mSQL (87.9ms)[0m DELETE FROM "pages";
|
1432
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "assets";[0m
|
1433
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "headers";
|
1434
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "widgets";[0m
|
1435
|
+
[1m[35mSQL (0.6ms)[0m SELECT name
|
1436
|
+
FROM sqlite_master
|
1437
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1438
|
+
[1m[36mSQL (95.8ms)[0m [1mDELETE FROM "users";[0m
|
1439
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
1440
|
+
[1m[36mSQL (319.9ms)[0m [1mDELETE FROM "structures";[0m
|
1441
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "pages";
|
1442
|
+
[1m[36mSQL (185.2ms)[0m [1mDELETE FROM "assets";[0m
|
1443
|
+
[1m[35mSQL (379.8ms)[0m DELETE FROM "headers";
|
1444
|
+
[1m[36mSQL (152.2ms)[0m [1mDELETE FROM "widgets";[0m
|
1445
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
1446
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "users" ("name", "failed_attempts", "confirmed_at", "confirmation_token", "reset_password_token", "current_sign_in_ip", "reset_password_sent_at", "password_salt", "created_at", "encrypted_password", "email", "current_sign_in_at", "locked_at", "sign_in_count", "confirmation_sent_at", "updated_at", "remember_created_at", "last_sign_in_at", "last_sign_in_ip") VALUES ('Admin', 0, '2011-09-13 11:16:59.043353', NULL, NULL, NULL, NULL, 'pMYF4mxApaDvLtLcSxxW', '2011-09-13 11:16:59.048242', 'a19397b15eb2a058df7d7881871a614163a0ea0c4da4119ee30d9cf1a20cdba009597842910a4d48331973a8e40257a9566b805052ced86e90532c0656257f3e', 'testing1@example.com', NULL, NULL, 0, NULL, '2011-09-13 11:16:59.048242', NULL, NULL, NULL)[0m
|
1447
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("created_at", "role_type", "user_id", "updated_at") VALUES ('2011-09-13 11:16:59.051741', 4, 16, '2011-09-13 11:16:59.051741')
|
1448
|
+
Processing by Manage::LocalesController#index as HTML
|
1449
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1[0m
|
1450
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 16) LIMIT 1
|
1451
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 16) LIMIT 1[0m
|
1452
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (3.0ms)
|
1453
|
+
[1m[35mAvatar Load (0.3ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 16 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
1454
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (16.0ms)
|
1455
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.7ms)
|
1456
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (1.1ms)
|
1457
|
+
Completed 200 OK in 63ms (Views: 54.8ms | ActiveRecord: 2064.7ms)
|
1458
|
+
Processing by Manage::LocalesController#edit as HTML
|
1459
|
+
Parameters: {"id"=>:en}
|
1460
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1[0m
|
1461
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 16) LIMIT 1
|
1462
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 16) LIMIT 1[0m
|
1463
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 16 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
1464
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (4.7ms)
|
1465
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1466
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.7ms)
|
1467
|
+
Completed 200 OK in 24ms (Views: 13.8ms | ActiveRecord: 1.0ms)
|
1468
|
+
Processing by Manage::LocalesController#update as HTML
|
1469
|
+
Parameters: {"text"=>"en:\n title: 'Hello World'", "id"=>:en}
|
1470
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1[0m
|
1471
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 16) LIMIT 1
|
1472
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 16) LIMIT 1[0m
|
1473
|
+
Redirected to http://test.host/manage/locales
|
1474
|
+
Completed 302 Found in 114ms
|
1475
|
+
Processing by Manage::LocalesController#update as HTML
|
1476
|
+
Parameters: {"text"=>"en:\n title: 'Hello World'", "id"=>:en}
|
1477
|
+
Redirected to http://test.host/manage/locales
|
1478
|
+
Completed 302 Found in 21ms
|
1479
|
+
Processing by Manage::LocalesController#index as HTML
|
1480
|
+
Completed in 3ms
|
1481
|
+
Processing by Manage::LocalesController#edit as HTML
|
1482
|
+
Parameters: {"id"=>:en}
|
1483
|
+
Completed in 0ms
|
1484
|
+
Processing by Manage::LocalesController#update as HTML
|
1485
|
+
Parameters: {"id"=>:en}
|
1486
|
+
Completed in 0ms
|
1487
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1488
|
+
FROM sqlite_master
|
1489
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1490
|
+
[1m[36mSQL (134.6ms)[0m [1mDELETE FROM "users";[0m
|
1491
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "roles";
|
1492
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
1493
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "pages";
|
1494
|
+
[1m[36mSQL (77.6ms)[0m [1mDELETE FROM "assets";[0m
|
1495
|
+
[1m[35mSQL (87.7ms)[0m DELETE FROM "headers";
|
1496
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "widgets";[0m
|
1497
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
1498
|
+
FROM sqlite_master
|
1499
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1500
|
+
[0m
|
1501
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1502
|
+
FROM sqlite_master
|
1503
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1504
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1505
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1506
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1507
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1508
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1509
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1510
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1511
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1512
|
+
FROM sqlite_master
|
1513
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1514
|
+
[1m[36mSQL (107.3ms)[0m [1mDELETE FROM "users";[0m
|
1515
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "roles";
|
1516
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "structures";[0m
|
1517
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "pages";
|
1518
|
+
[1m[36mSQL (110.5ms)[0m [1mDELETE FROM "assets";[0m
|
1519
|
+
[1m[35mSQL (98.8ms)[0m DELETE FROM "headers";
|
1520
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "widgets";[0m
|
1521
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1522
|
+
FROM sqlite_master
|
1523
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1524
|
+
[1m[36mSQL (96.2ms)[0m [1mDELETE FROM "users";[0m
|
1525
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
1526
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "structures";[0m
|
1527
|
+
[1m[35mSQL (231.6ms)[0m DELETE FROM "pages";
|
1528
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "assets";[0m
|
1529
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "headers";
|
1530
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "widgets";[0m
|
1531
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
1532
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "users" ("confirmed_at", "confirmation_token", "confirmation_sent_at", "updated_at", "encrypted_password", "remember_created_at", "reset_password_token", "failed_attempts", "locked_at", "created_at", "current_sign_in_at", "password_salt", "last_sign_in_at", "name", "email", "sign_in_count", "reset_password_sent_at", "current_sign_in_ip", "last_sign_in_ip") VALUES ('2011-09-13 11:17:13.168234', NULL, NULL, '2011-09-13 11:17:13.172972', 'cf7d12579756afaeb0f665ec42790bd09a04e27ceb18f80d1766b723326487cc1f1243d567ae2d9e5bf0a8966ff92ae1a3102395d2b46b23c44bb7a5fef8bf29', NULL, NULL, 0, NULL, '2011-09-13 11:17:13.172972', NULL, 'ESEw7vkPiU6fssxUnc5Q', NULL, 'Admin', 'testing1@example.com', 0, NULL, NULL, NULL)[0m
|
1533
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("role_type", "user_id", "updated_at", "created_at") VALUES (4, 17, '2011-09-13 11:17:13.176422', '2011-09-13 11:17:13.176422')
|
1534
|
+
Processing by Manage::LocalesController#index as HTML
|
1535
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 17 LIMIT 1[0m
|
1536
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 17) LIMIT 1
|
1537
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 17) LIMIT 1[0m
|
1538
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (3.3ms)
|
1539
|
+
[1m[35mAvatar Load (0.3ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 17 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
1540
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (15.0ms)
|
1541
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.4ms)
|
1542
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.8ms)
|
1543
|
+
Completed 200 OK in 58ms (Views: 51.0ms | ActiveRecord: 1595.4ms)
|
1544
|
+
Processing by Manage::LocalesController#edit as HTML
|
1545
|
+
Parameters: {"id"=>:en}
|
1546
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 17 LIMIT 1[0m
|
1547
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 17) LIMIT 1
|
1548
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 17) LIMIT 1[0m
|
1549
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 17 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
1550
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (4.4ms)
|
1551
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1552
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
1553
|
+
Completed 200 OK in 20ms (Views: 13.1ms | ActiveRecord: 0.9ms)
|
1554
|
+
Processing by Manage::LocalesController#update as HTML
|
1555
|
+
Parameters: {"text"=>"en:\n title: 'Hello World'", "id"=>:en}
|
1556
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 17 LIMIT 1[0m
|
1557
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 17) LIMIT 1
|
1558
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 17) LIMIT 1[0m
|
1559
|
+
Redirected to http://test.host/manage/locales
|
1560
|
+
Completed 302 Found in 115ms
|
1561
|
+
Processing by Manage::LocalesController#update as HTML
|
1562
|
+
Parameters: {"text"=>"en:\n title: 'Hello World'", "id"=>:en}
|
1563
|
+
Redirected to http://test.host/manage/locales
|
1564
|
+
Completed 302 Found in 17ms
|
1565
|
+
Processing by Manage::LocalesController#index as HTML
|
1566
|
+
Completed in 2ms
|
1567
|
+
Processing by Manage::LocalesController#edit as HTML
|
1568
|
+
Parameters: {"id"=>:en}
|
1569
|
+
Completed in 0ms
|
1570
|
+
Processing by Manage::LocalesController#update as HTML
|
1571
|
+
Parameters: {"id"=>:en}
|
1572
|
+
Completed in 0ms
|
1573
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1574
|
+
FROM sqlite_master
|
1575
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1576
|
+
[1m[36mSQL (65.8ms)[0m [1mDELETE FROM "users";[0m
|
1577
|
+
[1m[35mSQL (132.2ms)[0m DELETE FROM "roles";
|
1578
|
+
[1m[36mSQL (143.4ms)[0m [1mDELETE FROM "structures";[0m
|
1579
|
+
[1m[35mSQL (143.3ms)[0m DELETE FROM "pages";
|
1580
|
+
[1m[36mSQL (132.4ms)[0m [1mDELETE FROM "assets";[0m
|
1581
|
+
[1m[35mSQL (176.4ms)[0m DELETE FROM "headers";
|
1582
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "widgets";[0m
|
1583
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
1584
|
+
FROM sqlite_master
|
1585
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1586
|
+
[0m
|
1587
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1588
|
+
FROM sqlite_master
|
1589
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1590
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1591
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1592
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1593
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1594
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1595
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1596
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1597
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1598
|
+
FROM sqlite_master
|
1599
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1600
|
+
[1m[36mSQL (160.7ms)[0m [1mDELETE FROM "users";[0m
|
1601
|
+
[1m[35mSQL (98.9ms)[0m DELETE FROM "roles";
|
1602
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "structures";[0m
|
1603
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "pages";
|
1604
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "assets";[0m
|
1605
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
1606
|
+
[1m[36mSQL (77.1ms)[0m [1mDELETE FROM "widgets";[0m
|
1607
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1608
|
+
FROM sqlite_master
|
1609
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1610
|
+
[1m[36mSQL (84.8ms)[0m [1mDELETE FROM "users";[0m
|
1611
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
1612
|
+
[1m[36mSQL (77.1ms)[0m [1mDELETE FROM "structures";[0m
|
1613
|
+
[1m[35mSQL (77.1ms)[0m DELETE FROM "pages";
|
1614
|
+
[1m[36mSQL (66.1ms)[0m [1mDELETE FROM "assets";[0m
|
1615
|
+
[1m[35mSQL (65.9ms)[0m DELETE FROM "headers";
|
1616
|
+
[1m[36mSQL (66.1ms)[0m [1mDELETE FROM "widgets";[0m
|
1617
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1618
|
+
FROM sqlite_master
|
1619
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1620
|
+
[1m[36mSQL (85.2ms)[0m [1mDELETE FROM "users";[0m
|
1621
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "roles";
|
1622
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
1623
|
+
[1m[35mSQL (76.9ms)[0m DELETE FROM "pages";
|
1624
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "assets";[0m
|
1625
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "headers";
|
1626
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "widgets";[0m
|
1627
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1
|
1628
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "users" ("confirmed_at", "current_sign_in_at", "confirmation_token", "reset_password_token", "password_salt", "reset_password_sent_at", "remember_created_at", "last_sign_in_ip", "last_sign_in_at", "updated_at", "locked_at", "failed_attempts", "current_sign_in_ip", "sign_in_count", "confirmation_sent_at", "name", "created_at", "encrypted_password", "email") VALUES ('2011-09-13 14:26:02.862115', NULL, NULL, NULL, '8hp1qs9abPuk9haUXqmq', NULL, NULL, NULL, NULL, '2011-09-13 14:26:02.866713', NULL, 0, NULL, 0, NULL, 'Admin', '2011-09-13 14:26:02.866713', '1a370f34ebaae575bbf04b6a7a88661e84e0cc3d8606d72e2d8e2733ed0b42cf12b3237bec4860caeab1d9aee507af9b1374a63dd89e78eae0163ce18ccbf12b', 'testing1@example.com')[0m
|
1629
|
+
[1m[35mAREL (0.1ms)[0m INSERT INTO "roles" ("updated_at", "created_at", "role_type", "user_id") VALUES ('2011-09-13 14:26:02.870152', '2011-09-13 14:26:02.870152', 4, 18)
|
1630
|
+
Processing by Manage::LocalesController#index as HTML
|
1631
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 18 LIMIT 1[0m
|
1632
|
+
[1m[35mRole Load (0.3ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 18) LIMIT 1
|
1633
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 18) LIMIT 1[0m
|
1634
|
+
Rendered /var/www/plugins/cms/sunrise-locales/app/views/manage/locales/_locale.html.erb (3.2ms)
|
1635
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 18 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
1636
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (102.6ms)
|
1637
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.5ms)
|
1638
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.8ms)
|
1639
|
+
Completed 200 OK in 145ms (Views: 137.8ms | ActiveRecord: 1788.2ms)
|
1640
|
+
Processing by Manage::LocalesController#edit as HTML
|
1641
|
+
Parameters: {"id"=>:ru}
|
1642
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 18 LIMIT 1[0m
|
1643
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 18) LIMIT 1
|
1644
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 18) LIMIT 1[0m
|
1645
|
+
[1m[35mAvatar Load (0.2ms)[0m SELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 18 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1
|
1646
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_head.html.erb (5.0ms)
|
1647
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1648
|
+
Rendered /home/superp/.rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.2.0/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
1649
|
+
Completed 200 OK in 21ms (Views: 14.2ms | ActiveRecord: 0.9ms)
|
1650
|
+
Processing by Manage::LocalesController#update as HTML
|
1651
|
+
Parameters: {"text"=>"ru:\n title: 'Hello World'", "id"=>:ru}
|
1652
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 18 LIMIT 1[0m
|
1653
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 18) LIMIT 1
|
1654
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 18) LIMIT 1[0m
|
1655
|
+
Redirected to http://test.host/manage/locales
|
1656
|
+
Completed 302 Found in 22ms
|
1657
|
+
Processing by Manage::LocalesController#update as HTML
|
1658
|
+
Parameters: {"text"=>"ru:\n title: 'Hello World'", "id"=>:ru}
|
1659
|
+
Redirected to http://test.host/manage/locales
|
1660
|
+
Completed 302 Found in 16ms
|
1661
|
+
Processing by Manage::LocalesController#index as HTML
|
1662
|
+
Completed in 2ms
|
1663
|
+
Processing by Manage::LocalesController#edit as HTML
|
1664
|
+
Parameters: {"id"=>:ru}
|
1665
|
+
Completed in 0ms
|
1666
|
+
Processing by Manage::LocalesController#update as HTML
|
1667
|
+
Parameters: {"id"=>:ru}
|
1668
|
+
Completed in 0ms
|
1669
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1670
|
+
FROM sqlite_master
|
1671
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1672
|
+
[1m[36mSQL (83.1ms)[0m [1mDELETE FROM "users";[0m
|
1673
|
+
[1m[35mSQL (76.9ms)[0m DELETE FROM "roles";
|
1674
|
+
[1m[36mSQL (671.3ms)[0m [1mDELETE FROM "structures";[0m
|
1675
|
+
[1m[35mSQL (134.4ms)[0m DELETE FROM "pages";
|
1676
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "assets";[0m
|
1677
|
+
[1m[35mSQL (77.1ms)[0m DELETE FROM "headers";
|
1678
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "widgets";[0m
|