page_engine 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +14 -0
- data/app/assets/stylesheets/{jquery-ui/smoothness/jquery-ui-1.8.15.custom.css → jquery-ui.css} +17 -17
- data/app/assets/stylesheets/page_engine.css +1 -0
- data/lib/generators/page_engine/page_engine_generator.rb +1 -0
- data/lib/page_engine.rb +1 -1
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +11 -0
- data/spec/dummy/app/assets/stylesheets/application.css +8 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/welcome_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.haml +25 -0
- data/spec/dummy/app/views/welcome/index.html.haml +5 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +42 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +27 -0
- data/spec/dummy/config/environments/production.rb +51 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -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/wrap_parameters.rb +12 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +78 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +215 -0
- data/spec/dummy/log/test.log +141 -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/script/rails +6 -0
- data/spec/dummy/tmp/cache/assets/C50/9E0/sprockets%2F5273207c05e438fab77180339ef07418 +0 -0
- data/spec/dummy/tmp/cache/assets/CE7/5E0/sprockets%2F520141de9bf7351de829ee484b761d37 +0 -0
- data/spec/dummy/tmp/cache/assets/CF3/CF0/sprockets%2Fb9232c5dfbe22949e8559fc03898242e +0 -0
- data/spec/dummy/tmp/cache/assets/D10/500/sprockets%2F14244cebaa065f6e0c461f88521d89e7 +0 -0
- data/spec/dummy/tmp/cache/assets/D1B/490/sprockets%2Fe37c84afab109b736f593d271f94916c +0 -0
- data/spec/dummy/tmp/cache/assets/D22/630/sprockets%2F96268b95a26ee16a7b2d169e78af38c4 +0 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D35/4A0/sprockets%2F1b20d80f1d472f213983c30fc7a8d8ad +0 -0
- data/spec/dummy/tmp/cache/assets/D40/A70/sprockets%2Fffa6c67811911b1a6624281ce7e7dea6 +0 -0
- data/spec/dummy/tmp/cache/assets/D4D/6A0/sprockets%2F34ff66b81d54df8b855b5ad0609d384f +0 -0
- data/spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
- data/spec/dummy/tmp/cache/assets/D58/450/sprockets%2F9bdf9046afa29f99222ffadf85572089 +0 -0
- data/spec/dummy/tmp/cache/assets/D59/BE0/sprockets%2Fb60619702caaaa748c6404a3a05fa7fc +0 -0
- data/spec/dummy/tmp/cache/assets/D69/7E0/sprockets%2F95dc7c01f25afc8afc40e4353395cb15 +0 -0
- data/spec/dummy/tmp/cache/assets/D70/280/sprockets%2F99a543e2b6be1d37c3ccc8a90261f87a +0 -0
- data/spec/dummy/tmp/cache/assets/D76/270/sprockets%2F7fa38bbc51591249e64f86df7da17d0a +0 -0
- data/spec/dummy/tmp/cache/assets/D7A/710/sprockets%2F082db977dca9043b3cf64dd7b9a1799b +0 -0
- data/spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
- data/spec/dummy/tmp/cache/assets/D96/510/sprockets%2F400b6fa7eb374fe27379be14bfb5ad13 +0 -0
- data/spec/dummy/tmp/cache/assets/DAF/F20/sprockets%2Ffefb6dc410d3c50be89565fb3e8e3788 +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/E59/310/sprockets%2Fbc56e556d3e7aae7c8bf341d3dcea2bd +0 -0
- data/spec/dummy/tmp/cache/assets/E70/2B0/sprockets%2F7eedcfada8bf8bff28c96d9ea93521d3 +0 -0
- data/spec/models/page_spec.rb +48 -0
- data/spec/spec_helper.rb +15 -0
- metadata +139 -15
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
+
Dummy::Application.config.secret_token = '4e5594f2d1fe6e6fb70310baf9061e42dab23f2e6fb16ed7ada800a341911acde7f2acf0ef5da3d31deb1a4cd3c5e85c127c08627a77c32c6d07932a607c1210'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
|
4
|
+
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
6
|
+
# which shouldn't be used to store highly confidential information
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActionController::Base.wrap_parameters format: [:json]
|
8
|
+
|
9
|
+
# Disable root element in JSON by default.
|
10
|
+
if defined?(ActiveRecord)
|
11
|
+
ActiveRecord::Base.include_root_in_json = false
|
12
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
# The priority is based upon order of creation:
|
3
|
+
# first created -> highest priority.
|
4
|
+
|
5
|
+
# Sample of regular route:
|
6
|
+
# match 'products/:id' => 'catalog#view'
|
7
|
+
# Keep in mind you can assign values other than :controller and :action
|
8
|
+
|
9
|
+
# Sample of named route:
|
10
|
+
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
11
|
+
# This route can be invoked with purchase_url(:id => product.id)
|
12
|
+
|
13
|
+
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
14
|
+
# resources :products
|
15
|
+
|
16
|
+
# Sample resource route with options:
|
17
|
+
# resources :products do
|
18
|
+
# member do
|
19
|
+
# get 'short'
|
20
|
+
# post 'toggle'
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
# collection do
|
24
|
+
# get 'sold'
|
25
|
+
# end
|
26
|
+
# end
|
27
|
+
|
28
|
+
# Sample resource route with sub-resources:
|
29
|
+
# resources :products do
|
30
|
+
# resources :comments, :sales
|
31
|
+
# resource :seller
|
32
|
+
# end
|
33
|
+
|
34
|
+
# Sample resource route with more complex sub-resources
|
35
|
+
# resources :products do
|
36
|
+
# resources :comments
|
37
|
+
# resources :sales do
|
38
|
+
# get 'recent', :on => :collection
|
39
|
+
# end
|
40
|
+
# end
|
41
|
+
|
42
|
+
# Sample resource route within a namespace:
|
43
|
+
# namespace :admin do
|
44
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
45
|
+
# # (app/controllers/admin/products_controller.rb)
|
46
|
+
# resources :products
|
47
|
+
# end
|
48
|
+
|
49
|
+
# You can have the root of your site routed with "root"
|
50
|
+
# just remember to delete public/index.html.
|
51
|
+
root :to => 'welcome#index'
|
52
|
+
|
53
|
+
# See how all your routes lay out with "rake routes"
|
54
|
+
|
55
|
+
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
56
|
+
# Note: This route will make all actions in every controller accessible via GET requests.
|
57
|
+
# match ':controller(/:action(/:id(.:format)))'
|
58
|
+
end
|
Binary file
|
@@ -0,0 +1,78 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20110814185929) do
|
15
|
+
|
16
|
+
create_table "page_parts", :force => true do |t|
|
17
|
+
t.string "title"
|
18
|
+
t.text "content"
|
19
|
+
t.integer "page_id"
|
20
|
+
t.string "filter"
|
21
|
+
t.datetime "created_at"
|
22
|
+
t.datetime "updated_at"
|
23
|
+
end
|
24
|
+
|
25
|
+
create_table "page_roles", :force => true do |t|
|
26
|
+
t.integer "page_id"
|
27
|
+
t.integer "required_role_id"
|
28
|
+
t.integer "excluded_role_id"
|
29
|
+
end
|
30
|
+
|
31
|
+
create_table "page_snippets", :force => true do |t|
|
32
|
+
t.string "name"
|
33
|
+
t.string "filter"
|
34
|
+
t.text "content"
|
35
|
+
t.datetime "created_at"
|
36
|
+
t.datetime "updated_at"
|
37
|
+
end
|
38
|
+
|
39
|
+
add_index "page_snippets", ["name"], :name => "index_page_snippets_on_name"
|
40
|
+
|
41
|
+
create_table "pages", :force => true do |t|
|
42
|
+
t.string "title"
|
43
|
+
t.text "meta_description"
|
44
|
+
t.text "meta_keywords"
|
45
|
+
t.string "status"
|
46
|
+
t.datetime "publish_from"
|
47
|
+
t.datetime "publish_to"
|
48
|
+
t.integer "created_by"
|
49
|
+
t.string "permalink"
|
50
|
+
t.string "url"
|
51
|
+
t.boolean "display_in_menu", :default => true
|
52
|
+
t.boolean "display_in_sitemap", :default => true
|
53
|
+
t.string "menu_css_class"
|
54
|
+
t.boolean "no_link", :default => false
|
55
|
+
t.string "controller"
|
56
|
+
t.string "action"
|
57
|
+
t.string "layout"
|
58
|
+
t.text "js"
|
59
|
+
t.text "css"
|
60
|
+
t.integer "parent_id"
|
61
|
+
t.integer "lft"
|
62
|
+
t.integer "rgt"
|
63
|
+
t.string "authorable_type"
|
64
|
+
t.integer "authorable_id"
|
65
|
+
t.datetime "created_at"
|
66
|
+
t.datetime "updated_at"
|
67
|
+
end
|
68
|
+
|
69
|
+
add_index "pages", ["controller", "action"], :name => "index_pages_on_controller_and_action"
|
70
|
+
add_index "pages", ["permalink"], :name => "index_pages_on_permalink"
|
71
|
+
add_index "pages", ["url"], :name => "index_pages_on_url"
|
72
|
+
|
73
|
+
create_table "pages_roles", :id => false, :force => true do |t|
|
74
|
+
t.integer "page_id"
|
75
|
+
t.integer "role_id"
|
76
|
+
end
|
77
|
+
|
78
|
+
end
|
Binary file
|
@@ -0,0 +1,215 @@
|
|
1
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
+
[1m[35m (99.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (105.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
|
+
Migrating to CreatePageEngine (20110814185929)
|
7
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "meta_description" text, "meta_keywords" text, "status" varchar(255), "publish_from" datetime, "publish_to" datetime, "created_by" integer, "permalink" varchar(255), "url" varchar(255), "display_in_menu" boolean DEFAULT 't', "display_in_sitemap" boolean DEFAULT 't', "menu_css_class" varchar(255), "no_link" boolean DEFAULT 'f', "controller" varchar(255), "action" varchar(255), "layout" varchar(255), "js" text, "css" text, "parent_id" integer, "lft" integer, "rgt" integer, "authorable_type" varchar(255), "authorable_id" integer, "created_at" datetime, "updated_at" datetime)
|
8
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "page_parts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "page_id" integer, "filter" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
9
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "pages_roles" ("page_id" integer, "role_id" integer)
|
10
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "page_snippets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "filter" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime) [0m
|
11
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "page_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "page_id" integer, "required_role_id" integer, "excluded_role_id" integer)
|
12
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("pages")[0m
|
13
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_pages_on_permalink" ON "pages" ("permalink")
|
14
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("pages")[0m
|
15
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_pages_on_permalink')
|
16
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_pages_on_controller_and_action" ON "pages" ("controller", "action")[0m
|
17
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("pages")
|
18
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_pages_on_controller_and_action')[0m
|
19
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_pages_on_permalink')
|
20
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_pages_on_url" ON "pages" ("url")[0m
|
21
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("page_snippets")
|
22
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_page_snippets_on_name" ON "page_snippets" ("name")[0m
|
23
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110814185929')
|
24
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
25
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
26
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("page_parts")[0m
|
27
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("page_roles")
|
28
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("page_snippets")[0m
|
29
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_page_snippets_on_name')
|
30
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("pages")[0m
|
31
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_pages_on_url')
|
32
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_pages_on_controller_and_action')[0m
|
33
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_pages_on_permalink')
|
34
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("pages_roles")[0m
|
35
|
+
|
36
|
+
|
37
|
+
Started GET "/admin/pages/" for 127.0.0.1 at 2011-08-24 20:50:18 +0100
|
38
|
+
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from <class:Page> at /home/mark/dev/personal/page_engine/app/models/page.rb:2)
|
39
|
+
Processing by Admin::PagesController#index as HTML
|
40
|
+
[1m[36mPage Load (0.3ms)[0m [1mSELECT "pages".* FROM "pages" ORDER BY lft[0m
|
41
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page.html.haml (17.5ms)
|
42
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/index.html.haml within layouts/admin (35.0ms)
|
43
|
+
Completed 200 OK in 156ms (Views: 98.8ms | ActiveRecord: 0.5ms)
|
44
|
+
|
45
|
+
|
46
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2011-08-24 20:50:18 +0100
|
47
|
+
Compiled ~/dev/personal/page_engine/app/assets/stylesheets/page_engine.css (11ms) (pid 9966)
|
48
|
+
Compiled ~/dev/personal/page_engine/app/assets/stylesheets/jquery-ui.css (0ms) (pid 9966)
|
49
|
+
Error compiling asset application.css:
|
50
|
+
Sprockets::FileNotFound: couldn't find file 'jquery-ui/smoothness/jquery-ui-1.8.15.custom'
|
51
|
+
(in /home/mark/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css:7)
|
52
|
+
Served asset /application.css - 500 Internal Server Error
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-24 20:50:19 +0100
|
57
|
+
Served asset /application.js - 200 OK (88ms)
|
58
|
+
|
59
|
+
|
60
|
+
Started GET "/admin/pages/" for 127.0.0.1 at 2011-08-24 20:51:09 +0100
|
61
|
+
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from <class:Page> at /home/mark/dev/personal/page_engine/app/models/page.rb:2)
|
62
|
+
Processing by Admin::PagesController#index as HTML
|
63
|
+
[1m[35mPage Load (0.2ms)[0m SELECT "pages".* FROM "pages" ORDER BY lft
|
64
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page.html.haml (3.5ms)
|
65
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/index.html.haml within layouts/admin (41.0ms)
|
66
|
+
Completed 200 OK in 70ms (Views: 46.7ms | ActiveRecord: 0.4ms)
|
67
|
+
|
68
|
+
|
69
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2011-08-24 20:51:09 +0100
|
70
|
+
Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css (2ms) (pid 9966)
|
71
|
+
Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css (0ms) (pid 9966)
|
72
|
+
Served asset /application.css - 200 OK (17ms)
|
73
|
+
|
74
|
+
|
75
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-24 20:51:09 +0100
|
76
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
77
|
+
|
78
|
+
|
79
|
+
Started GET "/assets/page_engine/page_red.png" for 127.0.0.1 at 2011-08-24 20:51:09 +0100
|
80
|
+
Served asset /page_engine/page_red.png - 304 Not Modified (14ms)
|
81
|
+
|
82
|
+
|
83
|
+
Started GET "/assets/page_engine/page_add.png" for 127.0.0.1 at 2011-08-24 20:51:09 +0100
|
84
|
+
Served asset /page_engine/page_add.png - 304 Not Modified (6ms)
|
85
|
+
|
86
|
+
|
87
|
+
Started GET "/assets/page_engine/page_edit.png" for 127.0.0.1 at 2011-08-24 20:51:09 +0100
|
88
|
+
Served asset /page_engine/page_edit.png - 304 Not Modified (9ms)
|
89
|
+
|
90
|
+
|
91
|
+
Started GET "/assets/page_engine/page_delete.png" for 127.0.0.1 at 2011-08-24 20:51:09 +0100
|
92
|
+
Served asset /page_engine/page_delete.png - 304 Not Modified (2ms)
|
93
|
+
|
94
|
+
|
95
|
+
Started GET "/assets/page_engine/page_copy.png" for 127.0.0.1 at 2011-08-24 20:51:09 +0100
|
96
|
+
Served asset /page_engine/page_copy.png - 304 Not Modified (2ms)
|
97
|
+
|
98
|
+
|
99
|
+
Started GET "/admin/pages/test/edit" for 127.0.0.1 at 2011-08-24 20:51:36 +0100
|
100
|
+
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from <class:Page> at /home/mark/dev/personal/page_engine/app/models/page.rb:2)
|
101
|
+
Processing by Admin::PagesController#edit as HTML
|
102
|
+
Parameters: {"id"=>"test"}
|
103
|
+
[1m[36mPage Load (0.2ms)[0m [1mSELECT controller || '|' || action as taken FROM "pages" GROUP BY taken[0m
|
104
|
+
[1m[35mPage Load (0.2ms)[0m SELECT "pages".* FROM "pages" WHERE "pages"."permalink" = 'test' LIMIT 1
|
105
|
+
[1m[36mPagePart Load (0.3ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."page_id" IN (1)[0m
|
106
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (13.9ms)
|
107
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (12.0ms)
|
108
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (11.5ms)
|
109
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (11.1ms)
|
110
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (47.6ms)
|
111
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (11.1ms)
|
112
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_form.html.haml (635.9ms)
|
113
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/edit.html.haml within layouts/admin (640.4ms)
|
114
|
+
Completed 200 OK in 796ms (Views: 647.3ms | ActiveRecord: 1.4ms)
|
115
|
+
|
116
|
+
|
117
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2011-08-24 20:51:37 +0100
|
118
|
+
Compiled ~/dev/personal/page_engine/app/assets/stylesheets/page_engine.css (11ms) (pid 9966)
|
119
|
+
Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css (2ms) (pid 9966)
|
120
|
+
Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css (0ms) (pid 9966)
|
121
|
+
Served asset /application.css - 200 OK (32ms)
|
122
|
+
|
123
|
+
|
124
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-24 20:51:37 +0100
|
125
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
126
|
+
|
127
|
+
|
128
|
+
Started GET "/assets/jquery-ui/ui-bg_flat_75_ffffff_40x100.png" for 127.0.0.1 at 2011-08-24 20:51:38 +0100
|
129
|
+
Served asset /jquery-ui/ui-bg_flat_75_ffffff_40x100.png - 200 OK (10ms)
|
130
|
+
|
131
|
+
|
132
|
+
Started GET "/assets/jquery-ui/ui-bg_glass_65_ffffff_1x400.png" for 127.0.0.1 at 2011-08-24 20:51:38 +0100
|
133
|
+
Served asset /jquery-ui/ui-bg_glass_65_ffffff_1x400.png - 200 OK (3ms)
|
134
|
+
|
135
|
+
|
136
|
+
Started GET "/assets/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png" for 127.0.0.1 at 2011-08-24 20:51:38 +0100
|
137
|
+
Served asset /jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png - 200 OK (4ms)
|
138
|
+
|
139
|
+
|
140
|
+
Started GET "/assets/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png" for 127.0.0.1 at 2011-08-24 20:51:38 +0100
|
141
|
+
Served asset /jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png - 200 OK (4ms)
|
142
|
+
|
143
|
+
|
144
|
+
Started GET "/admin/pages/test-2/edit" for 127.0.0.1 at 2011-08-24 20:56:53 +0100
|
145
|
+
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from <class:Page> at /home/mark/dev/personal/page_engine/app/models/page.rb:2)
|
146
|
+
Processing by Admin::PagesController#edit as HTML
|
147
|
+
Parameters: {"id"=>"test-2"}
|
148
|
+
[1m[36mPage Load (0.3ms)[0m [1mSELECT controller || '|' || action as taken FROM "pages" GROUP BY taken[0m
|
149
|
+
[1m[35mPage Load (0.2ms)[0m SELECT "pages".* FROM "pages" WHERE "pages"."permalink" = 'test-2' LIMIT 1
|
150
|
+
Completed 500 Internal Server Error in 73ms
|
151
|
+
|
152
|
+
NoMethodError (undefined method `parent' for nil:NilClass):
|
153
|
+
|
154
|
+
|
155
|
+
Rendered /home/mark/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
156
|
+
Rendered /home/mark/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
157
|
+
Rendered /home/mark/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.2ms)
|
158
|
+
|
159
|
+
|
160
|
+
Started GET "/admin/" for 127.0.0.1 at 2011-08-24 20:56:58 +0100
|
161
|
+
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from <class:Page> at /home/mark/dev/personal/page_engine/app/models/page.rb:2)
|
162
|
+
Processing by Admin::PagesController#index as HTML
|
163
|
+
[1m[36mPage Load (0.2ms)[0m [1mSELECT "pages".* FROM "pages" ORDER BY lft[0m
|
164
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page.html.haml (17.7ms)
|
165
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/index.html.haml within layouts/admin (35.3ms)
|
166
|
+
Completed 200 OK in 70ms (Views: 45.7ms | ActiveRecord: 0.5ms)
|
167
|
+
|
168
|
+
|
169
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2011-08-24 20:56:58 +0100
|
170
|
+
Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css (2ms) (pid 10157)
|
171
|
+
Compiled ~/dev/personal/page_engine/app/assets/stylesheets/page_engine.css (22ms) (pid 10157)
|
172
|
+
Compiled ~/dev/personal/page_engine/app/assets/stylesheets/jquery-ui.css (0ms) (pid 10157)
|
173
|
+
Compiled ~/dev/personal/page_engine/app/assets/stylesheets/markitup/skins/simple/style.css (0ms) (pid 10157)
|
174
|
+
Compiled ~/dev/personal/page_engine/app/assets/stylesheets/markitup/sets/html/style.css (0ms) (pid 10157)
|
175
|
+
Compiled ~/dev/personal/page_engine/app/assets/stylesheets/markitup/sets/textile/style.css (0ms) (pid 10157)
|
176
|
+
Compiled ~/dev/personal/page_engine/app/assets/stylesheets/markitup/sets/markdown/style.css (0ms) (pid 10157)
|
177
|
+
Compiled ~/dev/personal/page_engine/app/assets/stylesheets/markitup/sets/css/style.css (0ms) (pid 10157)
|
178
|
+
Compiled ~/dev/personal/page_engine/app/assets/stylesheets/markitup/sets/javascript/style.css (0ms) (pid 10157)
|
179
|
+
Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css (0ms) (pid 10157)
|
180
|
+
Served asset /application.css - 200 OK (100ms)
|
181
|
+
|
182
|
+
|
183
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-24 20:56:59 +0100
|
184
|
+
Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/javascripts/application.js (5ms) (pid 10157)
|
185
|
+
Compiled ~/.rvm/gems/ruby-1.9.2-p180/gems/jquery-rails-1.0.13/vendor/assets/javascripts/jquery.js (1ms) (pid 10157)
|
186
|
+
Compiled ~/.rvm/gems/ruby-1.9.2-p180/gems/jquery-rails-1.0.13/vendor/assets/javascripts/jquery_ujs.js (0ms) (pid 10157)
|
187
|
+
Compiled ~/dev/personal/page_engine/app/assets/javascripts/page_engine.js (12ms) (pid 10157)
|
188
|
+
Compiled ~/dev/personal/page_engine/vendor/assets/javascripts/jquery-ui-1.8.15.custom.min.js (0ms) (pid 10157)
|
189
|
+
Compiled ~/dev/personal/page_engine/vendor/assets/javascripts/jquery.markitup.js (0ms) (pid 10157)
|
190
|
+
Compiled ~/dev/personal/page_engine/app/assets/javascripts/markitup/sets/html/set.js (0ms) (pid 10157)
|
191
|
+
Compiled ~/dev/personal/page_engine/app/assets/javascripts/markitup/sets/textile/set.js (0ms) (pid 10157)
|
192
|
+
Compiled ~/dev/personal/page_engine/app/assets/javascripts/markitup/sets/markdown/set.js (0ms) (pid 10157)
|
193
|
+
Compiled ~/dev/personal/page_engine/app/assets/javascripts/markitup/sets/css/set.js (0ms) (pid 10157)
|
194
|
+
Compiled ~/dev/personal/page_engine/app/assets/javascripts/markitup/sets/javascript/set.js (0ms) (pid 10157)
|
195
|
+
Compiled ~/dev/personal/page_engine/vendor/assets/javascripts/jquery.ui.nestedSortable.js (0ms) (pid 10157)
|
196
|
+
Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/javascripts/application.js (0ms) (pid 10157)
|
197
|
+
Served asset /application.js - 200 OK (143ms)
|
198
|
+
|
199
|
+
|
200
|
+
Started GET "/admin/pages/test/edit" for 127.0.0.1 at 2011-08-24 20:57:01 +0100
|
201
|
+
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from <class:Page> at /home/mark/dev/personal/page_engine/app/models/page.rb:2)
|
202
|
+
Processing by Admin::PagesController#edit as HTML
|
203
|
+
Parameters: {"id"=>"test"}
|
204
|
+
[1m[35mPage Load (0.2ms)[0m SELECT controller || '|' || action as taken FROM "pages" GROUP BY taken
|
205
|
+
[1m[36mPage Load (0.2ms)[0m [1mSELECT "pages".* FROM "pages" WHERE "pages"."permalink" = 'test' LIMIT 1[0m
|
206
|
+
[1m[35mPagePart Load (0.2ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."page_id" IN (1)
|
207
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (13.5ms)
|
208
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (11.5ms)
|
209
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (11.3ms)
|
210
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (12.6ms)
|
211
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (54.1ms)
|
212
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (12.5ms)
|
213
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_form.html.haml (635.6ms)
|
214
|
+
Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/edit.html.haml within layouts/admin (640.3ms)
|
215
|
+
Completed 200 OK in 783ms (Views: 646.5ms | ActiveRecord: 1.2ms)
|
@@ -0,0 +1,141 @@
|
|
1
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
+
[1m[35m (124.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (87.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
|
+
Migrating to CreatePageEngine (20110814185929)
|
7
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "meta_description" text, "meta_keywords" text, "status" varchar(255), "publish_from" datetime, "publish_to" datetime, "created_by" integer, "permalink" varchar(255), "url" varchar(255), "display_in_menu" boolean DEFAULT 't', "display_in_sitemap" boolean DEFAULT 't', "menu_css_class" varchar(255), "no_link" boolean DEFAULT 'f', "controller" varchar(255), "action" varchar(255), "layout" varchar(255), "js" text, "css" text, "parent_id" integer, "lft" integer, "rgt" integer, "authorable_type" varchar(255), "authorable_id" integer, "created_at" datetime, "updated_at" datetime)
|
8
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "page_parts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "page_id" integer, "filter" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
9
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "pages_roles" ("page_id" integer, "role_id" integer)
|
10
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "page_snippets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "filter" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime) [0m
|
11
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "page_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "page_id" integer, "required_role_id" integer, "excluded_role_id" integer)
|
12
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("pages")[0m
|
13
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_pages_on_permalink" ON "pages" ("permalink")
|
14
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("pages")[0m
|
15
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_pages_on_permalink')
|
16
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_pages_on_controller_and_action" ON "pages" ("controller", "action")[0m
|
17
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("pages")
|
18
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_pages_on_controller_and_action')[0m
|
19
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_pages_on_permalink')
|
20
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_pages_on_url" ON "pages" ("url")[0m
|
21
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("page_snippets")
|
22
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_page_snippets_on_name" ON "page_snippets" ("name")[0m
|
23
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110814185929')
|
24
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
25
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
26
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("page_parts")[0m
|
27
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("page_roles")
|
28
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("page_snippets")[0m
|
29
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_page_snippets_on_name')
|
30
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("pages")[0m
|
31
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_pages_on_url')
|
32
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_pages_on_controller_and_action')[0m
|
33
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_pages_on_permalink')
|
34
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("pages_roles")[0m
|
35
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1
|
37
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("pages"."rgt") AS max_id FROM "pages" [0m
|
38
|
+
[1m[35mSQL (6.2ms)[0m INSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 22:55:04 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 22:55:04 UTC +00:00], ["url", nil]]
|
39
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|
42
|
+
[1m[35m (0.1ms)[0m SELECT MAX("pages"."rgt") AS max_id FROM "pages"
|
43
|
+
[1m[36mSQL (1.8ms)[0m [1mINSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 22:55:04 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 22:55:04 UTC +00:00], ["url", nil]]
|
44
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
45
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "pages" WHERE ("pages"."permalink" = 'a-topic' AND "pages"."id" != 1) LIMIT 1[0m
|
46
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
47
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|
48
|
+
[1m[35m (0.1ms)[0m SELECT MAX("pages"."rgt") AS max_id FROM "pages"
|
49
|
+
[1m[36mSQL (1.8ms)[0m [1mINSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 22:55:04 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 22:55:04 UTC +00:00], ["url", nil]]
|
50
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
51
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "pages" WHERE ("pages"."permalink" = 'a-topic' AND "pages"."id" != 1) LIMIT 1[0m
|
52
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
53
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|
54
|
+
[1m[35m (0.1ms)[0m SELECT MAX("pages"."rgt") AS max_id FROM "pages"
|
55
|
+
[1m[36mSQL (1.8ms)[0m [1mINSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 22:55:04 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 22:55:04 UTC +00:00], ["url", nil]]
|
56
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
57
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|
58
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
59
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1
|
60
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("pages"."rgt") AS max_id FROM "pages" [0m
|
61
|
+
[1m[35mSQL (6.1ms)[0m INSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 22:56:47 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 22:56:47 UTC +00:00], ["url", nil]]
|
62
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
63
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
64
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|
65
|
+
[1m[35m (0.1ms)[0m SELECT MAX("pages"."rgt") AS max_id FROM "pages"
|
66
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 22:56:47 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 22:56:47 UTC +00:00], ["url", nil]]
|
67
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
68
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "pages" WHERE ("pages"."permalink" = 'a-topic' AND "pages"."id" != 1) LIMIT 1[0m
|
69
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
70
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|
71
|
+
[1m[35m (0.1ms)[0m SELECT MAX("pages"."rgt") AS max_id FROM "pages"
|
72
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 22:56:47 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 22:56:47 UTC +00:00], ["url", nil]]
|
73
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
74
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "pages" WHERE ("pages"."permalink" = 'a-topic' AND "pages"."id" != 1) LIMIT 1[0m
|
75
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|
77
|
+
[1m[35m (0.1ms)[0m SELECT MAX("pages"."rgt") AS max_id FROM "pages"
|
78
|
+
[1m[36mSQL (1.9ms)[0m [1mINSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 22:56:47 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 22:56:47 UTC +00:00], ["url", nil]]
|
79
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
80
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|
81
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
82
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1
|
83
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("pages"."rgt") AS max_id FROM "pages" [0m
|
84
|
+
[1m[35mSQL (6.0ms)[0m INSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 22:59:41 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 22:59:41 UTC +00:00], ["url", nil]]
|
85
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|
88
|
+
[1m[35m (0.1ms)[0m SELECT MAX("pages"."rgt") AS max_id FROM "pages"
|
89
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 22:59:41 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 22:59:41 UTC +00:00], ["url", nil]]
|
90
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
91
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
92
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1
|
93
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("pages"."rgt") AS max_id FROM "pages" [0m
|
94
|
+
[1m[35mSQL (1.8ms)[0m INSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 22:59:41 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 22:59:41 UTC +00:00], ["url", nil]]
|
95
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "pages" WHERE ("pages"."permalink" = 'a-topic' AND "pages"."id" != 1) LIMIT 1
|
97
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
98
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1
|
99
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("pages"."rgt") AS max_id FROM "pages" [0m
|
100
|
+
[1m[35mSQL (1.8ms)[0m INSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 22:59:41 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 22:59:41 UTC +00:00], ["url", nil]]
|
101
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
102
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "pages" WHERE ("pages"."permalink" = 'a-topic' AND "pages"."id" != 1) LIMIT 1
|
103
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
104
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1
|
105
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("pages"."rgt") AS max_id FROM "pages" [0m
|
106
|
+
[1m[35mSQL (1.7ms)[0m INSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 22:59:41 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 22:59:41 UTC +00:00], ["url", nil]]
|
107
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
108
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1
|
109
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
110
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1
|
111
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("pages"."rgt") AS max_id FROM "pages" [0m
|
112
|
+
[1m[35mSQL (6.1ms)[0m INSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 23:01:58 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 23:01:58 UTC +00:00], ["url", nil]]
|
113
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
114
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
115
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|
116
|
+
[1m[35m (0.1ms)[0m SELECT MAX("pages"."rgt") AS max_id FROM "pages"
|
117
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 23:01:58 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 23:01:58 UTC +00:00], ["url", nil]]
|
118
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
119
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
120
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1
|
121
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("pages"."rgt") AS max_id FROM "pages" [0m
|
122
|
+
[1m[35mSQL (1.7ms)[0m INSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 23:01:58 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 23:01:58 UTC +00:00], ["url", nil]]
|
123
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
124
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
125
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|
126
|
+
[1m[35m (0.1ms)[0m SELECT MAX("pages"."rgt") AS max_id FROM "pages"
|
127
|
+
[1m[36mSQL (1.8ms)[0m [1mINSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 23:01:58 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 23:01:58 UTC +00:00], ["url", nil]]
|
128
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
129
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "pages" WHERE ("pages"."permalink" = 'a-topic' AND "pages"."id" != 1) LIMIT 1[0m
|
130
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
131
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|
132
|
+
[1m[35m (0.1ms)[0m SELECT MAX("pages"."rgt") AS max_id FROM "pages"
|
133
|
+
[1m[36mSQL (1.8ms)[0m [1mINSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 23:01:58 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 23:01:58 UTC +00:00], ["url", nil]]
|
134
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
135
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "pages" WHERE ("pages"."permalink" = 'a-topic' AND "pages"."id" != 1) LIMIT 1[0m
|
136
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
137
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|
138
|
+
[1m[35m (0.1ms)[0m SELECT MAX("pages"."rgt") AS max_id FROM "pages"
|
139
|
+
[1m[36mSQL (1.8ms)[0m [1mINSERT INTO "pages" ("action", "authorable_id", "authorable_type", "controller", "created_at", "created_by", "css", "display_in_menu", "display_in_sitemap", "js", "layout", "lft", "menu_css_class", "meta_description", "meta_keywords", "no_link", "parent_id", "permalink", "publish_from", "publish_to", "rgt", "status", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", nil], ["authorable_id", nil], ["authorable_type", nil], ["controller", nil], ["created_at", Tue, 23 Aug 2011 23:01:58 UTC +00:00], ["created_by", nil], ["css", nil], ["display_in_menu", true], ["display_in_sitemap", true], ["js", nil], ["layout", nil], ["lft", 1], ["menu_css_class", "a-topic"], ["meta_description", nil], ["meta_keywords", nil], ["no_link", false], ["parent_id", nil], ["permalink", "a-topic"], ["publish_from", nil], ["publish_to", nil], ["rgt", 2], ["status", nil], ["title", "A topic"], ["updated_at", Tue, 23 Aug 2011 23:01:58 UTC +00:00], ["url", nil]]
|
140
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
141
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "pages" WHERE "pages"."permalink" = 'a-topic' LIMIT 1[0m
|