sunrise-questions 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +34 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +21 -0
- data/Rakefile +27 -0
- data/app/controllers/manage/questions_controller.rb +36 -0
- data/app/views/manage/questions/_form.html.erb +17 -0
- data/app/views/manage/questions/_model_filter.html.erb +34 -0
- data/app/views/manage/questions/_question.html.erb +27 -0
- data/app/views/manage/questions/edit.html.erb +6 -0
- data/app/views/manage/questions/index.html.erb +32 -0
- data/app/views/manage/questions/new.html.erb +6 -0
- data/app/views/manage/questions/show.html.erb +29 -0
- data/config/locales/ru.yml +16 -0
- data/config/locales/uk.yml +16 -0
- data/config/routes.rb +7 -0
- data/lib/generators/sunrise/questions/USAGE +12 -0
- data/lib/generators/sunrise/questions/install_generator.rb +34 -0
- data/lib/generators/sunrise/questions/templates/create_questions.rb +20 -0
- data/lib/generators/sunrise/questions/templates/question.rb +5 -0
- data/lib/sunrise-questions.rb +1 -0
- data/lib/sunrise/models/question.rb +34 -0
- data/lib/sunrise/questions.rb +12 -0
- data/lib/sunrise/questions/engine.rb +18 -0
- data/lib/sunrise/questions/version.rb +5 -0
- data/spec/controllers/manage/questions_controller_spec.rb +96 -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 +7 -0
- data/spec/dummy/app/models/defaults/attachment_file.rb +33 -0
- data/spec/dummy/app/models/defaults/avatar.rb +37 -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 +35 -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/models/question.rb +5 -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 +7 -0
- data/spec/dummy/config/locales/devise.en.yml +53 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/locales/simple_form.en.yml +24 -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/development.sqlite3 +0 -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/migrate/20110801161138_sunrise_create_questions.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/development.log +5 -0
- data/spec/dummy/log/production.log +0 -0
- data/spec/dummy/log/server.log +0 -0
- data/spec/dummy/log/test.log +1830 -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/question_factory.rb +10 -0
- data/spec/factories/structure_factory.rb +22 -0
- data/spec/factories/user_factory.rb +48 -0
- data/spec/generators/install_generator_spec.rb +24 -0
- data/spec/integration/navigation_spec.rb +9 -0
- data/spec/models/question_spec.rb +30 -0
- data/spec/spec.opts +2 -0
- data/spec/spec_helper.rb +57 -0
- data/spec/sunrise_questions_spec.rb +7 -0
- data/spec/support/helpers/controller_macros.rb +40 -0
- data/spec/tmp/app/models/question.rb +5 -0
- data/spec/tmp/db/migrate/20110801173811_sunrise_create_questions.rb +20 -0
- metadata +582 -0
@@ -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,20 @@
|
|
1
|
+
class SunriseCreateQuestions < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table :questions do |t|
|
4
|
+
t.integer :structure_id
|
5
|
+
t.string :title, :null => false
|
6
|
+
t.text :content
|
7
|
+
|
8
|
+
t.boolean :is_visible, :default => true
|
9
|
+
t.integer :sort_order, :default => 0
|
10
|
+
|
11
|
+
t.timestamps
|
12
|
+
end
|
13
|
+
|
14
|
+
add_index :questions, :structure_id
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.down
|
18
|
+
drop_table :questions
|
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,5 @@
|
|
1
|
+
DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from /var/www/gems/sunrise-questions/spec/dummy/config/environment.rb:5)
|
2
|
+
DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from /var/www/gems/sunrise-questions/spec/dummy/config/environment.rb:5)
|
3
|
+
DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from /var/www/gems/sunrise-questions/spec/dummy/config/environment.rb:5)
|
4
|
+
DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from /var/www/gems/sunrise-questions/spec/dummy/config/environment.rb:5)
|
5
|
+
DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from /var/www/gems/sunrise-questions/spec/dummy/config/environment.rb:5)
|
File without changes
|
File without changes
|
@@ -0,0 +1,1830 @@
|
|
1
|
+
[1m[36mSQL (0.4ms)[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.2ms)[0m SELECT name
|
13
|
+
FROM sqlite_master
|
14
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
15
|
+
[1m[36mSQL (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
16
|
+
[1m[35mSQL (133.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
17
|
+
[1m[36mSQL (0.2ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
18
|
+
[1m[35mSQL (89.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
19
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
20
|
+
FROM sqlite_master
|
21
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
22
|
+
[0m
|
23
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
24
|
+
FROM sqlite_master
|
25
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
26
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
27
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
28
|
+
[1m[35mSQL (0.7ms)[0m CREATE 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)
|
29
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
30
|
+
[1m[35mSQL (0.3ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
31
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
32
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
33
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
34
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("users")
|
35
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
36
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
37
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_confirmation_token" ON "users" ("confirmation_token")[0m
|
38
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
39
|
+
FROM sqlite_master
|
40
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
41
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110801124809')[0m
|
42
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
43
|
+
[1m[35mSQL (0.5ms)[0m CREATE 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)
|
44
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("roles")[0m
|
45
|
+
[1m[35mSQL (0.2ms)[0m CREATE INDEX "fk_user" ON "roles" ("user_id")
|
46
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
47
|
+
FROM sqlite_master
|
48
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
49
|
+
[0m
|
50
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110801124909')
|
51
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
52
|
+
[1m[36mSQL (0.6ms)[0m [1mCREATE 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) [0m
|
53
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("structures")
|
54
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "index_structures_on_kind_and_slug" ON "structures" ("kind", "slug")[0m
|
55
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("structures")
|
56
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_structures_on_kind_and_slug')[0m
|
57
|
+
[1m[35mSQL (0.2ms)[0m CREATE INDEX "index_structures_on_parent_id" ON "structures" ("parent_id")
|
58
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("structures")[0m
|
59
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_structures_on_parent_id')
|
60
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_structures_on_kind_and_slug')[0m
|
61
|
+
[1m[35mSQL (0.2ms)[0m CREATE INDEX "index_structures_on_lft_and_rgt" ON "structures" ("lft", "rgt")
|
62
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
63
|
+
FROM sqlite_master
|
64
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
65
|
+
[0m
|
66
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110801125009')
|
67
|
+
Migrating to SunriseCreatePages (20110801125109)
|
68
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE 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) [0m
|
69
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("pages")
|
70
|
+
[1m[36mSQL (0.1ms)[0m [1mCREATE INDEX "fk_pages" ON "pages" ("structure_id")[0m
|
71
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
72
|
+
FROM sqlite_master
|
73
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
74
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110801125109')[0m
|
75
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
76
|
+
[1m[35mSQL (0.5ms)[0m CREATE 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)
|
77
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("assets")[0m
|
78
|
+
[1m[35mSQL (0.3ms)[0m CREATE INDEX "index_assets_on_assetable_type_and_type_and_assetable_id" ON "assets" ("assetable_type", "type", "assetable_id")
|
79
|
+
[1m[36mSQL (0.2ms)[0m [1mPRAGMA index_list("assets")[0m
|
80
|
+
[1m[35mSQL (0.2ms)[0m PRAGMA index_info('index_assets_on_assetable_type_and_type_and_assetable_id')
|
81
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE INDEX "index_assets_on_assetable_type_and_assetable_id" ON "assets" ("assetable_type", "assetable_id")[0m
|
82
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("assets")
|
83
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('index_assets_on_assetable_type_and_assetable_id')[0m
|
84
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_info('index_assets_on_assetable_type_and_type_and_assetable_id')
|
85
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "index_assets_on_user_id" ON "assets" ("user_id")[0m
|
86
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
87
|
+
FROM sqlite_master
|
88
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
89
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110801125209')[0m
|
90
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
91
|
+
[1m[35mSQL (0.5ms)[0m CREATE 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)
|
92
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("headers")[0m
|
93
|
+
[1m[35mSQL (0.2ms)[0m CREATE INDEX "fk_headerable" ON "headers" ("headerable_type", "headerable_id")
|
94
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
95
|
+
FROM sqlite_master
|
96
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
97
|
+
[0m
|
98
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110801125309')
|
99
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
100
|
+
FROM sqlite_master
|
101
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
102
|
+
[0m
|
103
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
104
|
+
FROM sqlite_master
|
105
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
106
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
107
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
108
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
109
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
110
|
+
Migrating to SunriseCreatePages (20110801125109)
|
111
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
112
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
113
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
114
|
+
FROM sqlite_master
|
115
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
116
|
+
[0m
|
117
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
118
|
+
FROM sqlite_master
|
119
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
120
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
121
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
122
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
123
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
124
|
+
Migrating to SunriseCreatePages (20110801125109)
|
125
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
126
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
127
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
128
|
+
FROM sqlite_master
|
129
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
130
|
+
[1m[36mSQL (176.6ms)[0m [1mDELETE FROM "users";[0m
|
131
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
132
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "structures";[0m
|
133
|
+
[1m[35mSQL (110.0ms)[0m DELETE FROM "pages";
|
134
|
+
[1m[36mSQL (110.1ms)[0m [1mDELETE FROM "assets";[0m
|
135
|
+
[1m[35mSQL (187.5ms)[0m DELETE FROM "headers";
|
136
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
137
|
+
FROM sqlite_master
|
138
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
139
|
+
[0m
|
140
|
+
[1m[35mSQL (96.3ms)[0m DELETE FROM "users";
|
141
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "roles";[0m
|
142
|
+
[1m[35mSQL (134.6ms)[0m DELETE FROM "structures";
|
143
|
+
[1m[36mSQL (163.2ms)[0m [1mDELETE FROM "pages";[0m
|
144
|
+
[1m[35mSQL (99.4ms)[0m DELETE FROM "assets";
|
145
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "headers";[0m
|
146
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
147
|
+
FROM sqlite_master
|
148
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
149
|
+
[1m[36mSQL (130.0ms)[0m [1mDELETE FROM "users";[0m
|
150
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
151
|
+
[1m[36mSQL (132.5ms)[0m [1mDELETE FROM "structures";[0m
|
152
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "pages";
|
153
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "assets";[0m
|
154
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "headers";
|
155
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
156
|
+
FROM sqlite_master
|
157
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
158
|
+
[0m
|
159
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
160
|
+
FROM sqlite_master
|
161
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
162
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
163
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
164
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
165
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
166
|
+
Migrating to SunriseCreatePages (20110801125109)
|
167
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
168
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
169
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
170
|
+
FROM sqlite_master
|
171
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
172
|
+
[1m[36mSQL (128.0ms)[0m [1mDELETE FROM "users";[0m
|
173
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "roles";
|
174
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
175
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "pages";
|
176
|
+
[1m[36mSQL (88.1ms)[0m [1mDELETE FROM "assets";[0m
|
177
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "headers";
|
178
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
179
|
+
FROM sqlite_master
|
180
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
181
|
+
[0m
|
182
|
+
[1m[35mSQL (85.3ms)[0m DELETE FROM "users";
|
183
|
+
[1m[36mSQL (88.1ms)[0m [1mDELETE FROM "roles";[0m
|
184
|
+
[1m[35mSQL (110.4ms)[0m DELETE FROM "structures";
|
185
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "pages";[0m
|
186
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "assets";
|
187
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "headers";[0m
|
188
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
189
|
+
FROM sqlite_master
|
190
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
191
|
+
[1m[36mSQL (100.2ms)[0m [1mDELETE FROM "users";[0m
|
192
|
+
[1m[35mSQL (66.0ms)[0m DELETE FROM "roles";
|
193
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
194
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "pages";
|
195
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "assets";[0m
|
196
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "headers";
|
197
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
198
|
+
FROM sqlite_master
|
199
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
200
|
+
[0m
|
201
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
202
|
+
FROM sqlite_master
|
203
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
204
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
205
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
206
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
207
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
208
|
+
Migrating to SunriseCreatePages (20110801125109)
|
209
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
210
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
211
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
212
|
+
FROM sqlite_master
|
213
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
214
|
+
[1m[36mSQL (116.6ms)[0m [1mDELETE FROM "users";[0m
|
215
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
216
|
+
[1m[36mSQL (121.5ms)[0m [1mDELETE FROM "structures";[0m
|
217
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "pages";
|
218
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "assets";[0m
|
219
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
220
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
221
|
+
FROM sqlite_master
|
222
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
223
|
+
[0m
|
224
|
+
[1m[35mSQL (85.2ms)[0m DELETE FROM "users";
|
225
|
+
[1m[36mSQL (88.0ms)[0m [1mDELETE FROM "roles";[0m
|
226
|
+
[1m[35mSQL (99.4ms)[0m DELETE FROM "structures";
|
227
|
+
[1m[36mSQL (110.2ms)[0m [1mDELETE FROM "pages";[0m
|
228
|
+
[1m[35mSQL (132.4ms)[0m DELETE FROM "assets";
|
229
|
+
[1m[36mSQL (110.2ms)[0m [1mDELETE FROM "headers";[0m
|
230
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
231
|
+
FROM sqlite_master
|
232
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
233
|
+
[1m[36mSQL (147.6ms)[0m [1mDELETE FROM "users";[0m
|
234
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "roles";
|
235
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
236
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "pages";
|
237
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "assets";[0m
|
238
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "headers";
|
239
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
240
|
+
FROM sqlite_master
|
241
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
242
|
+
[0m
|
243
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
244
|
+
FROM sqlite_master
|
245
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
246
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
247
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
248
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
249
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
250
|
+
Migrating to SunriseCreatePages (20110801125109)
|
251
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
252
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
253
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
254
|
+
FROM sqlite_master
|
255
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
256
|
+
[1m[36mSQL (181.4ms)[0m [1mDELETE FROM "users";[0m
|
257
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "roles";
|
258
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "structures";[0m
|
259
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "pages";
|
260
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "assets";[0m
|
261
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
262
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
263
|
+
FROM sqlite_master
|
264
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
265
|
+
[0m
|
266
|
+
[1m[35mSQL (117.3ms)[0m DELETE FROM "users";
|
267
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "roles";[0m
|
268
|
+
[1m[35mSQL (99.3ms)[0m DELETE FROM "structures";
|
269
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "pages";[0m
|
270
|
+
[1m[35mSQL (88.2ms)[0m DELETE FROM "assets";
|
271
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "headers";[0m
|
272
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
273
|
+
FROM sqlite_master
|
274
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
275
|
+
[1m[36mSQL (131.2ms)[0m [1mDELETE FROM "users";[0m
|
276
|
+
[1m[35mSQL (98.7ms)[0m DELETE FROM "roles";
|
277
|
+
[1m[36mSQL (66.3ms)[0m [1mDELETE FROM "structures";[0m
|
278
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "pages";
|
279
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "assets";[0m
|
280
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "headers";
|
281
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
282
|
+
FROM sqlite_master
|
283
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
284
|
+
[0m
|
285
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
286
|
+
FROM sqlite_master
|
287
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
288
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
289
|
+
FROM sqlite_master
|
290
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
291
|
+
[0m
|
292
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
293
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
294
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
295
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
296
|
+
Migrating to SunriseCreatePages (20110801125109)
|
297
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
298
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
299
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
300
|
+
[1m[36mSQL (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
301
|
+
[1m[35mSQL (0.4ms)[0m CREATE TABLE "questions" ("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, "created_at" datetime, "updated_at" datetime)
|
302
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("questions")[0m
|
303
|
+
[1m[35mSQL (0.1ms)[0m CREATE INDEX "index_questions_on_structure_id" ON "questions" ("structure_id")
|
304
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110801161138')[0m
|
305
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
306
|
+
FROM sqlite_master
|
307
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
308
|
+
[1m[36mSQL (95.6ms)[0m [1mDELETE FROM "users";[0m
|
309
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "roles";
|
310
|
+
[1m[36mSQL (77.3ms)[0m [1mDELETE FROM "structures";[0m
|
311
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "pages";
|
312
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "assets";[0m
|
313
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "headers";
|
314
|
+
[1m[36mSQL (83.1ms)[0m [1mDELETE FROM "questions";[0m
|
315
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
316
|
+
FROM sqlite_master
|
317
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
318
|
+
[1m[36mSQL (79.2ms)[0m [1mDELETE FROM "users";[0m
|
319
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
320
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
321
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "pages";
|
322
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "assets";[0m
|
323
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "headers";
|
324
|
+
[1m[36mSQL (94.1ms)[0m [1mDELETE FROM "questions";[0m
|
325
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
326
|
+
FROM sqlite_master
|
327
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
328
|
+
[1m[36mSQL (95.6ms)[0m [1mDELETE FROM "users";[0m
|
329
|
+
[1m[35mSQL (88.2ms)[0m DELETE FROM "roles";
|
330
|
+
[1m[36mSQL (77.3ms)[0m [1mDELETE FROM "structures";[0m
|
331
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "pages";
|
332
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "assets";[0m
|
333
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "headers";
|
334
|
+
[1m[36mSQL (83.0ms)[0m [1mDELETE FROM "questions";[0m
|
335
|
+
[1m[35mSQL (0.1ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'questions') LIMIT 1
|
336
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
337
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "structures" ("is_visible", "redirect_url", "created_at", "slug", "kind", "parent_id", "updated_at", "lft", "depth", "rgt", "position", "title") VALUES ('t', NULL, '2011-08-01 13:46:06.600271', 'questions', 0, NULL, '2011-08-01 13:46:06.600271', 1, 0, 2, 0, 'questions')
|
338
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
339
|
+
FROM sqlite_master
|
340
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
341
|
+
[0m
|
342
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("updated_at", "structure_id", "title", "created_at", "sort_order", "is_visible", "content") VALUES ('2011-08-01 13:46:06.710227', 1, 'Test', '2011-08-01 13:46:06.710227', 0, 't', 'Test')
|
343
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
344
|
+
FROM sqlite_master
|
345
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
346
|
+
[0m
|
347
|
+
[1m[35mSQL (81.4ms)[0m DELETE FROM "users";
|
348
|
+
[1m[36mSQL (77.0ms)[0m [1mDELETE FROM "roles";[0m
|
349
|
+
[1m[35mSQL (77.3ms)[0m DELETE FROM "structures";
|
350
|
+
[1m[36mSQL (54.9ms)[0m [1mDELETE FROM "pages";[0m
|
351
|
+
[1m[35mSQL (55.1ms)[0m DELETE FROM "assets";
|
352
|
+
[1m[36mSQL (54.9ms)[0m [1mDELETE FROM "headers";[0m
|
353
|
+
[1m[35mSQL (66.1ms)[0m DELETE FROM "questions";
|
354
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
355
|
+
FROM sqlite_master
|
356
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
357
|
+
[0m
|
358
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
359
|
+
FROM sqlite_master
|
360
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
361
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
362
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
363
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
364
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
365
|
+
Migrating to SunriseCreatePages (20110801125109)
|
366
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
367
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
368
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
369
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
370
|
+
FROM sqlite_master
|
371
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
372
|
+
[1m[36mSQL (150.5ms)[0m [1mDELETE FROM "users";[0m
|
373
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "roles";
|
374
|
+
[1m[36mSQL (187.7ms)[0m [1mDELETE FROM "structures";[0m
|
375
|
+
[1m[35mSQL (143.2ms)[0m DELETE FROM "pages";
|
376
|
+
[1m[36mSQL (143.5ms)[0m [1mDELETE FROM "assets";[0m
|
377
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "headers";
|
378
|
+
[1m[36mSQL (99.0ms)[0m [1mDELETE FROM "questions";[0m
|
379
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
380
|
+
FROM sqlite_master
|
381
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
382
|
+
[1m[36mSQL (85.3ms)[0m [1mDELETE FROM "users";[0m
|
383
|
+
[1m[35mSQL (143.3ms)[0m DELETE FROM "roles";
|
384
|
+
[1m[36mSQL (132.5ms)[0m [1mDELETE FROM "structures";[0m
|
385
|
+
[1m[35mSQL (154.4ms)[0m DELETE FROM "pages";
|
386
|
+
[1m[36mSQL (143.4ms)[0m [1mDELETE FROM "assets";[0m
|
387
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
388
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "questions";[0m
|
389
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
390
|
+
FROM sqlite_master
|
391
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
392
|
+
[1m[36mSQL (118.9ms)[0m [1mDELETE FROM "users";[0m
|
393
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "roles";
|
394
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "structures";[0m
|
395
|
+
[1m[35mSQL (187.5ms)[0m DELETE FROM "pages";
|
396
|
+
[1m[36mSQL (143.5ms)[0m [1mDELETE FROM "assets";[0m
|
397
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "headers";
|
398
|
+
[1m[36mSQL (143.3ms)[0m [1mDELETE FROM "questions";[0m
|
399
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'questions') LIMIT 1
|
400
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
401
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "structures" ("lft", "rgt", "parent_id", "updated_at", "depth", "redirect_url", "kind", "created_at", "slug", "is_visible", "title", "position") VALUES (1, 2, NULL, '2011-08-01 13:59:50.326181', 0, NULL, 0, '2011-08-01 13:59:50.326181', 'questions', 't', 'questions', 0)
|
402
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "questions" ("structure_id", "updated_at", "content", "sort_order", "title", "created_at", "is_visible") VALUES (2, '2011-08-01 13:59:50.438527', 'Test', 0, 'Test', '2011-08-01 13:59:50.438527', 't')[0m
|
403
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
404
|
+
FROM sqlite_master
|
405
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
406
|
+
[1m[36mSQL (114.4ms)[0m [1mDELETE FROM "users";[0m
|
407
|
+
[1m[35mSQL (187.4ms)[0m DELETE FROM "roles";
|
408
|
+
[1m[36mSQL (132.5ms)[0m [1mDELETE FROM "structures";[0m
|
409
|
+
[1m[35mSQL (143.2ms)[0m DELETE FROM "pages";
|
410
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "assets";[0m
|
411
|
+
[1m[35mSQL (143.3ms)[0m DELETE FROM "headers";
|
412
|
+
[1m[36mSQL (154.3ms)[0m [1mDELETE FROM "questions";[0m
|
413
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
414
|
+
FROM sqlite_master
|
415
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
416
|
+
[0m
|
417
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
418
|
+
FROM sqlite_master
|
419
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
420
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
421
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
422
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
423
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
424
|
+
Migrating to SunriseCreatePages (20110801125109)
|
425
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
426
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
427
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
428
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
429
|
+
FROM sqlite_master
|
430
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
431
|
+
[1m[36mSQL (182.0ms)[0m [1mDELETE FROM "users";[0m
|
432
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "roles";
|
433
|
+
[1m[36mSQL (77.3ms)[0m [1mDELETE FROM "structures";[0m
|
434
|
+
[1m[35mSQL (65.9ms)[0m DELETE FROM "pages";
|
435
|
+
[1m[36mSQL (132.3ms)[0m [1mDELETE FROM "assets";[0m
|
436
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "headers";
|
437
|
+
[1m[36mSQL (132.3ms)[0m [1mDELETE FROM "questions";[0m
|
438
|
+
[1m[36mSQL (0.9ms)[0m [1m SELECT name
|
439
|
+
FROM sqlite_master
|
440
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
441
|
+
[0m
|
442
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
443
|
+
FROM sqlite_master
|
444
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
445
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
446
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
447
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
448
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
449
|
+
Migrating to SunriseCreatePages (20110801125109)
|
450
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
451
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
452
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
453
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
454
|
+
FROM sqlite_master
|
455
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
456
|
+
[1m[36mSQL (203.0ms)[0m [1mDELETE FROM "users";[0m
|
457
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
458
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "structures";[0m
|
459
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "pages";
|
460
|
+
[1m[36mSQL (121.3ms)[0m [1mDELETE FROM "assets";[0m
|
461
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "headers";
|
462
|
+
[1m[36mSQL (105.1ms)[0m [1mDELETE FROM "questions";[0m
|
463
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
464
|
+
FROM sqlite_master
|
465
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
466
|
+
[1m[36mSQL (300.1ms)[0m [1mDELETE FROM "users";[0m
|
467
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "roles";
|
468
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "structures";[0m
|
469
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "pages";
|
470
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "assets";[0m
|
471
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "headers";
|
472
|
+
[1m[36mSQL (105.1ms)[0m [1mDELETE FROM "questions";[0m
|
473
|
+
[1m[35mSQL (0.7ms)[0m SELECT name
|
474
|
+
FROM sqlite_master
|
475
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
476
|
+
[1m[36mSQL (93.1ms)[0m [1mDELETE FROM "users";[0m
|
477
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "roles";
|
478
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
479
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "pages";
|
480
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "assets";[0m
|
481
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "headers";
|
482
|
+
[1m[36mSQL (110.1ms)[0m [1mDELETE FROM "questions";[0m
|
483
|
+
[1m[35mSQL (0.1ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'questions') LIMIT 1
|
484
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
485
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "structures" ("kind", "is_visible", "redirect_url", "rgt", "updated_at", "slug", "parent_id", "depth", "position", "created_at", "title", "lft") VALUES (0, 't', NULL, 2, '2011-08-01 14:02:10.138817', 'questions', NULL, 0, 0, '2011-08-01 14:02:10.138817', 'questions', 1)
|
486
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "questions" ("sort_order", "is_visible", "content", "title", "structure_id", "updated_at", "created_at") VALUES (0, 't', 'Test', 'Test', 3, '2011-08-01 14:02:10.261272', '2011-08-01 14:02:10.261272')[0m
|
487
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
488
|
+
FROM sqlite_master
|
489
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
490
|
+
[1m[36mSQL (81.9ms)[0m [1mDELETE FROM "users";[0m
|
491
|
+
[1m[35mSQL (76.9ms)[0m DELETE FROM "roles";
|
492
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
493
|
+
[1m[35mSQL (77.1ms)[0m DELETE FROM "pages";
|
494
|
+
[1m[36mSQL (77.1ms)[0m [1mDELETE FROM "assets";[0m
|
495
|
+
[1m[35mSQL (65.9ms)[0m DELETE FROM "headers";
|
496
|
+
[1m[36mSQL (72.0ms)[0m [1mDELETE FROM "questions";[0m
|
497
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
498
|
+
FROM sqlite_master
|
499
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
500
|
+
[1m[36mSQL (97.0ms)[0m [1mDELETE FROM "users";[0m
|
501
|
+
[1m[35mSQL (77.1ms)[0m DELETE FROM "roles";
|
502
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "structures";[0m
|
503
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "pages";
|
504
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "assets";[0m
|
505
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
506
|
+
[1m[36mSQL (83.0ms)[0m [1mDELETE FROM "questions";[0m
|
507
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
508
|
+
FROM sqlite_master
|
509
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
510
|
+
[0m
|
511
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
512
|
+
FROM sqlite_master
|
513
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
514
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
515
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
516
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
517
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
518
|
+
Migrating to SunriseCreatePages (20110801125109)
|
519
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
520
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
521
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
522
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
523
|
+
FROM sqlite_master
|
524
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
525
|
+
[1m[36mSQL (167.6ms)[0m [1mDELETE FROM "users";[0m
|
526
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "roles";
|
527
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "structures";[0m
|
528
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "pages";
|
529
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "assets";[0m
|
530
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "headers";
|
531
|
+
[1m[36mSQL (121.1ms)[0m [1mDELETE FROM "questions";[0m
|
532
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
533
|
+
FROM sqlite_master
|
534
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
535
|
+
[1m[36mSQL (96.3ms)[0m [1mDELETE FROM "users";[0m
|
536
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "roles";
|
537
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "structures";[0m
|
538
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "pages";
|
539
|
+
[1m[36mSQL (132.3ms)[0m [1mDELETE FROM "assets";[0m
|
540
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
541
|
+
[1m[36mSQL (121.3ms)[0m [1mDELETE FROM "questions";[0m
|
542
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
543
|
+
FROM sqlite_master
|
544
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
545
|
+
[1m[36mSQL (104.7ms)[0m [1mDELETE FROM "users";[0m
|
546
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
547
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "structures";[0m
|
548
|
+
[1m[35mSQL (154.4ms)[0m DELETE FROM "pages";
|
549
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "assets";[0m
|
550
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
551
|
+
[1m[36mSQL (110.2ms)[0m [1mDELETE FROM "questions";[0m
|
552
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'questions') LIMIT 1
|
553
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
554
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "structures" ("is_visible", "updated_at", "parent_id", "kind", "depth", "redirect_url", "rgt", "lft", "title", "slug", "position", "created_at") VALUES ('t', '2011-08-01 14:02:44.491381', NULL, 0, 0, NULL, 2, 1, 'questions', 'questions', 0, '2011-08-01 14:02:44.491381')
|
555
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("structure_id", "sort_order", "title", "updated_at", "created_at", "is_visible", "content") VALUES (4, 0, 'Test', '2011-08-01 14:02:44.620197', '2011-08-01 14:02:44.620197', 't', 'Test')[0m
|
556
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
557
|
+
FROM sqlite_master
|
558
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
559
|
+
[1m[36mSQL (68.8ms)[0m [1mDELETE FROM "users";[0m
|
560
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
561
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "structures";[0m
|
562
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "pages";
|
563
|
+
[1m[36mSQL (77.1ms)[0m [1mDELETE FROM "assets";[0m
|
564
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "headers";
|
565
|
+
[1m[36mSQL (72.0ms)[0m [1mDELETE FROM "questions";[0m
|
566
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
567
|
+
FROM sqlite_master
|
568
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
569
|
+
[1m[36mSQL (181.7ms)[0m [1mDELETE FROM "users";[0m
|
570
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "roles";
|
571
|
+
[1m[36mSQL (77.3ms)[0m [1mDELETE FROM "structures";[0m
|
572
|
+
[1m[35mSQL (66.0ms)[0m DELETE FROM "pages";
|
573
|
+
[1m[36mSQL (66.2ms)[0m [1mDELETE FROM "assets";[0m
|
574
|
+
[1m[35mSQL (66.1ms)[0m DELETE FROM "headers";
|
575
|
+
[1m[36mSQL (72.0ms)[0m [1mDELETE FROM "questions";[0m
|
576
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
577
|
+
FROM sqlite_master
|
578
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
579
|
+
[0m
|
580
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
581
|
+
FROM sqlite_master
|
582
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
583
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
584
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
585
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
586
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
587
|
+
Migrating to SunriseCreatePages (20110801125109)
|
588
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
589
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
590
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
591
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
592
|
+
FROM sqlite_master
|
593
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
594
|
+
[1m[36mSQL (162.4ms)[0m [1mDELETE FROM "users";[0m
|
595
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
596
|
+
[1m[36mSQL (121.5ms)[0m [1mDELETE FROM "structures";[0m
|
597
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "pages";
|
598
|
+
[1m[36mSQL (132.4ms)[0m [1mDELETE FROM "assets";[0m
|
599
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "headers";
|
600
|
+
[1m[36mSQL (138.3ms)[0m [1mDELETE FROM "questions";[0m
|
601
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
602
|
+
FROM sqlite_master
|
603
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
604
|
+
[1m[36mSQL (123.4ms)[0m [1mDELETE FROM "users";[0m
|
605
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "roles";
|
606
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
607
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "pages";
|
608
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "assets";[0m
|
609
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
610
|
+
[1m[36mSQL (116.2ms)[0m [1mDELETE FROM "questions";[0m
|
611
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
612
|
+
FROM sqlite_master
|
613
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
614
|
+
[1m[36mSQL (96.4ms)[0m [1mDELETE FROM "users";[0m
|
615
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
616
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
617
|
+
[1m[35mSQL (110.3ms)[0m DELETE FROM "pages";
|
618
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "assets";[0m
|
619
|
+
[1m[35mSQL (99.3ms)[0m DELETE FROM "headers";
|
620
|
+
[1m[36mSQL (105.1ms)[0m [1mDELETE FROM "questions";[0m
|
621
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'questions') LIMIT 1
|
622
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
623
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "structures" ("slug", "depth", "rgt", "parent_id", "updated_at", "lft", "created_at", "kind", "position", "is_visible", "title", "redirect_url") VALUES ('questions', 0, 2, NULL, '2011-08-01 14:04:54.313038', 1, '2011-08-01 14:04:54.313038', 0, 0, 't', 'questions', NULL)
|
624
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "questions" ("title", "is_visible", "structure_id", "content", "updated_at", "created_at", "sort_order") VALUES ('Test', 't', 5, 'Test', '2011-08-01 14:04:54.481002', '2011-08-01 14:04:54.481002', 0)[0m
|
625
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
626
|
+
FROM sqlite_master
|
627
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
628
|
+
[1m[36mSQL (140.8ms)[0m [1mDELETE FROM "users";[0m
|
629
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "roles";
|
630
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
631
|
+
[1m[35mSQL (66.0ms)[0m DELETE FROM "pages";
|
632
|
+
[1m[36mSQL (132.4ms)[0m [1mDELETE FROM "assets";[0m
|
633
|
+
[1m[35mSQL (65.9ms)[0m DELETE FROM "headers";
|
634
|
+
[1m[36mSQL (66.1ms)[0m [1mDELETE FROM "questions";[0m
|
635
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
636
|
+
FROM sqlite_master
|
637
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
638
|
+
[1m[36mSQL (168.6ms)[0m [1mDELETE FROM "users";[0m
|
639
|
+
[1m[35mSQL (66.0ms)[0m DELETE FROM "roles";
|
640
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
641
|
+
[1m[35mSQL (54.9ms)[0m DELETE FROM "pages";
|
642
|
+
[1m[36mSQL (132.5ms)[0m [1mDELETE FROM "assets";[0m
|
643
|
+
[1m[35mSQL (54.9ms)[0m DELETE FROM "headers";
|
644
|
+
[1m[36mSQL (77.0ms)[0m [1mDELETE FROM "questions";[0m
|
645
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
646
|
+
FROM sqlite_master
|
647
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
648
|
+
[0m
|
649
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
650
|
+
FROM sqlite_master
|
651
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
652
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
653
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
654
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
655
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
656
|
+
Migrating to SunriseCreatePages (20110801125109)
|
657
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
658
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
659
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
660
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
661
|
+
FROM sqlite_master
|
662
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
663
|
+
[1m[36mSQL (123.4ms)[0m [1mDELETE FROM "users";[0m
|
664
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "roles";
|
665
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "structures";[0m
|
666
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "pages";
|
667
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "assets";[0m
|
668
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "headers";
|
669
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "questions";[0m
|
670
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
671
|
+
FROM sqlite_master
|
672
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
673
|
+
[1m[36mSQL (107.4ms)[0m [1mDELETE FROM "users";[0m
|
674
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "roles";
|
675
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
676
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "pages";
|
677
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "assets";[0m
|
678
|
+
[1m[35mSQL (99.3ms)[0m DELETE FROM "headers";
|
679
|
+
[1m[36mSQL (127.3ms)[0m [1mDELETE FROM "questions";[0m
|
680
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
681
|
+
FROM sqlite_master
|
682
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
683
|
+
[1m[36mSQL (95.9ms)[0m [1mDELETE FROM "users";[0m
|
684
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "roles";
|
685
|
+
[1m[36mSQL (88.4ms)[0m [1mDELETE FROM "structures";[0m
|
686
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "pages";
|
687
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "assets";[0m
|
688
|
+
[1m[35mSQL (110.3ms)[0m DELETE FROM "headers";
|
689
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "questions";[0m
|
690
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'questions') LIMIT 1
|
691
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
692
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "structures" ("is_visible", "depth", "slug", "position", "updated_at", "parent_id", "redirect_url", "title", "created_at", "rgt", "lft", "kind") VALUES ('t', 0, 'questions', 0, '2011-08-01 14:06:06.577330', NULL, NULL, 'questions', '2011-08-01 14:06:06.577330', 2, 1, 0)
|
693
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "questions" ("created_at", "title", "is_visible", "updated_at", "content", "structure_id", "sort_order") VALUES ('2011-08-01 14:06:06.685381', 'Test', 't', '2011-08-01 14:06:06.685381', 'Test', 6, 0)[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 (159.7ms)[0m [1mDELETE FROM "users";[0m
|
698
|
+
[1m[35mSQL (143.2ms)[0m DELETE FROM "roles";
|
699
|
+
[1m[36mSQL (77.3ms)[0m [1mDELETE FROM "structures";[0m
|
700
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "pages";
|
701
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "assets";[0m
|
702
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "headers";
|
703
|
+
[1m[36mSQL (94.1ms)[0m [1mDELETE FROM "questions";[0m
|
704
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
705
|
+
FROM sqlite_master
|
706
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
707
|
+
[1m[36mSQL (168.8ms)[0m [1mDELETE FROM "users";[0m
|
708
|
+
[1m[35mSQL (77.1ms)[0m DELETE FROM "roles";
|
709
|
+
[1m[36mSQL (88.4ms)[0m [1mDELETE FROM "structures";[0m
|
710
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "pages";
|
711
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "assets";[0m
|
712
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "headers";
|
713
|
+
[1m[36mSQL (121.2ms)[0m [1mDELETE FROM "questions";[0m
|
714
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
715
|
+
FROM sqlite_master
|
716
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
717
|
+
[0m
|
718
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
719
|
+
FROM sqlite_master
|
720
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
721
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
722
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
723
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
724
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
725
|
+
Migrating to SunriseCreatePages (20110801125109)
|
726
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
727
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
728
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
729
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
730
|
+
FROM sqlite_master
|
731
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
732
|
+
[1m[36mSQL (201.6ms)[0m [1mDELETE FROM "users";[0m
|
733
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "roles";
|
734
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "structures";[0m
|
735
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "pages";
|
736
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "assets";[0m
|
737
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "headers";
|
738
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "questions";[0m
|
739
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
740
|
+
FROM sqlite_master
|
741
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
742
|
+
[0m
|
743
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
744
|
+
FROM sqlite_master
|
745
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
746
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
747
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
748
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
749
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
750
|
+
Migrating to SunriseCreatePages (20110801125109)
|
751
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
752
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
753
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
754
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
755
|
+
FROM sqlite_master
|
756
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
757
|
+
[1m[36mSQL (130.9ms)[0m [1mDELETE FROM "users";[0m
|
758
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
759
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "structures";[0m
|
760
|
+
[1m[35mSQL (132.2ms)[0m DELETE FROM "pages";
|
761
|
+
[1m[36mSQL (121.3ms)[0m [1mDELETE FROM "assets";[0m
|
762
|
+
[1m[35mSQL (121.1ms)[0m DELETE FROM "headers";
|
763
|
+
[1m[36mSQL (121.2ms)[0m [1mDELETE FROM "questions";[0m
|
764
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
765
|
+
FROM sqlite_master
|
766
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
767
|
+
[0m
|
768
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
769
|
+
FROM sqlite_master
|
770
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
771
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
772
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
773
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
774
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
775
|
+
Migrating to SunriseCreatePages (20110801125109)
|
776
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
777
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
778
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
779
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
780
|
+
FROM sqlite_master
|
781
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
782
|
+
[1m[36mSQL (188.6ms)[0m [1mDELETE FROM "users";[0m
|
783
|
+
[1m[35mSQL (66.1ms)[0m DELETE FROM "roles";
|
784
|
+
[1m[36mSQL (143.4ms)[0m [1mDELETE FROM "structures";[0m
|
785
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "pages";
|
786
|
+
[1m[36mSQL (143.4ms)[0m [1mDELETE FROM "assets";[0m
|
787
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "headers";
|
788
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "questions";[0m
|
789
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
790
|
+
FROM sqlite_master
|
791
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
792
|
+
[0m
|
793
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
794
|
+
FROM sqlite_master
|
795
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
796
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
797
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
798
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
799
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
800
|
+
Migrating to SunriseCreatePages (20110801125109)
|
801
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
802
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
803
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
804
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
805
|
+
FROM sqlite_master
|
806
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
807
|
+
[0m
|
808
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
809
|
+
FROM sqlite_master
|
810
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
811
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
812
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
813
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
814
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
815
|
+
Migrating to SunriseCreatePages (20110801125109)
|
816
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
817
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
818
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
819
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
820
|
+
FROM sqlite_master
|
821
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
822
|
+
[0m
|
823
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
824
|
+
FROM sqlite_master
|
825
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
826
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
827
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
828
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
829
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
830
|
+
Migrating to SunriseCreatePages (20110801125109)
|
831
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
832
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
833
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
834
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
835
|
+
FROM sqlite_master
|
836
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
837
|
+
[1m[36mSQL (128.5ms)[0m [1mDELETE FROM "users";[0m
|
838
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
839
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "structures";[0m
|
840
|
+
[1m[35mSQL (121.1ms)[0m DELETE FROM "pages";
|
841
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "assets";[0m
|
842
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "headers";
|
843
|
+
[1m[36mSQL (94.1ms)[0m [1mDELETE FROM "questions";[0m
|
844
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
845
|
+
FROM sqlite_master
|
846
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
847
|
+
[0m
|
848
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
849
|
+
FROM sqlite_master
|
850
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
851
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
852
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
853
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
854
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
855
|
+
Migrating to SunriseCreatePages (20110801125109)
|
856
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
857
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
858
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
859
|
+
[1m[35mSQL (0.1ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'slug1') LIMIT 1
|
860
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
861
|
+
[1m[35mAREL (0.3ms)[0m INSERT INTO "structures" ("rgt", "parent_id", "depth", "lft", "redirect_url", "position", "slug", "is_visible", "kind", "updated_at", "title", "created_at") VALUES (2, NULL, 0, 1, NULL, 2, 'slug1', 't', 1, '2011-08-01 14:15:15.382746', 'Structure', '2011-08-01 14:15:15.382746')
|
862
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("structure_id", "sort_order", "content", "updated_at", "title", "is_visible", "created_at") VALUES (7, 0, 'Test', '2011-08-01 14:15:15.534408', 'Test', 't', '2011-08-01 14:15:15.534408')[0m
|
863
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
864
|
+
FROM sqlite_master
|
865
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
866
|
+
[1m[36mSQL (95.6ms)[0m [1mDELETE FROM "users";[0m
|
867
|
+
[1m[35mSQL (66.0ms)[0m DELETE FROM "roles";
|
868
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
869
|
+
[1m[35mSQL (65.9ms)[0m DELETE FROM "pages";
|
870
|
+
[1m[36mSQL (55.2ms)[0m [1mDELETE FROM "assets";[0m
|
871
|
+
[1m[35mSQL (110.2ms)[0m DELETE FROM "headers";
|
872
|
+
[1m[36mSQL (154.3ms)[0m [1mDELETE FROM "questions";[0m
|
873
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
874
|
+
FROM sqlite_master
|
875
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
876
|
+
[0m
|
877
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
878
|
+
FROM sqlite_master
|
879
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
880
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
881
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
882
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
883
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
884
|
+
Migrating to SunriseCreatePages (20110801125109)
|
885
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
886
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
887
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
888
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
889
|
+
FROM sqlite_master
|
890
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
891
|
+
[1m[36mSQL (166.0ms)[0m [1mDELETE FROM "users";[0m
|
892
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "roles";
|
893
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "structures";[0m
|
894
|
+
[1m[35mSQL (55.0ms)[0m DELETE FROM "pages";
|
895
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "assets";[0m
|
896
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
897
|
+
[1m[36mSQL (72.0ms)[0m [1mDELETE FROM "questions";[0m
|
898
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
899
|
+
FROM sqlite_master
|
900
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
901
|
+
[1m[36mSQL (90.3ms)[0m [1mDELETE FROM "users";[0m
|
902
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
903
|
+
[1m[36mSQL (66.2ms)[0m [1mDELETE FROM "structures";[0m
|
904
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "pages";
|
905
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "assets";[0m
|
906
|
+
[1m[35mSQL (66.0ms)[0m DELETE FROM "headers";
|
907
|
+
[1m[36mSQL (72.0ms)[0m [1mDELETE FROM "questions";[0m
|
908
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
909
|
+
FROM sqlite_master
|
910
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
911
|
+
[1m[36mSQL (88.0ms)[0m [1mDELETE FROM "users";[0m
|
912
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "roles";
|
913
|
+
[1m[36mSQL (55.2ms)[0m [1mDELETE FROM "structures";[0m
|
914
|
+
[1m[35mSQL (76.9ms)[0m DELETE FROM "pages";
|
915
|
+
[1m[36mSQL (77.2ms)[0m [1mDELETE FROM "assets";[0m
|
916
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
917
|
+
[1m[36mSQL (60.8ms)[0m [1mDELETE FROM "questions";[0m
|
918
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'slug1') LIMIT 1
|
919
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
920
|
+
[1m[35mAREL (0.3ms)[0m INSERT INTO "structures" ("title", "rgt", "lft", "slug", "position", "updated_at", "parent_id", "kind", "created_at", "depth", "redirect_url", "is_visible") VALUES ('Structure', 2, 1, 'slug1', 2, '2011-08-01 14:15:26.578785', NULL, 1, '2011-08-01 14:15:26.578785', 0, NULL, 't')
|
921
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "questions" ("title", "created_at", "is_visible", "sort_order", "updated_at", "content", "structure_id") VALUES ('Test', '2011-08-01 14:15:26.769007', 't', 0, '2011-08-01 14:15:26.769007', 'Test', 8)[0m
|
922
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
923
|
+
FROM sqlite_master
|
924
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
925
|
+
[1m[36mSQL (70.4ms)[0m [1mDELETE FROM "users";[0m
|
926
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "roles";
|
927
|
+
[1m[36mSQL (88.2ms)[0m [1mDELETE FROM "structures";[0m
|
928
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "pages";
|
929
|
+
[1m[36mSQL (66.1ms)[0m [1mDELETE FROM "assets";[0m
|
930
|
+
[1m[35mSQL (66.0ms)[0m DELETE FROM "headers";
|
931
|
+
[1m[36mSQL (71.9ms)[0m [1mDELETE FROM "questions";[0m
|
932
|
+
[1m[35mSQL (0.1ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'slug2') LIMIT 1
|
933
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
934
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "structures" ("title", "rgt", "lft", "slug", "position", "updated_at", "parent_id", "kind", "created_at", "depth", "redirect_url", "is_visible") VALUES ('Structure', 2, 1, 'slug2', 2, '2011-08-01 14:15:27.451713', NULL, 1, '2011-08-01 14:15:27.451713', 0, NULL, 't')
|
935
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1[0m
|
936
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "users" ("current_sign_in_at", "locked_at", "sign_in_count", "email", "last_sign_in_at", "encrypted_password", "confirmed_at", "reset_password_sent_at", "remember_created_at", "current_sign_in_ip", "updated_at", "name", "reset_password_token", "failed_attempts", "confirmation_token", "last_sign_in_ip", "password_salt", "confirmation_sent_at", "created_at") VALUES (NULL, NULL, 0, 'testing1@example.com', NULL, 'e3c71ec39b0953678c7d8469018e1ad521b89bb98385d4b2f93d864f7d6bf4a56c5ca2992716adab6993b2a90c6ae0ddac83ee00f10b703c57f64c9fc6dc252d', '2011-08-01 14:15:27.541467', NULL, NULL, NULL, '2011-08-01 14:15:27.544004', 'Admin', NULL, 0, NULL, NULL, 'SnSBY3x5Eg1QMNEgkz1H', NULL, '2011-08-01 14:15:27.544004')
|
937
|
+
[1m[36mAREL (0.1ms)[0m [1mINSERT INTO "roles" ("user_id", "updated_at", "role_type", "created_at") VALUES (1, '2011-08-01 14:15:27.546217', 4, '2011-08-01 14:15:27.546217')[0m
|
938
|
+
Processing by Manage::QuestionsController#new as HTML
|
939
|
+
Parameters: {"structure_id"=>9}
|
940
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
941
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
942
|
+
FROM sqlite_master
|
943
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
944
|
+
[0m
|
945
|
+
Completed 500 Internal Server Error in 5ms
|
946
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
947
|
+
FROM sqlite_master
|
948
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
949
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "questions"[0m
|
950
|
+
Processing by Manage::QuestionsController#create as HTML
|
951
|
+
Parameters: {"structure_id"=>9, "question"=>{"title"=>"Test", "sort_order"=>1, "content"=>"Test", "is_visible"=>true}}
|
952
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
953
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
954
|
+
FROM sqlite_master
|
955
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
956
|
+
[0m
|
957
|
+
Completed 500 Internal Server Error in 5ms
|
958
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
959
|
+
FROM sqlite_master
|
960
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
961
|
+
[1m[36mAREL (0.4ms)[0m [1mINSERT INTO "questions" ("title", "created_at", "is_visible", "sort_order", "updated_at", "content", "structure_id") VALUES ('Test', '2011-08-01 14:15:27.702950', 't', 1, '2011-08-01 14:15:27.702950', 'Test', 9)[0m
|
962
|
+
Processing by Manage::QuestionsController#index as HTML
|
963
|
+
Parameters: {"structure_id"=>9}
|
964
|
+
[1m[35mUser Load (0.6ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
965
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
966
|
+
FROM sqlite_master
|
967
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
968
|
+
[0m
|
969
|
+
Completed 500 Internal Server Error in 11ms
|
970
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
971
|
+
FROM sqlite_master
|
972
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
973
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "questions" ("title", "created_at", "is_visible", "sort_order", "updated_at", "content", "structure_id") VALUES ('Test', '2011-08-01 14:15:27.895439', 't', 1, '2011-08-01 14:15:27.895439', 'Test', 9)[0m
|
974
|
+
Processing by Manage::QuestionsController#edit as HTML
|
975
|
+
Parameters: {"structure_id"=>9, "id"=>10}
|
976
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
977
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
978
|
+
FROM sqlite_master
|
979
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
980
|
+
[0m
|
981
|
+
Completed 500 Internal Server Error in 7ms
|
982
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
983
|
+
FROM sqlite_master
|
984
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
985
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("title", "created_at", "is_visible", "sort_order", "updated_at", "content", "structure_id") VALUES ('Test', '2011-08-01 14:15:28.009989', 't', 1, '2011-08-01 14:15:28.009989', 'Test', 9)[0m
|
986
|
+
Processing by Manage::QuestionsController#update as HTML
|
987
|
+
Parameters: {"structure_id"=>9, "id"=>11, "question"=>{"title"=>"Update"}}
|
988
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
989
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
990
|
+
FROM sqlite_master
|
991
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
992
|
+
[0m
|
993
|
+
Completed 500 Internal Server Error in 8ms
|
994
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
995
|
+
FROM sqlite_master
|
996
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
997
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("title", "created_at", "is_visible", "sort_order", "updated_at", "content", "structure_id") VALUES ('Test', '2011-08-01 14:15:28.114075', 't', 1, '2011-08-01 14:15:28.114075', 'Test', 9)[0m
|
998
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "structures"
|
999
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1000
|
+
Parameters: {"structure_id"=>9, "id"=>12}
|
1001
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1002
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1003
|
+
FROM sqlite_master
|
1004
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1005
|
+
Completed 500 Internal Server Error in 9ms
|
1006
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
1007
|
+
FROM sqlite_master
|
1008
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1009
|
+
[0m
|
1010
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("title", "created_at", "is_visible", "sort_order", "updated_at", "content", "structure_id") VALUES ('Test', '2011-08-01 14:15:28.247327', 't', 1, '2011-08-01 14:15:28.247327', 'Test', 9)
|
1011
|
+
Processing by Manage::QuestionsController#edit as HTML
|
1012
|
+
Parameters: {"structure_id"=>9, "id"=>13}
|
1013
|
+
Completed in 4ms
|
1014
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("title", "created_at", "is_visible", "sort_order", "updated_at", "content", "structure_id") VALUES ('Test', '2011-08-01 14:15:28.335741', 't', 1, '2011-08-01 14:15:28.335741', 'Test', 9)[0m
|
1015
|
+
Processing by Manage::QuestionsController#update as HTML
|
1016
|
+
Parameters: {"structure_id"=>9, "id"=>14}
|
1017
|
+
Completed in 1ms
|
1018
|
+
[1m[35mAREL (0.5ms)[0m INSERT INTO "questions" ("title", "created_at", "is_visible", "sort_order", "updated_at", "content", "structure_id") VALUES ('Test', '2011-08-01 14:15:28.422621', 't', 1, '2011-08-01 14:15:28.422621', 'Test', 9)
|
1019
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1020
|
+
Parameters: {"structure_id"=>9, "id"=>15}
|
1021
|
+
Completed in 1ms
|
1022
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
1023
|
+
FROM sqlite_master
|
1024
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1025
|
+
[0m
|
1026
|
+
[1m[35mSQL (85.6ms)[0m DELETE FROM "users";
|
1027
|
+
[1m[36mSQL (88.0ms)[0m [1mDELETE FROM "roles";[0m
|
1028
|
+
[1m[35mSQL (88.2ms)[0m DELETE FROM "structures";
|
1029
|
+
[1m[36mSQL (66.1ms)[0m [1mDELETE FROM "pages";[0m
|
1030
|
+
[1m[35mSQL (88.3ms)[0m DELETE FROM "assets";
|
1031
|
+
[1m[36mSQL (77.1ms)[0m [1mDELETE FROM "headers";[0m
|
1032
|
+
[1m[35mSQL (94.1ms)[0m DELETE FROM "questions";
|
1033
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
1034
|
+
FROM sqlite_master
|
1035
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1036
|
+
[0m
|
1037
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1038
|
+
FROM sqlite_master
|
1039
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1040
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1041
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1042
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1043
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1044
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1045
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1046
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1047
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
1048
|
+
[1m[35mSQL (0.1ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'slug1') LIMIT 1
|
1049
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
1050
|
+
[1m[35mAREL (0.4ms)[0m INSERT INTO "structures" ("created_at", "kind", "position", "lft", "redirect_url", "rgt", "depth", "slug", "is_visible", "updated_at", "title", "parent_id") VALUES ('2011-08-01 14:16:35.691468', 1, 2, 1, NULL, 2, 0, 'slug1', 't', '2011-08-01 14:16:35.691468', 'Structure', NULL)
|
1051
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1[0m
|
1052
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "users" ("last_sign_in_ip", "sign_in_count", "encrypted_password", "confirmation_token", "remember_created_at", "locked_at", "last_sign_in_at", "updated_at", "failed_attempts", "name", "email", "confirmation_sent_at", "current_sign_in_at", "reset_password_token", "current_sign_in_ip", "password_salt", "confirmed_at", "reset_password_sent_at", "created_at") VALUES (NULL, 0, '28963fa8b0b82a9eb000b237fe78935a4f233501345abf705a0626bb0df327b049753b6200077306df0d4c8333e9873bba48e73afef4e8ec4d4afd8bdc64b7bc', NULL, NULL, NULL, NULL, '2011-08-01 14:16:35.850292', 0, 'Admin', 'testing1@example.com', NULL, NULL, NULL, NULL, 'T6O5FPyEL0sBaeKxXyws', '2011-08-01 14:16:35.847804', NULL, '2011-08-01 14:16:35.850292')
|
1053
|
+
[1m[36mAREL (0.1ms)[0m [1mINSERT INTO "roles" ("updated_at", "created_at", "role_type", "user_id") VALUES ('2011-08-01 14:16:35.852438', '2011-08-01 14:16:35.852438', 4, 2)[0m
|
1054
|
+
Processing by Manage::QuestionsController#new as HTML
|
1055
|
+
Parameters: {"structure_id"=>10}
|
1056
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1057
|
+
Completed 500 Internal Server Error in 5ms
|
1058
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "questions"[0m
|
1059
|
+
Processing by Manage::QuestionsController#create as HTML
|
1060
|
+
Parameters: {"structure_id"=>10, "question"=>{"title"=>"Test", "sort_order"=>1, "content"=>"Test", "is_visible"=>true}}
|
1061
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1062
|
+
Completed 500 Internal Server Error in 4ms
|
1063
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("sort_order", "updated_at", "created_at", "is_visible", "structure_id", "content", "title") VALUES (1, '2011-08-01 14:16:35.958396', '2011-08-01 14:16:35.958396', 't', 10, 'Test', 'Test')[0m
|
1064
|
+
Processing by Manage::QuestionsController#index as HTML
|
1065
|
+
Parameters: {"structure_id"=>10}
|
1066
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1067
|
+
Completed 500 Internal Server Error in 6ms
|
1068
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("sort_order", "updated_at", "created_at", "is_visible", "structure_id", "content", "title") VALUES (1, '2011-08-01 14:16:36.050222', '2011-08-01 14:16:36.050222', 't', 10, 'Test', 'Test')[0m
|
1069
|
+
Processing by Manage::QuestionsController#edit as HTML
|
1070
|
+
Parameters: {"structure_id"=>10, "id"=>17}
|
1071
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1072
|
+
Completed 500 Internal Server Error in 5ms
|
1073
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "questions" ("sort_order", "updated_at", "created_at", "is_visible", "structure_id", "content", "title") VALUES (1, '2011-08-01 14:16:36.243981', '2011-08-01 14:16:36.243981', 't', 10, 'Test', 'Test')[0m
|
1074
|
+
Processing by Manage::QuestionsController#update as HTML
|
1075
|
+
Parameters: {"structure_id"=>10, "id"=>18, "question"=>{"title"=>"Update"}}
|
1076
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1077
|
+
Completed 500 Internal Server Error in 6ms
|
1078
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "questions" ("sort_order", "updated_at", "created_at", "is_visible", "structure_id", "content", "title") VALUES (1, '2011-08-01 14:16:36.336722', '2011-08-01 14:16:36.336722', 't', 10, 'Test', 'Test')[0m
|
1079
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "structures"
|
1080
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1081
|
+
Parameters: {"structure_id"=>10, "id"=>19}
|
1082
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1083
|
+
Completed 500 Internal Server Error in 9ms
|
1084
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("sort_order", "updated_at", "created_at", "is_visible", "structure_id", "content", "title") VALUES (1, '2011-08-01 14:16:36.445494', '2011-08-01 14:16:36.445494', 't', 10, 'Test', 'Test')
|
1085
|
+
Processing by Manage::QuestionsController#edit as HTML
|
1086
|
+
Parameters: {"structure_id"=>10, "id"=>20}
|
1087
|
+
Completed in 6ms
|
1088
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("sort_order", "updated_at", "created_at", "is_visible", "structure_id", "content", "title") VALUES (1, '2011-08-01 14:16:36.562107', '2011-08-01 14:16:36.562107', 't', 10, 'Test', 'Test')[0m
|
1089
|
+
Processing by Manage::QuestionsController#update as HTML
|
1090
|
+
Parameters: {"structure_id"=>10, "id"=>21}
|
1091
|
+
Completed in 0ms
|
1092
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("sort_order", "updated_at", "created_at", "is_visible", "structure_id", "content", "title") VALUES (1, '2011-08-01 14:16:36.646754', '2011-08-01 14:16:36.646754', 't', 10, 'Test', 'Test')
|
1093
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1094
|
+
Parameters: {"structure_id"=>10, "id"=>22}
|
1095
|
+
Completed in 1ms
|
1096
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
1097
|
+
FROM sqlite_master
|
1098
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1099
|
+
[0m
|
1100
|
+
[1m[35mSQL (119.8ms)[0m DELETE FROM "users";
|
1101
|
+
[1m[36mSQL (88.1ms)[0m [1mDELETE FROM "roles";[0m
|
1102
|
+
[1m[35mSQL (99.3ms)[0m DELETE FROM "structures";
|
1103
|
+
[1m[36mSQL (77.0ms)[0m [1mDELETE FROM "pages";[0m
|
1104
|
+
[1m[35mSQL (66.2ms)[0m DELETE FROM "assets";
|
1105
|
+
[1m[36mSQL (77.0ms)[0m [1mDELETE FROM "headers";[0m
|
1106
|
+
[1m[35mSQL (66.0ms)[0m DELETE FROM "questions";
|
1107
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
1108
|
+
FROM sqlite_master
|
1109
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1110
|
+
[0m
|
1111
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1112
|
+
FROM sqlite_master
|
1113
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1114
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1115
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1116
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1117
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1118
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1119
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1120
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1121
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
1122
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'slug1') LIMIT 1
|
1123
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
1124
|
+
[1m[35mAREL (0.4ms)[0m INSERT INTO "structures" ("redirect_url", "depth", "updated_at", "title", "created_at", "slug", "is_visible", "rgt", "kind", "position", "parent_id", "lft") VALUES (NULL, 0, '2011-08-01 14:17:25.410709', 'Structure', '2011-08-01 14:17:25.410709', 'slug1', 't', 2, 1, 2, NULL, 1)
|
1125
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1[0m
|
1126
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "users" ("failed_attempts", "sign_in_count", "name", "current_sign_in_at", "confirmation_token", "reset_password_token", "confirmed_at", "confirmation_sent_at", "remember_created_at", "current_sign_in_ip", "last_sign_in_ip", "email", "encrypted_password", "reset_password_sent_at", "created_at", "locked_at", "last_sign_in_at", "updated_at", "password_salt") VALUES (0, 0, 'Admin', NULL, NULL, NULL, '2011-08-01 14:17:25.622204', NULL, NULL, NULL, NULL, 'testing1@example.com', '26d566c85530e521f59422118e3542e5bbbabb49e35233e00a7adef517aa282fe7123b938e9a6237d6e2a07732c8d2374eb880cc7184c04c158304527f7cf81f', NULL, '2011-08-01 14:17:25.624822', NULL, NULL, '2011-08-01 14:17:25.624822', 'Io4SdQhmfxQKhPslBpF0')
|
1127
|
+
[1m[36mAREL (0.1ms)[0m [1mINSERT INTO "roles" ("role_type", "created_at", "updated_at", "user_id") VALUES (4, '2011-08-01 14:17:25.626943', '2011-08-01 14:17:25.626943', 3)[0m
|
1128
|
+
Processing by Manage::QuestionsController#new as HTML
|
1129
|
+
Parameters: {"structure_id"=>11}
|
1130
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1131
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 11 LIMIT 1[0m
|
1132
|
+
Completed 500 Internal Server Error in 6ms
|
1133
|
+
[1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "questions"
|
1134
|
+
Processing by Manage::QuestionsController#create as HTML
|
1135
|
+
Parameters: {"structure_id"=>11, "question"=>{"title"=>"Test", "sort_order"=>1, "content"=>"Test", "is_visible"=>true}}
|
1136
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
1137
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT "structures".* FROM "structures" WHERE "structures"."id" = 11 LIMIT 1
|
1138
|
+
Completed 500 Internal Server Error in 5ms
|
1139
|
+
[1m[36mAREL (0.4ms)[0m [1mINSERT INTO "questions" ("content", "sort_order", "updated_at", "is_visible", "created_at", "title", "structure_id") VALUES ('Test', 1, '2011-08-01 14:17:25.769004', 't', '2011-08-01 14:17:25.769004', 'Test', 11)[0m
|
1140
|
+
Processing by Manage::QuestionsController#index as HTML
|
1141
|
+
Parameters: {"structure_id"=>11}
|
1142
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1143
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 11 LIMIT 1[0m
|
1144
|
+
Completed 500 Internal Server Error in 7ms
|
1145
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("content", "sort_order", "updated_at", "is_visible", "created_at", "title", "structure_id") VALUES ('Test', 1, '2011-08-01 14:17:25.888327', 't', '2011-08-01 14:17:25.888327', 'Test', 11)
|
1146
|
+
Processing by Manage::QuestionsController#edit as HTML
|
1147
|
+
Parameters: {"structure_id"=>11, "id"=>24}
|
1148
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
1149
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT "structures".* FROM "structures" WHERE "structures"."id" = 11 LIMIT 1
|
1150
|
+
Completed 500 Internal Server Error in 6ms
|
1151
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("content", "sort_order", "updated_at", "is_visible", "created_at", "title", "structure_id") VALUES ('Test', 1, '2011-08-01 14:17:26.077085', 't', '2011-08-01 14:17:26.077085', 'Test', 11)[0m
|
1152
|
+
Processing by Manage::QuestionsController#update as HTML
|
1153
|
+
Parameters: {"structure_id"=>11, "id"=>25, "question"=>{"title"=>"Update"}}
|
1154
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1155
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 11 LIMIT 1[0m
|
1156
|
+
Completed 500 Internal Server Error in 6ms
|
1157
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("content", "sort_order", "updated_at", "is_visible", "created_at", "title", "structure_id") VALUES ('Test', 1, '2011-08-01 14:17:26.184567', 't', '2011-08-01 14:17:26.184567', 'Test', 11)
|
1158
|
+
[1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM "structures"[0m
|
1159
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1160
|
+
Parameters: {"structure_id"=>11, "id"=>26}
|
1161
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1162
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 11 LIMIT 1[0m
|
1163
|
+
Completed 500 Internal Server Error in 11ms
|
1164
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("content", "sort_order", "updated_at", "is_visible", "created_at", "title", "structure_id") VALUES ('Test', 1, '2011-08-01 14:17:26.325187', 't', '2011-08-01 14:17:26.325187', 'Test', 11)
|
1165
|
+
Processing by Manage::QuestionsController#edit as HTML
|
1166
|
+
Parameters: {"structure_id"=>11, "id"=>27}
|
1167
|
+
Completed in 4ms
|
1168
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("content", "sort_order", "updated_at", "is_visible", "created_at", "title", "structure_id") VALUES ('Test', 1, '2011-08-01 14:17:26.432951', 't', '2011-08-01 14:17:26.432951', 'Test', 11)[0m
|
1169
|
+
Processing by Manage::QuestionsController#update as HTML
|
1170
|
+
Parameters: {"structure_id"=>11, "id"=>28}
|
1171
|
+
Completed in 1ms
|
1172
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("content", "sort_order", "updated_at", "is_visible", "created_at", "title", "structure_id") VALUES ('Test', 1, '2011-08-01 14:17:26.523908', 't', '2011-08-01 14:17:26.523908', 'Test', 11)
|
1173
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1174
|
+
Parameters: {"structure_id"=>11, "id"=>29}
|
1175
|
+
Completed in 1ms
|
1176
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
1177
|
+
FROM sqlite_master
|
1178
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1179
|
+
[0m
|
1180
|
+
[1m[35mSQL (91.6ms)[0m DELETE FROM "users";
|
1181
|
+
[1m[36mSQL (88.0ms)[0m [1mDELETE FROM "roles";[0m
|
1182
|
+
[1m[35mSQL (77.2ms)[0m DELETE FROM "structures";
|
1183
|
+
[1m[36mSQL (143.4ms)[0m [1mDELETE FROM "pages";[0m
|
1184
|
+
[1m[35mSQL (110.3ms)[0m DELETE FROM "assets";
|
1185
|
+
[1m[36mSQL (66.0ms)[0m [1mDELETE FROM "headers";[0m
|
1186
|
+
[1m[35mSQL (66.0ms)[0m DELETE FROM "questions";
|
1187
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
1188
|
+
FROM sqlite_master
|
1189
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1190
|
+
[0m
|
1191
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1192
|
+
FROM sqlite_master
|
1193
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1194
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1195
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1196
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1197
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1198
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1199
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1200
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1201
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
1202
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'slug1') LIMIT 1
|
1203
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
1204
|
+
[1m[35mAREL (0.3ms)[0m INSERT INTO "structures" ("created_at", "depth", "rgt", "lft", "kind", "parent_id", "title", "slug", "is_visible", "redirect_url", "position", "updated_at") VALUES ('2011-08-01 14:19:19.841921', 0, 2, 1, 1, NULL, 'Structure', 'slug1', 't', NULL, 2, '2011-08-01 14:19:19.841921')
|
1205
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1[0m
|
1206
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "users" ("reset_password_token", "current_sign_in_at", "last_sign_in_at", "created_at", "email", "remember_created_at", "password_salt", "last_sign_in_ip", "confirmation_sent_at", "sign_in_count", "failed_attempts", "locked_at", "current_sign_in_ip", "encrypted_password", "name", "confirmed_at", "reset_password_sent_at", "confirmation_token", "updated_at") VALUES (NULL, NULL, NULL, '2011-08-01 14:19:20.005357', 'testing1@example.com', NULL, 'lyEolM6pSlcTOfN3kh4M', NULL, NULL, 0, 0, NULL, NULL, 'd5eeb2df44d8f598075688baf1c2287de72780dc0a12b785dfbcc3de4a23f13c6b1978fdd66cea46cd81a478a238400e25ffce1168b683312e108ba6406547a0', 'Admin', '2011-08-01 14:19:20.002905', NULL, NULL, '2011-08-01 14:19:20.005357')
|
1207
|
+
[1m[36mAREL (0.1ms)[0m [1mINSERT INTO "roles" ("updated_at", "role_type", "user_id", "created_at") VALUES ('2011-08-01 14:19:20.007490', 4, 4, '2011-08-01 14:19:20.007490')[0m
|
1208
|
+
Processing by Manage::QuestionsController#new as HTML
|
1209
|
+
Parameters: {"structure_id"=>12}
|
1210
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
|
1211
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 12 LIMIT 1[0m
|
1212
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1
|
1213
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1[0m
|
1214
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_form.html.erb (20.7ms)
|
1215
|
+
[1m[35mAvatar Load (0.3ms)[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
|
1216
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_head.html.erb (13.6ms)
|
1217
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_notice.html.erb (0.5ms)
|
1218
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/fileupload/_tmpl.html.erb (0.8ms)
|
1219
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/new.html.erb within layouts/manage (147.5ms)
|
1220
|
+
Completed 200 OK in 169ms (Views: 155.4ms | ActiveRecord: 3.3ms)
|
1221
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "questions"[0m
|
1222
|
+
Processing by Manage::QuestionsController#create as HTML
|
1223
|
+
Parameters: {"structure_id"=>12, "question"=>{"title"=>"Test", "sort_order"=>1, "content"=>"Test", "is_visible"=>true}}
|
1224
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
|
1225
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 12 LIMIT 1[0m
|
1226
|
+
WARNING: Can't mass-assign protected attributes: sort_order
|
1227
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1
|
1228
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1[0m
|
1229
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("structure_id", "content", "title", "sort_order", "is_visible", "created_at", "updated_at") VALUES (12, 'Test', 'Test', 0, 't', '2011-08-01 14:19:20.322234', '2011-08-01 14:19:20.322234')
|
1230
|
+
Redirected to http://test.host/manage/structures/12/questions
|
1231
|
+
Completed 302 Found in 144ms
|
1232
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "questions"[0m
|
1233
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("structure_id", "content", "title", "sort_order", "is_visible", "created_at", "updated_at") VALUES (12, 'Test', 'Test', 1, 't', '2011-08-01 14:19:20.465324', '2011-08-01 14:19:20.465324')
|
1234
|
+
Processing by Manage::QuestionsController#index as HTML
|
1235
|
+
Parameters: {"structure_id"=>12}
|
1236
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1[0m
|
1237
|
+
[1m[35mStructure Load (0.5ms)[0m SELECT "structures".* FROM "structures" WHERE "structures"."id" = 12 LIMIT 1
|
1238
|
+
[1m[36mRole Load (0.3ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1[0m
|
1239
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1
|
1240
|
+
[1m[36mQuestion Load (0.2ms)[0m [1mSELECT "questions".* FROM "questions" WHERE ("questions".structure_id = 12) LIMIT 25 OFFSET 0[0m
|
1241
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_question.html.erb (4.1ms)
|
1242
|
+
[1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "questions" WHERE ("questions".structure_id = 12)
|
1243
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_model_filter.html.erb (7.2ms)
|
1244
|
+
[1m[36mAvatar Load (0.3ms)[0m [1mSELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 4 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1[0m
|
1245
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_head.html.erb (4.6ms)
|
1246
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1247
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
1248
|
+
Completed 200 OK in 51ms (Views: 34.5ms | ActiveRecord: 2.6ms)
|
1249
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("structure_id", "content", "title", "sort_order", "is_visible", "created_at", "updated_at") VALUES (12, 'Test', 'Test', 1, 't', '2011-08-01 14:19:20.647762', '2011-08-01 14:19:20.647762')
|
1250
|
+
Processing by Manage::QuestionsController#edit as HTML
|
1251
|
+
Parameters: {"structure_id"=>12, "id"=>32}
|
1252
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1[0m
|
1253
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT "structures".* FROM "structures" WHERE "structures"."id" = 12 LIMIT 1
|
1254
|
+
[1m[36mQuestion Load (0.3ms)[0m [1mSELECT "questions".* FROM "questions" WHERE "questions"."id" = 32 AND ("questions".structure_id = 12) LIMIT 1[0m
|
1255
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1
|
1256
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1[0m
|
1257
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_form.html.erb (8.5ms)
|
1258
|
+
[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
|
1259
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_head.html.erb (4.2ms)
|
1260
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1261
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
1262
|
+
Completed 200 OK in 34ms (Views: 19.7ms | ActiveRecord: 2.1ms)
|
1263
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("structure_id", "content", "title", "sort_order", "is_visible", "created_at", "updated_at") VALUES (12, 'Test', 'Test', 1, 't', '2011-08-01 14:19:20.762383', '2011-08-01 14:19:20.762383')[0m
|
1264
|
+
Processing by Manage::QuestionsController#update as HTML
|
1265
|
+
Parameters: {"structure_id"=>12, "id"=>33, "question"=>{"title"=>"Update"}}
|
1266
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
|
1267
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 12 LIMIT 1[0m
|
1268
|
+
[1m[35mQuestion Load (0.1ms)[0m SELECT "questions".* FROM "questions" WHERE "questions"."id" = 33 AND ("questions".structure_id = 12) LIMIT 1
|
1269
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1[0m
|
1270
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1
|
1271
|
+
[1m[36mAREL (0.2ms)[0m [1mUPDATE "questions" SET "title" = 'Update', "updated_at" = '2011-08-01 14:19:20.989799' WHERE "questions"."id" = 33[0m
|
1272
|
+
Redirected to http://test.host/manage/structures/12/questions
|
1273
|
+
Completed 302 Found in 228ms
|
1274
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("structure_id", "content", "title", "sort_order", "is_visible", "created_at", "updated_at") VALUES (12, 'Test', 'Test', 1, 't', '2011-08-01 14:19:21.113350', '2011-08-01 14:19:21.113350')
|
1275
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "structures"[0m
|
1276
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1277
|
+
Parameters: {"structure_id"=>12, "id"=>34}
|
1278
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
|
1279
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 12 LIMIT 1[0m
|
1280
|
+
[1m[35mQuestion Load (0.1ms)[0m SELECT "questions".* FROM "questions" WHERE "questions"."id" = 34 AND ("questions".structure_id = 12) LIMIT 1
|
1281
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1[0m
|
1282
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 4) LIMIT 1
|
1283
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM "questions" WHERE "questions"."id" = 34[0m
|
1284
|
+
Redirected to http://test.host/manage/structures/12/questions
|
1285
|
+
Completed 302 Found in 113ms
|
1286
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "structures"
|
1287
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("structure_id", "content", "title", "sort_order", "is_visible", "created_at", "updated_at") VALUES (12, 'Test', 'Test', 1, 't', '2011-08-01 14:19:21.344872', '2011-08-01 14:19:21.344872')[0m
|
1288
|
+
Processing by Manage::QuestionsController#edit as HTML
|
1289
|
+
Parameters: {"structure_id"=>12, "id"=>35}
|
1290
|
+
Completed in 4ms
|
1291
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("structure_id", "content", "title", "sort_order", "is_visible", "created_at", "updated_at") VALUES (12, 'Test', 'Test', 1, 't', '2011-08-01 14:19:21.453464', '2011-08-01 14:19:21.453464')
|
1292
|
+
Processing by Manage::QuestionsController#update as HTML
|
1293
|
+
Parameters: {"structure_id"=>12, "id"=>36}
|
1294
|
+
Completed in 1ms
|
1295
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "questions" ("structure_id", "content", "title", "sort_order", "is_visible", "created_at", "updated_at") VALUES (12, 'Test', 'Test', 1, 't', '2011-08-01 14:19:21.566965', '2011-08-01 14:19:21.566965')[0m
|
1296
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1297
|
+
Parameters: {"structure_id"=>12, "id"=>37}
|
1298
|
+
Completed in 1ms
|
1299
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1300
|
+
FROM sqlite_master
|
1301
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1302
|
+
[1m[36mSQL (80.8ms)[0m [1mDELETE FROM "users";[0m
|
1303
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "roles";
|
1304
|
+
[1m[36mSQL (132.5ms)[0m [1mDELETE FROM "structures";[0m
|
1305
|
+
[1m[35mSQL (77.0ms)[0m DELETE FROM "pages";
|
1306
|
+
[1m[36mSQL (121.4ms)[0m [1mDELETE FROM "assets";[0m
|
1307
|
+
[1m[35mSQL (77.1ms)[0m DELETE FROM "headers";
|
1308
|
+
[1m[36mSQL (77.0ms)[0m [1mDELETE FROM "questions";[0m
|
1309
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
1310
|
+
FROM sqlite_master
|
1311
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1312
|
+
[0m
|
1313
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1314
|
+
FROM sqlite_master
|
1315
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1316
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1317
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1318
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1319
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1320
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1321
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1322
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1323
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
1324
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1325
|
+
FROM sqlite_master
|
1326
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1327
|
+
[1m[36mSQL (153.7ms)[0m [1mDELETE FROM "users";[0m
|
1328
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "roles";
|
1329
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
1330
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "pages";
|
1331
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "assets";[0m
|
1332
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
1333
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "questions";[0m
|
1334
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1335
|
+
FROM sqlite_master
|
1336
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1337
|
+
[1m[36mSQL (96.2ms)[0m [1mDELETE FROM "users";[0m
|
1338
|
+
[1m[35mSQL (121.1ms)[0m DELETE FROM "roles";
|
1339
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "structures";[0m
|
1340
|
+
[1m[35mSQL (110.3ms)[0m DELETE FROM "pages";
|
1341
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "assets";[0m
|
1342
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "headers";
|
1343
|
+
[1m[36mSQL (121.2ms)[0m [1mDELETE FROM "questions";[0m
|
1344
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1345
|
+
FROM sqlite_master
|
1346
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1347
|
+
[1m[36mSQL (112.0ms)[0m [1mDELETE FROM "users";[0m
|
1348
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "roles";
|
1349
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "structures";[0m
|
1350
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "pages";
|
1351
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "assets";[0m
|
1352
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "headers";
|
1353
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "questions";[0m
|
1354
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'slug1') LIMIT 1
|
1355
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
1356
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "structures" ("parent_id", "updated_at", "title", "position", "lft", "redirect_url", "slug", "rgt", "depth", "created_at", "is_visible", "kind") VALUES (NULL, '2011-08-01 14:20:23.516972', 'Structure', 2, 1, NULL, 'slug1', 2, 0, '2011-08-01 14:20:23.516972', 't', 1)
|
1357
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("updated_at", "title", "content", "is_visible", "sort_order", "created_at", "structure_id") VALUES ('2011-08-01 14:20:23.711710', 'Test', 'Test', 't', 0, '2011-08-01 14:20:23.711710', 13)[0m
|
1358
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1359
|
+
FROM sqlite_master
|
1360
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1361
|
+
[1m[36mSQL (93.1ms)[0m [1mDELETE FROM "users";[0m
|
1362
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "roles";
|
1363
|
+
[1m[36mSQL (110.4ms)[0m [1mDELETE FROM "structures";[0m
|
1364
|
+
[1m[35mSQL (121.1ms)[0m DELETE FROM "pages";
|
1365
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "assets";[0m
|
1366
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "headers";
|
1367
|
+
[1m[36mSQL (83.0ms)[0m [1mDELETE FROM "questions";[0m
|
1368
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'slug2') LIMIT 1
|
1369
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
1370
|
+
[1m[35mAREL (0.3ms)[0m INSERT INTO "structures" ("parent_id", "updated_at", "title", "position", "lft", "redirect_url", "slug", "rgt", "depth", "created_at", "is_visible", "kind") VALUES (NULL, '2011-08-01 14:20:24.596746', 'Structure', 2, 1, NULL, 'slug2', 2, 0, '2011-08-01 14:20:24.596746', 't', 1)
|
1371
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1[0m
|
1372
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "users" ("reset_password_sent_at", "last_sign_in_at", "locked_at", "sign_in_count", "updated_at", "name", "current_sign_in_ip", "password_salt", "created_at", "reset_password_token", "last_sign_in_ip", "confirmation_token", "email", "remember_created_at", "failed_attempts", "encrypted_password", "confirmation_sent_at", "confirmed_at", "current_sign_in_at") VALUES (NULL, NULL, NULL, 0, '2011-08-01 14:20:24.699083', 'Admin', NULL, 'V6q2S0ZOp5bAarmWfQkj', '2011-08-01 14:20:24.699083', NULL, NULL, NULL, 'testing1@example.com', NULL, 0, '944a7833b7ddb15922f079c444af28ea8c7daba6e503922b3fef2acee9587ec51fdedd8f1fcfb0458c30e1da8fe37ab4ff26a189dc60e1092be4787431232c59', NULL, '2011-08-01 14:20:24.696545', NULL)
|
1373
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "roles" ("role_type", "updated_at", "user_id", "created_at") VALUES (4, '2011-08-01 14:20:24.701419', 5, '2011-08-01 14:20:24.701419')[0m
|
1374
|
+
Processing by Manage::QuestionsController#new as HTML
|
1375
|
+
Parameters: {"structure_id"=>14}
|
1376
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 5 LIMIT 1
|
1377
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 14 LIMIT 1[0m
|
1378
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1
|
1379
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1[0m
|
1380
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_form.html.erb (19.7ms)
|
1381
|
+
[1m[35mAvatar Load (0.2ms)[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
|
1382
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_head.html.erb (13.6ms)
|
1383
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_notice.html.erb (0.4ms)
|
1384
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/fileupload/_tmpl.html.erb (0.7ms)
|
1385
|
+
Completed 200 OK in 63ms (Views: 52.7ms | ActiveRecord: 2979.1ms)
|
1386
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "questions"[0m
|
1387
|
+
Processing by Manage::QuestionsController#create as HTML
|
1388
|
+
Parameters: {"structure_id"=>14, "question"=>{"title"=>"Test", "sort_order"=>1, "content"=>"Test", "is_visible"=>true}}
|
1389
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 5 LIMIT 1
|
1390
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 14 LIMIT 1[0m
|
1391
|
+
WARNING: Can't mass-assign protected attributes: sort_order
|
1392
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1
|
1393
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1[0m
|
1394
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("updated_at", "title", "content", "is_visible", "sort_order", "created_at", "structure_id") VALUES ('2011-08-01 14:20:24.863462', 'Test', 'Test', 't', 0, '2011-08-01 14:20:24.863462', 14)
|
1395
|
+
Redirected to http://test.host/manage/structures/14/questions
|
1396
|
+
Completed 302 Found in 104ms
|
1397
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "questions"[0m
|
1398
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("updated_at", "title", "content", "is_visible", "sort_order", "created_at", "structure_id") VALUES ('2011-08-01 14:20:24.964319', 'Test', 'Test', 't', 1, '2011-08-01 14:20:24.964319', 14)
|
1399
|
+
Processing by Manage::QuestionsController#index as HTML
|
1400
|
+
Parameters: {"structure_id"=>14}
|
1401
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 5 LIMIT 1[0m
|
1402
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT "structures".* FROM "structures" WHERE "structures"."id" = 14 LIMIT 1
|
1403
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1[0m
|
1404
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1
|
1405
|
+
[1m[36mQuestion Load (0.2ms)[0m [1mSELECT "questions".* FROM "questions" WHERE ("questions".structure_id = 14) LIMIT 25 OFFSET 0[0m
|
1406
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_question.html.erb (4.0ms)
|
1407
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "questions" WHERE ("questions".structure_id = 14)
|
1408
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_model_filter.html.erb (6.7ms)
|
1409
|
+
[1m[36mAvatar Load (0.3ms)[0m [1mSELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 5 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1[0m
|
1410
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_head.html.erb (4.8ms)
|
1411
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1412
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
1413
|
+
Completed 200 OK in 140ms (Views: 127.4ms | ActiveRecord: 2.3ms)
|
1414
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("updated_at", "title", "content", "is_visible", "sort_order", "created_at", "structure_id") VALUES ('2011-08-01 14:20:25.209273', 'Test', 'Test', 't', 1, '2011-08-01 14:20:25.209273', 14)
|
1415
|
+
Processing by Manage::QuestionsController#edit as HTML
|
1416
|
+
Parameters: {"structure_id"=>14, "id"=>41}
|
1417
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 5 LIMIT 1[0m
|
1418
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT "structures".* FROM "structures" WHERE "structures"."id" = 14 LIMIT 1
|
1419
|
+
[1m[36mQuestion Load (0.1ms)[0m [1mSELECT "questions".* FROM "questions" WHERE "questions"."id" = 41 AND ("questions".structure_id = 14) LIMIT 1[0m
|
1420
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1
|
1421
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1[0m
|
1422
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_form.html.erb (8.6ms)
|
1423
|
+
[1m[35mAvatar Load (0.2ms)[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
|
1424
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_head.html.erb (4.5ms)
|
1425
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1426
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
1427
|
+
Completed 200 OK in 30ms (Views: 20.1ms | ActiveRecord: 1.6ms)
|
1428
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("updated_at", "title", "content", "is_visible", "sort_order", "created_at", "structure_id") VALUES ('2011-08-01 14:20:25.341570', 'Test', 'Test', 't', 1, '2011-08-01 14:20:25.341570', 14)[0m
|
1429
|
+
Processing by Manage::QuestionsController#update as HTML
|
1430
|
+
Parameters: {"structure_id"=>14, "id"=>42, "question"=>{"title"=>"Update"}}
|
1431
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 5 LIMIT 1
|
1432
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 14 LIMIT 1[0m
|
1433
|
+
[1m[35mQuestion Load (0.1ms)[0m SELECT "questions".* FROM "questions" WHERE "questions"."id" = 42 AND ("questions".structure_id = 14) LIMIT 1
|
1434
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1[0m
|
1435
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1
|
1436
|
+
[1m[36mAREL (0.2ms)[0m [1mUPDATE "questions" SET "updated_at" = '2011-08-01 14:20:25.462681', "title" = 'Update' WHERE "questions"."id" = 42[0m
|
1437
|
+
Redirected to http://test.host/manage/structures/14/questions
|
1438
|
+
Completed 302 Found in 136ms
|
1439
|
+
[1m[35mAREL (0.3ms)[0m INSERT INTO "questions" ("updated_at", "title", "content", "is_visible", "sort_order", "created_at", "structure_id") VALUES ('2011-08-01 14:20:25.595307', 'Test', 'Test', 't', 1, '2011-08-01 14:20:25.595307', 14)
|
1440
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "structures"[0m
|
1441
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1442
|
+
Parameters: {"structure_id"=>14, "id"=>43}
|
1443
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 5 LIMIT 1
|
1444
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 14 LIMIT 1[0m
|
1445
|
+
[1m[35mQuestion Load (0.1ms)[0m SELECT "questions".* FROM "questions" WHERE "questions"."id" = 43 AND ("questions".structure_id = 14) LIMIT 1
|
1446
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1[0m
|
1447
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 5) LIMIT 1
|
1448
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM "questions" WHERE "questions"."id" = 43[0m
|
1449
|
+
Redirected to http://test.host/manage/structures/14/questions
|
1450
|
+
Completed 302 Found in 89ms
|
1451
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "structures"
|
1452
|
+
Processing by Manage::QuestionsController#index as HTML
|
1453
|
+
Parameters: {"structure_id"=>14}
|
1454
|
+
Completed in 2ms
|
1455
|
+
Processing by Manage::QuestionsController#new as HTML
|
1456
|
+
Parameters: {"structure_id"=>14}
|
1457
|
+
Completed in 0ms
|
1458
|
+
Processing by Manage::QuestionsController#create as HTML
|
1459
|
+
Parameters: {"structure_id"=>14}
|
1460
|
+
Completed in 0ms
|
1461
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("updated_at", "title", "content", "is_visible", "sort_order", "created_at", "structure_id") VALUES ('2011-08-01 14:20:25.827054', 'Test', 'Test', 't', 1, '2011-08-01 14:20:25.827054', 14)[0m
|
1462
|
+
Processing by Manage::QuestionsController#edit as HTML
|
1463
|
+
Parameters: {"structure_id"=>14, "id"=>44}
|
1464
|
+
Completed in 1ms
|
1465
|
+
[1m[35mAREL (0.4ms)[0m INSERT INTO "questions" ("updated_at", "title", "content", "is_visible", "sort_order", "created_at", "structure_id") VALUES ('2011-08-01 14:20:25.962643', 'Test', 'Test', 't', 1, '2011-08-01 14:20:25.962643', 14)
|
1466
|
+
Processing by Manage::QuestionsController#update as HTML
|
1467
|
+
Parameters: {"structure_id"=>14, "id"=>45}
|
1468
|
+
Completed in 1ms
|
1469
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "questions" ("updated_at", "title", "content", "is_visible", "sort_order", "created_at", "structure_id") VALUES ('2011-08-01 14:20:26.095180', 'Test', 'Test', 't', 1, '2011-08-01 14:20:26.095180', 14)[0m
|
1470
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1471
|
+
Parameters: {"structure_id"=>14, "id"=>46}
|
1472
|
+
Completed in 1ms
|
1473
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
1474
|
+
FROM sqlite_master
|
1475
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1476
|
+
[1m[36mSQL (102.0ms)[0m [1mDELETE FROM "users";[0m
|
1477
|
+
[1m[35mSQL (99.0ms)[0m DELETE FROM "roles";
|
1478
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
1479
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "pages";
|
1480
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "assets";[0m
|
1481
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "headers";
|
1482
|
+
[1m[36mSQL (99.1ms)[0m [1mDELETE FROM "questions";[0m
|
1483
|
+
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
1484
|
+
FROM sqlite_master
|
1485
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1486
|
+
[0m
|
1487
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1488
|
+
FROM sqlite_master
|
1489
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1490
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1491
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1492
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1493
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1494
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1495
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1496
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1497
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
1498
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1499
|
+
FROM sqlite_master
|
1500
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1501
|
+
[1m[36mSQL (139.5ms)[0m [1mDELETE FROM "users";[0m
|
1502
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "roles";
|
1503
|
+
[1m[36mSQL (143.5ms)[0m [1mDELETE FROM "structures";[0m
|
1504
|
+
[1m[35mSQL (132.2ms)[0m DELETE FROM "pages";
|
1505
|
+
[1m[36mSQL (132.4ms)[0m [1mDELETE FROM "assets";[0m
|
1506
|
+
[1m[35mSQL (132.2ms)[0m DELETE FROM "headers";
|
1507
|
+
[1m[36mSQL (88.1ms)[0m [1mDELETE FROM "questions";[0m
|
1508
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1509
|
+
FROM sqlite_master
|
1510
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1511
|
+
[1m[36mSQL (96.4ms)[0m [1mDELETE FROM "users";[0m
|
1512
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "roles";
|
1513
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
1514
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "pages";
|
1515
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "assets";[0m
|
1516
|
+
[1m[35mSQL (99.1ms)[0m DELETE FROM "headers";
|
1517
|
+
[1m[36mSQL (105.0ms)[0m [1mDELETE FROM "questions";[0m
|
1518
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1519
|
+
FROM sqlite_master
|
1520
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1521
|
+
[1m[36mSQL (118.0ms)[0m [1mDELETE FROM "users";[0m
|
1522
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "roles";
|
1523
|
+
[1m[36mSQL (110.5ms)[0m [1mDELETE FROM "structures";[0m
|
1524
|
+
[1m[35mSQL (132.2ms)[0m DELETE FROM "pages";
|
1525
|
+
[1m[36mSQL (132.4ms)[0m [1mDELETE FROM "assets";[0m
|
1526
|
+
[1m[35mSQL (132.2ms)[0m DELETE FROM "headers";
|
1527
|
+
[1m[36mSQL (151.8ms)[0m [1mDELETE FROM "questions";[0m
|
1528
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'slug1') LIMIT 1
|
1529
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
1530
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "structures" ("parent_id", "created_at", "slug", "lft", "position", "depth", "redirect_url", "is_visible", "rgt", "title", "updated_at", "kind") VALUES (NULL, '2011-08-01 14:21:08.539252', 'slug1', 1, 2, 0, NULL, 't', 2, 'Structure', '2011-08-01 14:21:08.539252', 1)
|
1531
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("content", "is_visible", "title", "updated_at", "created_at", "structure_id", "sort_order") VALUES ('Test', 't', 'Test', '2011-08-01 14:21:08.742844', '2011-08-01 14:21:08.742844', 15, 0)[0m
|
1532
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1533
|
+
FROM sqlite_master
|
1534
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1535
|
+
[1m[36mSQL (97.4ms)[0m [1mDELETE FROM "users";[0m
|
1536
|
+
[1m[35mSQL (110.0ms)[0m DELETE FROM "roles";
|
1537
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
1538
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "pages";
|
1539
|
+
[1m[36mSQL (99.3ms)[0m [1mDELETE FROM "assets";[0m
|
1540
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "headers";
|
1541
|
+
[1m[36mSQL (94.1ms)[0m [1mDELETE FROM "questions";[0m
|
1542
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'slug2') LIMIT 1
|
1543
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
1544
|
+
[1m[35mAREL (0.3ms)[0m INSERT INTO "structures" ("parent_id", "created_at", "slug", "lft", "position", "depth", "redirect_url", "is_visible", "rgt", "title", "updated_at", "kind") VALUES (NULL, '2011-08-01 14:21:09.555267', 'slug2', 1, 2, 0, NULL, 't', 2, 'Structure', '2011-08-01 14:21:09.555267', 1)
|
1545
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1[0m
|
1546
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "users" ("password_salt", "current_sign_in_ip", "reset_password_sent_at", "created_at", "email", "remember_created_at", "sign_in_count", "confirmation_sent_at", "reset_password_token", "locked_at", "last_sign_in_ip", "name", "encrypted_password", "confirmed_at", "last_sign_in_at", "current_sign_in_at", "updated_at", "confirmation_token", "failed_attempts") VALUES ('6sgepZoKACOgozbRpKze', NULL, NULL, '2011-08-01 14:21:09.677385', 'testing1@example.com', NULL, 0, NULL, NULL, NULL, NULL, 'Admin', 'b672b9eaa3859e025e478764c5d03c52c66f3b527836a2eca1811b5b76a5f625d40f315f44457e778ee6a8e8b7074452f586c2944b65bd72a089b33ed5f94e0c', '2011-08-01 14:21:09.673890', NULL, NULL, '2011-08-01 14:21:09.677385', NULL, 0)
|
1547
|
+
[1m[36mAREL (0.1ms)[0m [1mINSERT INTO "roles" ("updated_at", "role_type", "created_at", "user_id") VALUES ('2011-08-01 14:21:09.679575', 4, '2011-08-01 14:21:09.679575', 6)[0m
|
1548
|
+
Processing by Manage::QuestionsController#new as HTML
|
1549
|
+
Parameters: {"structure_id"=>16}
|
1550
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1
|
1551
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 16 LIMIT 1[0m
|
1552
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1
|
1553
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1[0m
|
1554
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_form.html.erb (19.5ms)
|
1555
|
+
[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
|
1556
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_head.html.erb (12.5ms)
|
1557
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_notice.html.erb (0.4ms)
|
1558
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/fileupload/_tmpl.html.erb (0.7ms)
|
1559
|
+
Completed 200 OK in 62ms (Views: 51.0ms | ActiveRecord: 3100.0ms)
|
1560
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "questions" WHERE ("questions".structure_id = 16)[0m
|
1561
|
+
Processing by Manage::QuestionsController#create as HTML
|
1562
|
+
Parameters: {"structure_id"=>16, "question"=>{"title"=>"Test", "sort_order"=>1, "content"=>"Test", "is_visible"=>true}}
|
1563
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1
|
1564
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 16 LIMIT 1[0m
|
1565
|
+
WARNING: Can't mass-assign protected attributes: sort_order
|
1566
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1
|
1567
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1[0m
|
1568
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("content", "is_visible", "title", "updated_at", "created_at", "structure_id", "sort_order") VALUES ('Test', 't', 'Test', '2011-08-01 14:21:09.912399', '2011-08-01 14:21:09.912399', 16, 0)
|
1569
|
+
Redirected to http://test.host/manage/structures/16/questions
|
1570
|
+
Completed 302 Found in 113ms
|
1571
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "questions" WHERE ("questions".structure_id = 16)[0m
|
1572
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("content", "is_visible", "title", "updated_at", "created_at", "structure_id", "sort_order") VALUES ('Test', 't', 'Test', '2011-08-01 14:21:10.023117', '2011-08-01 14:21:10.023117', 16, 1)
|
1573
|
+
Processing by Manage::QuestionsController#index as HTML
|
1574
|
+
Parameters: {"structure_id"=>16}
|
1575
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1[0m
|
1576
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT "structures".* FROM "structures" WHERE "structures"."id" = 16 LIMIT 1
|
1577
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1[0m
|
1578
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1
|
1579
|
+
[1m[36mQuestion Load (0.2ms)[0m [1mSELECT "questions".* FROM "questions" WHERE ("questions".structure_id = 16) LIMIT 25 OFFSET 0[0m
|
1580
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_question.html.erb (4.5ms)
|
1581
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "questions" WHERE ("questions".structure_id = 16)
|
1582
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_model_filter.html.erb (5.6ms)
|
1583
|
+
[1m[36mAvatar Load (0.3ms)[0m [1mSELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 6 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1[0m
|
1584
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_head.html.erb (4.8ms)
|
1585
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1586
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
1587
|
+
Completed 200 OK in 140ms (Views: 128.8ms | ActiveRecord: 2.1ms)
|
1588
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("content", "is_visible", "title", "updated_at", "created_at", "structure_id", "sort_order") VALUES ('Test', 't', 'Test', '2011-08-01 14:21:10.284396', '2011-08-01 14:21:10.284396', 16, 1)
|
1589
|
+
Processing by Manage::QuestionsController#edit as HTML
|
1590
|
+
Parameters: {"structure_id"=>16, "id"=>50}
|
1591
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1[0m
|
1592
|
+
[1m[35mStructure Load (0.2ms)[0m SELECT "structures".* FROM "structures" WHERE "structures"."id" = 16 LIMIT 1
|
1593
|
+
[1m[36mQuestion Load (0.1ms)[0m [1mSELECT "questions".* FROM "questions" WHERE "questions"."id" = 50 AND ("questions".structure_id = 16) LIMIT 1[0m
|
1594
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1
|
1595
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1[0m
|
1596
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_form.html.erb (8.6ms)
|
1597
|
+
[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
|
1598
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_head.html.erb (5.0ms)
|
1599
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1600
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/fileupload/_tmpl.html.erb (0.7ms)
|
1601
|
+
Completed 200 OK in 30ms (Views: 21.2ms | ActiveRecord: 1.4ms)
|
1602
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("content", "is_visible", "title", "updated_at", "created_at", "structure_id", "sort_order") VALUES ('Test', 't', 'Test', '2011-08-01 14:21:10.439806', '2011-08-01 14:21:10.439806', 16, 1)[0m
|
1603
|
+
Processing by Manage::QuestionsController#update as HTML
|
1604
|
+
Parameters: {"structure_id"=>16, "id"=>51, "question"=>{"title"=>"Update"}}
|
1605
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1
|
1606
|
+
[1m[36mStructure Load (0.4ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 16 LIMIT 1[0m
|
1607
|
+
[1m[35mQuestion Load (0.2ms)[0m SELECT "questions".* FROM "questions" WHERE "questions"."id" = 51 AND ("questions".structure_id = 16) LIMIT 1
|
1608
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1[0m
|
1609
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1
|
1610
|
+
[1m[36mAREL (0.2ms)[0m [1mUPDATE "questions" SET "title" = 'Update', "updated_at" = '2011-08-01 14:21:10.574087' WHERE "questions"."id" = 51[0m
|
1611
|
+
Redirected to http://test.host/manage/structures/16/questions
|
1612
|
+
Completed 302 Found in 135ms
|
1613
|
+
[1m[35mAREL (0.4ms)[0m INSERT INTO "questions" ("content", "is_visible", "title", "updated_at", "created_at", "structure_id", "sort_order") VALUES ('Test', 't', 'Test', '2011-08-01 14:21:10.703248', '2011-08-01 14:21:10.703248', 16, 1)
|
1614
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "questions" WHERE ("questions".structure_id = 16)[0m
|
1615
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1616
|
+
Parameters: {"structure_id"=>16, "id"=>52}
|
1617
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 6 LIMIT 1
|
1618
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 16 LIMIT 1[0m
|
1619
|
+
[1m[35mQuestion Load (0.1ms)[0m SELECT "questions".* FROM "questions" WHERE "questions"."id" = 52 AND ("questions".structure_id = 16) LIMIT 1
|
1620
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1[0m
|
1621
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 6) LIMIT 1
|
1622
|
+
[1m[36mAREL (0.2ms)[0m [1mDELETE FROM "questions" WHERE "questions"."id" = 52[0m
|
1623
|
+
Redirected to http://test.host/manage/structures/16/questions
|
1624
|
+
Completed 302 Found in 144ms
|
1625
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "questions" WHERE ("questions".structure_id = 16)
|
1626
|
+
Processing by Manage::QuestionsController#index as HTML
|
1627
|
+
Parameters: {"structure_id"=>16}
|
1628
|
+
Completed in 2ms
|
1629
|
+
Processing by Manage::QuestionsController#new as HTML
|
1630
|
+
Parameters: {"structure_id"=>16}
|
1631
|
+
Completed in 0ms
|
1632
|
+
Processing by Manage::QuestionsController#create as HTML
|
1633
|
+
Parameters: {"structure_id"=>16}
|
1634
|
+
Completed in 0ms
|
1635
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("content", "is_visible", "title", "updated_at", "created_at", "structure_id", "sort_order") VALUES ('Test', 't', 'Test', '2011-08-01 14:21:11.005050', '2011-08-01 14:21:11.005050', 16, 1)[0m
|
1636
|
+
Processing by Manage::QuestionsController#edit as HTML
|
1637
|
+
Parameters: {"structure_id"=>16, "id"=>53}
|
1638
|
+
Completed in 0ms
|
1639
|
+
[1m[35mAREL (0.3ms)[0m INSERT INTO "questions" ("content", "is_visible", "title", "updated_at", "created_at", "structure_id", "sort_order") VALUES ('Test', 't', 'Test', '2011-08-01 14:21:11.125842', '2011-08-01 14:21:11.125842', 16, 1)
|
1640
|
+
Processing by Manage::QuestionsController#update as HTML
|
1641
|
+
Parameters: {"structure_id"=>16, "id"=>54}
|
1642
|
+
Completed in 1ms
|
1643
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("content", "is_visible", "title", "updated_at", "created_at", "structure_id", "sort_order") VALUES ('Test', 't', 'Test', '2011-08-01 14:21:11.260747', '2011-08-01 14:21:11.260747', 16, 1)[0m
|
1644
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1645
|
+
Parameters: {"structure_id"=>16, "id"=>55}
|
1646
|
+
Completed in 1ms
|
1647
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1648
|
+
FROM sqlite_master
|
1649
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1650
|
+
[1m[36mSQL (116.4ms)[0m [1mDELETE FROM "users";[0m
|
1651
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "roles";
|
1652
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
1653
|
+
[1m[35mSQL (88.0ms)[0m DELETE FROM "pages";
|
1654
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "assets";[0m
|
1655
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "headers";
|
1656
|
+
[1m[36mSQL (94.0ms)[0m [1mDELETE FROM "questions";[0m
|
1657
|
+
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
1658
|
+
FROM sqlite_master
|
1659
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1660
|
+
[0m
|
1661
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1662
|
+
FROM sqlite_master
|
1663
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1664
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
1665
|
+
Migrating to SunriseCreateUsers (20110801124809)
|
1666
|
+
Migrating to SunriseCreateRoles (20110801124909)
|
1667
|
+
Migrating to SunriseCreateStructures (20110801125009)
|
1668
|
+
Migrating to SunriseCreatePages (20110801125109)
|
1669
|
+
Migrating to SunriseCreateAssets (20110801125209)
|
1670
|
+
Migrating to SunriseCreateHeaders (20110801125309)
|
1671
|
+
Migrating to SunriseCreateQuestions (20110801161138)
|
1672
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1673
|
+
FROM sqlite_master
|
1674
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1675
|
+
[1m[36mSQL (158.0ms)[0m [1mDELETE FROM "users";[0m
|
1676
|
+
[1m[35mSQL (121.2ms)[0m DELETE FROM "roles";
|
1677
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "structures";[0m
|
1678
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "pages";
|
1679
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "assets";[0m
|
1680
|
+
[1m[35mSQL (99.2ms)[0m DELETE FROM "headers";
|
1681
|
+
[1m[36mSQL (105.0ms)[0m [1mDELETE FROM "questions";[0m
|
1682
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1683
|
+
FROM sqlite_master
|
1684
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1685
|
+
[1m[36mSQL (67.8ms)[0m [1mDELETE FROM "users";[0m
|
1686
|
+
[1m[35mSQL (66.1ms)[0m DELETE FROM "roles";
|
1687
|
+
[1m[36mSQL (99.4ms)[0m [1mDELETE FROM "structures";[0m
|
1688
|
+
[1m[35mSQL (77.1ms)[0m DELETE FROM "pages";
|
1689
|
+
[1m[36mSQL (99.2ms)[0m [1mDELETE FROM "assets";[0m
|
1690
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "headers";
|
1691
|
+
[1m[36mSQL (94.0ms)[0m [1mDELETE FROM "questions";[0m
|
1692
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1693
|
+
FROM sqlite_master
|
1694
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1695
|
+
[1m[36mSQL (97.9ms)[0m [1mDELETE FROM "users";[0m
|
1696
|
+
[1m[35mSQL (66.0ms)[0m DELETE FROM "roles";
|
1697
|
+
[1m[36mSQL (88.3ms)[0m [1mDELETE FROM "structures";[0m
|
1698
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "pages";
|
1699
|
+
[1m[36mSQL (110.3ms)[0m [1mDELETE FROM "assets";[0m
|
1700
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "headers";
|
1701
|
+
[1m[36mSQL (72.1ms)[0m [1mDELETE FROM "questions";[0m
|
1702
|
+
[1m[35mSQL (0.2ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'slug1') LIMIT 1
|
1703
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
1704
|
+
[1m[35mAREL (0.3ms)[0m INSERT INTO "structures" ("lft", "updated_at", "slug", "redirect_url", "created_at", "parent_id", "title", "kind", "rgt", "is_visible", "depth", "position") VALUES (1, '2011-08-01 14:37:12.166285', 'slug1', NULL, '2011-08-01 14:37:12.166285', NULL, 'Structure', 1, 2, 't', 0, 2)
|
1705
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("sort_order", "updated_at", "title", "created_at", "is_visible", "structure_id", "content") VALUES (0, '2011-08-01 14:37:12.340598', 'Test', '2011-08-01 14:37:12.340598', 't', 17, 'Test')[0m
|
1706
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1707
|
+
FROM sqlite_master
|
1708
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1709
|
+
[1m[36mSQL (103.0ms)[0m [1mDELETE FROM "users";[0m
|
1710
|
+
[1m[35mSQL (66.0ms)[0m DELETE FROM "roles";
|
1711
|
+
[1m[36mSQL (66.2ms)[0m [1mDELETE FROM "structures";[0m
|
1712
|
+
[1m[35mSQL (66.0ms)[0m DELETE FROM "pages";
|
1713
|
+
[1m[36mSQL (66.1ms)[0m [1mDELETE FROM "assets";[0m
|
1714
|
+
[1m[35mSQL (66.1ms)[0m DELETE FROM "headers";
|
1715
|
+
[1m[36mSQL (72.0ms)[0m [1mDELETE FROM "questions";[0m
|
1716
|
+
[1m[35mSQL (0.1ms)[0m SELECT 1 FROM "structures" WHERE ("structures"."slug" = 'slug2') LIMIT 1
|
1717
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT MAX("structures"."rgt") AS max_id FROM "structures"[0m
|
1718
|
+
[1m[35mAREL (0.5ms)[0m INSERT INTO "structures" ("lft", "updated_at", "slug", "redirect_url", "created_at", "parent_id", "title", "kind", "rgt", "is_visible", "depth", "position") VALUES (1, '2011-08-01 14:37:12.986154', 'slug2', NULL, '2011-08-01 14:37:12.986154', NULL, 'Structure', 1, 2, 't', 0, 2)
|
1719
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT 1 FROM "users" WHERE ("users"."email" = 'testing1@example.com') LIMIT 1[0m
|
1720
|
+
[1m[35mAREL (0.3ms)[0m INSERT INTO "users" ("last_sign_in_at", "encrypted_password", "remember_created_at", "current_sign_in_ip", "email", "locked_at", "password_salt", "confirmation_sent_at", "failed_attempts", "current_sign_in_at", "reset_password_token", "confirmed_at", "name", "last_sign_in_ip", "updated_at", "reset_password_sent_at", "confirmation_token", "sign_in_count", "created_at") VALUES (NULL, 'd74259c2c7b9dcd5891f734c35343909457096ea525c43c9bf346de8fbe578911a2c71d2417ecc793052465c6d23e1df1308fffe4671ea45e63000ae505a8597', NULL, NULL, 'testing1@example.com', NULL, 'SND2HKKoxxxzDyAsyNWO', NULL, 0, NULL, NULL, '2011-08-01 14:37:13.102728', 'Admin', NULL, '2011-08-01 14:37:13.106760', NULL, NULL, 0, '2011-08-01 14:37:13.106760')
|
1721
|
+
[1m[36mAREL (0.1ms)[0m [1mINSERT INTO "roles" ("updated_at", "user_id", "created_at", "role_type") VALUES ('2011-08-01 14:37:13.109845', 7, '2011-08-01 14:37:13.109845', 4)[0m
|
1722
|
+
Processing by Manage::QuestionsController#new as HTML
|
1723
|
+
Parameters: {"structure_id"=>18}
|
1724
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 7 LIMIT 1
|
1725
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 18 LIMIT 1[0m
|
1726
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1
|
1727
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1[0m
|
1728
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_form.html.erb (22.4ms)
|
1729
|
+
[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
|
1730
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_head.html.erb (11.8ms)
|
1731
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_notice.html.erb (0.4ms)
|
1732
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/fileupload/_tmpl.html.erb (0.7ms)
|
1733
|
+
Completed 200 OK in 63ms (Views: 53.3ms | ActiveRecord: 2571.2ms)
|
1734
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "questions" WHERE ("questions".structure_id = 18)[0m
|
1735
|
+
Processing by Manage::QuestionsController#create as HTML
|
1736
|
+
Parameters: {"structure_id"=>18, "question"=>{"title"=>"Test", "sort_order"=>1, "content"=>"Test", "is_visible"=>true}}
|
1737
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 7 LIMIT 1
|
1738
|
+
[1m[36mStructure Load (0.3ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 18 LIMIT 1[0m
|
1739
|
+
WARNING: Can't mass-assign protected attributes: sort_order
|
1740
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1
|
1741
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1[0m
|
1742
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("sort_order", "updated_at", "title", "created_at", "is_visible", "structure_id", "content") VALUES (0, '2011-08-01 14:37:13.281376', 'Test', '2011-08-01 14:37:13.281376', 't', 18, 'Test')
|
1743
|
+
Redirected to http://test.host/manage/structures/18/questions
|
1744
|
+
Completed 302 Found in 101ms
|
1745
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "questions" WHERE ("questions".structure_id = 18)[0m
|
1746
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("sort_order", "updated_at", "title", "created_at", "is_visible", "structure_id", "content") VALUES (1, '2011-08-01 14:37:13.378448', 'Test', '2011-08-01 14:37:13.378448', 't', 18, 'Test')
|
1747
|
+
Processing by Manage::QuestionsController#index as HTML
|
1748
|
+
Parameters: {"structure_id"=>18}
|
1749
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 7 LIMIT 1[0m
|
1750
|
+
[1m[35mStructure Load (0.3ms)[0m SELECT "structures".* FROM "structures" WHERE "structures"."id" = 18 LIMIT 1
|
1751
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1[0m
|
1752
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1
|
1753
|
+
[1m[36mQuestion Load (0.4ms)[0m [1mSELECT "questions".* FROM "questions" WHERE ("questions".structure_id = 18) LIMIT 25 OFFSET 0[0m
|
1754
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_question.html.erb (4.4ms)
|
1755
|
+
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "questions" WHERE ("questions".structure_id = 18)
|
1756
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_model_filter.html.erb (5.3ms)
|
1757
|
+
[1m[36mAvatar Load (0.3ms)[0m [1mSELECT "assets".* FROM "assets" WHERE "assets"."type" = 'Avatar' AND ("assets".assetable_id = 7 AND "assets".assetable_type = 'User') ORDER BY "assets".sort_order LIMIT 1[0m
|
1758
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_head.html.erb (4.6ms)
|
1759
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1760
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
1761
|
+
Completed 200 OK in 143ms (Views: 130.6ms | ActiveRecord: 2.4ms)
|
1762
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("sort_order", "updated_at", "title", "created_at", "is_visible", "structure_id", "content") VALUES (1, '2011-08-01 14:37:13.632836', 'Test', '2011-08-01 14:37:13.632836', 't', 18, 'Test')
|
1763
|
+
Processing by Manage::QuestionsController#edit as HTML
|
1764
|
+
Parameters: {"structure_id"=>18, "id"=>59}
|
1765
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 7 LIMIT 1[0m
|
1766
|
+
[1m[35mStructure Load (0.4ms)[0m SELECT "structures".* FROM "structures" WHERE "structures"."id" = 18 LIMIT 1
|
1767
|
+
[1m[36mQuestion Load (0.3ms)[0m [1mSELECT "questions".* FROM "questions" WHERE "questions"."id" = 59 AND ("questions".structure_id = 18) LIMIT 1[0m
|
1768
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1
|
1769
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1[0m
|
1770
|
+
Rendered /var/www/gems/sunrise-questions/app/views/manage/questions/_form.html.erb (9.2ms)
|
1771
|
+
[1m[35mAvatar Load (0.3ms)[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
|
1772
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_head.html.erb (4.5ms)
|
1773
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/shared/_notice.html.erb (0.1ms)
|
1774
|
+
Rendered /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/sunrise-core-0.1.5/app/views/manage/fileupload/_tmpl.html.erb (0.4ms)
|
1775
|
+
Completed 200 OK in 34ms (Views: 20.6ms | ActiveRecord: 2.1ms)
|
1776
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("sort_order", "updated_at", "title", "created_at", "is_visible", "structure_id", "content") VALUES (1, '2011-08-01 14:37:13.756236', 'Test', '2011-08-01 14:37:13.756236', 't', 18, 'Test')[0m
|
1777
|
+
Processing by Manage::QuestionsController#update as HTML
|
1778
|
+
Parameters: {"structure_id"=>18, "id"=>60, "question"=>{"title"=>"Update"}}
|
1779
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 7 LIMIT 1
|
1780
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 18 LIMIT 1[0m
|
1781
|
+
[1m[35mQuestion Load (0.1ms)[0m SELECT "questions".* FROM "questions" WHERE "questions"."id" = 60 AND ("questions".structure_id = 18) LIMIT 1
|
1782
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1[0m
|
1783
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1
|
1784
|
+
[1m[36mAREL (0.2ms)[0m [1mUPDATE "questions" SET "updated_at" = '2011-08-01 14:37:13.928607', "title" = 'Update' WHERE "questions"."id" = 60[0m
|
1785
|
+
Redirected to http://test.host/manage/structures/18/questions
|
1786
|
+
Completed 302 Found in 109ms
|
1787
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "questions" ("sort_order", "updated_at", "title", "created_at", "is_visible", "structure_id", "content") VALUES (1, '2011-08-01 14:37:14.032677', 'Test', '2011-08-01 14:37:14.032677', 't', 18, 'Test')
|
1788
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "questions" WHERE ("questions".structure_id = 18)[0m
|
1789
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1790
|
+
Parameters: {"structure_id"=>18, "id"=>61}
|
1791
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 7 LIMIT 1
|
1792
|
+
[1m[36mStructure Load (0.2ms)[0m [1mSELECT "structures".* FROM "structures" WHERE "structures"."id" = 18 LIMIT 1[0m
|
1793
|
+
[1m[35mQuestion Load (0.1ms)[0m SELECT "questions".* FROM "questions" WHERE "questions"."id" = 61 AND ("questions".structure_id = 18) LIMIT 1
|
1794
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1[0m
|
1795
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 7) LIMIT 1
|
1796
|
+
[1m[36mAREL (0.1ms)[0m [1mDELETE FROM "questions" WHERE "questions"."id" = 61[0m
|
1797
|
+
Redirected to http://test.host/manage/structures/18/questions
|
1798
|
+
Completed 302 Found in 102ms
|
1799
|
+
[1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "questions" WHERE ("questions".structure_id = 18)
|
1800
|
+
Processing by Manage::QuestionsController#index as HTML
|
1801
|
+
Parameters: {"structure_id"=>18}
|
1802
|
+
Completed in 2ms
|
1803
|
+
Processing by Manage::QuestionsController#new as HTML
|
1804
|
+
Parameters: {"structure_id"=>18}
|
1805
|
+
Completed in 0ms
|
1806
|
+
Processing by Manage::QuestionsController#create as HTML
|
1807
|
+
Parameters: {"structure_id"=>18}
|
1808
|
+
Completed in 0ms
|
1809
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "questions" ("sort_order", "updated_at", "title", "created_at", "is_visible", "structure_id", "content") VALUES (1, '2011-08-01 14:37:14.275124', 'Test', '2011-08-01 14:37:14.275124', 't', 18, 'Test')[0m
|
1810
|
+
Processing by Manage::QuestionsController#edit as HTML
|
1811
|
+
Parameters: {"structure_id"=>18, "id"=>62}
|
1812
|
+
Completed in 1ms
|
1813
|
+
[1m[35mAREL (0.3ms)[0m INSERT INTO "questions" ("sort_order", "updated_at", "title", "created_at", "is_visible", "structure_id", "content") VALUES (1, '2011-08-01 14:37:14.748828', 'Test', '2011-08-01 14:37:14.748828', 't', 18, 'Test')
|
1814
|
+
Processing by Manage::QuestionsController#update as HTML
|
1815
|
+
Parameters: {"structure_id"=>18, "id"=>63}
|
1816
|
+
Completed in 1ms
|
1817
|
+
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "questions" ("sort_order", "updated_at", "title", "created_at", "is_visible", "structure_id", "content") VALUES (1, '2011-08-01 14:37:14.880151', 'Test', '2011-08-01 14:37:14.880151', 't', 18, 'Test')[0m
|
1818
|
+
Processing by Manage::QuestionsController#destroy as HTML
|
1819
|
+
Parameters: {"structure_id"=>18, "id"=>64}
|
1820
|
+
Completed in 1ms
|
1821
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
1822
|
+
FROM sqlite_master
|
1823
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1824
|
+
[1m[36mSQL (85.6ms)[0m [1mDELETE FROM "users";[0m
|
1825
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "roles";
|
1826
|
+
[1m[36mSQL (66.2ms)[0m [1mDELETE FROM "structures";[0m
|
1827
|
+
[1m[35mSQL (110.1ms)[0m DELETE FROM "pages";
|
1828
|
+
[1m[36mSQL (66.2ms)[0m [1mDELETE FROM "assets";[0m
|
1829
|
+
[1m[35mSQL (88.1ms)[0m DELETE FROM "headers";
|
1830
|
+
[1m[36mSQL (72.0ms)[0m [1mDELETE FROM "questions";[0m
|