activeadmin_draggable 0.0.5 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +15 -0
- data/.gitignore +1 -0
- data/README.rdoc +122 -0
- data/Rakefile +38 -1
- data/activeadmin_draggable.gemspec +8 -0
- data/lib/activeadmin_draggable.rb +1 -1
- data/lib/activeadmin_draggable/engine.rb +4 -1
- data/lib/activeadmin_draggable/sortable_tree.rb +2 -0
- data/lib/activeadmin_draggable/version.rb +1 -1
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/active_admin.css.scss +29 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/.gitkeep +0 -0
- data/test/dummy/app/models/.gitkeep +0 -0
- data/test/dummy/app/models/item.rb +8 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +59 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20130513093153_create_items.rb +10 -0
- data/test/dummy/db/schema.rb +23 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/lib/assets/.gitkeep +0 -0
- data/test/dummy/log/.gitkeep +0 -0
- data/test/dummy/log/development.log +46 -0
- data/test/dummy/log/test.log +368 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/fixtures/items.yml +9 -0
- data/test/dummy/test/unit/item_test.rb +7 -0
- data/test/integration/activeadmin_draggable_test.rb +16 -0
- data/test/test_helper.rb +23 -0
- data/test/unit/draggable_list_item_test.rb +24 -0
- data/{app/assets/images/activeadmin_draggable → vendor/assets/images}/indicator.gif +0 -0
- data/{app/assets/javascripts/activeadmin_draggable → vendor/assets/javascripts}/activeadmin_draggable.js +4 -2
- data/{app/assets/javascripts/activeadmin_draggable → vendor/assets/javascripts}/jquery.table_tree.js +3 -1
- data/{app/assets/javascripts/activeadmin_draggable → vendor/assets/javascripts}/jquery.tablednd_0_5.js +1 -0
- metadata +244 -76
- data/README.md +0 -29
Binary file
|
@@ -0,0 +1,23 @@
|
|
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 => 20130513093153) do
|
15
|
+
|
16
|
+
create_table "items", :force => true do |t|
|
17
|
+
t.string "name"
|
18
|
+
t.integer "position"
|
19
|
+
t.datetime "created_at", :null => false
|
20
|
+
t.datetime "updated_at", :null => false
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
Binary file
|
File without changes
|
File without changes
|
@@ -0,0 +1,46 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
Connecting to database specified by database.yml
|
3
|
+
Connecting to database specified by database.yml
|
4
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
5
|
+
[1m[35m (357.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
6
|
+
[1m[36m (266.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
7
|
+
Interrupt: : CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8
|
+
Connecting to database specified by database.yml
|
9
|
+
Connecting to database specified by database.yml
|
10
|
+
Connecting to database specified by database.yml
|
11
|
+
[1m[36m (95.8ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
12
|
+
Connecting to database specified by database.yml
|
13
|
+
[1m[36m (1.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14
|
+
Connecting to database specified by database.yml
|
15
|
+
[1m[36m (1.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
16
|
+
Migrating to CreateItems (20130513093153)
|
17
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
18
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
20
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130513093153')[0m
|
21
|
+
[1m[35m (321.3ms)[0m commit transaction
|
22
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
23
|
+
Connecting to database specified by database.yml
|
24
|
+
[1m[36m (1.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
25
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
26
|
+
[1m[36m (290.7ms)[0m [1mCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
27
|
+
[1m[35m (270.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
28
|
+
[1m[36m (284.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
29
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
30
|
+
[1m[36m (303.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130513093153')[0m
|
31
|
+
Connecting to database specified by database.yml
|
32
|
+
[1m[36m (1.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
33
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
34
|
+
[1m[36m (297.2ms)[0m [1mCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
35
|
+
[1m[35m (286.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
36
|
+
[1m[36m (278.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
37
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
38
|
+
[1m[36m (287.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130513093153')[0m
|
39
|
+
Connecting to database specified by database.yml
|
40
|
+
[1m[36m (1.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
41
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
42
|
+
[1m[36m (326.7ms)[0m [1mCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
43
|
+
[1m[35m (273.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
44
|
+
[1m[36m (287.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
45
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
46
|
+
[1m[36m (295.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130513093153')[0m
|
@@ -0,0 +1,368 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-10 11:38:49 +0200
|
3
|
+
Served asset /activeadmin_draggable.js - 404 Not Found (4ms)
|
4
|
+
Connecting to database specified by database.yml
|
5
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-10 12:06:56 +0200
|
6
|
+
Served asset /activeadmin_draggable.js - 404 Not Found (3ms)
|
7
|
+
Connecting to database specified by database.yml
|
8
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-10 12:36:35 +0200
|
9
|
+
Compiled jquery.js (1ms) (pid 11956)
|
10
|
+
Compiled jquery.table_tree.js (0ms) (pid 11956)
|
11
|
+
Compiled jquery.tablednd_0_5.js (0ms) (pid 11956)
|
12
|
+
Compiled activeadmin_draggable.js (41ms) (pid 11956)
|
13
|
+
Served asset /activeadmin_draggable.js - 200 OK (52ms)
|
14
|
+
Connecting to database specified by database.yml
|
15
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-10 12:37:28 +0200
|
16
|
+
Served asset /activeadmin_draggable.js - 200 OK (7ms)
|
17
|
+
Connecting to database specified by database.yml
|
18
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-10 14:12:16 +0200
|
19
|
+
Served asset /activeadmin_draggable.js - 200 OK (8ms)
|
20
|
+
Started GET "/admin" for 127.0.0.1 at 2013-05-10 14:12:16 +0200
|
21
|
+
Connecting to database specified by database.yml
|
22
|
+
Connecting to database specified by database.yml
|
23
|
+
Connecting to database specified by database.yml
|
24
|
+
Connecting to database specified by database.yml
|
25
|
+
Connecting to database specified by database.yml
|
26
|
+
Connecting to database specified by database.yml
|
27
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-10 14:47:30 +0200
|
28
|
+
Served asset /activeadmin_draggable.js - 200 OK (7ms)
|
29
|
+
Connecting to database specified by database.yml
|
30
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-10 14:54:49 +0200
|
31
|
+
Compiled jquery.table_tree.js (0ms) (pid 15367)
|
32
|
+
Compiled jquery.tablednd_0_5.js (0ms) (pid 15367)
|
33
|
+
Compiled activeadmin_draggable.js (3ms) (pid 15367)
|
34
|
+
Served asset /activeadmin_draggable.js - 200 OK (17ms)
|
35
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-10 14:54:49 +0200
|
36
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (4ms)
|
37
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-10 14:54:49 +0200
|
38
|
+
Served asset /jquery.table_tree.js - 200 OK (4ms)
|
39
|
+
Connecting to database specified by database.yml
|
40
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-10 14:55:45 +0200
|
41
|
+
Served asset /activeadmin_draggable.js - 200 OK (7ms)
|
42
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-10 14:55:45 +0200
|
43
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (2ms)
|
44
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-10 14:55:45 +0200
|
45
|
+
Served asset /jquery.table_tree.js - 200 OK (2ms)
|
46
|
+
Connecting to database specified by database.yml
|
47
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-10 14:56:39 +0200
|
48
|
+
Served asset /activeadmin_draggable.js - 200 OK (7ms)
|
49
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-10 14:56:39 +0200
|
50
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (2ms)
|
51
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-10 14:56:39 +0200
|
52
|
+
Served asset /jquery.table_tree.js - 200 OK (2ms)
|
53
|
+
Connecting to database specified by database.yml
|
54
|
+
Connecting to database specified by database.yml
|
55
|
+
Connecting to database specified by database.yml
|
56
|
+
Connecting to database specified by database.yml
|
57
|
+
Connecting to database specified by database.yml
|
58
|
+
Connecting to database specified by database.yml
|
59
|
+
Connecting to database specified by database.yml
|
60
|
+
Connecting to database specified by database.yml
|
61
|
+
Connecting to database specified by database.yml
|
62
|
+
Connecting to database specified by database.yml
|
63
|
+
Connecting to database specified by database.yml
|
64
|
+
Connecting to database specified by database.yml
|
65
|
+
Connecting to database specified by database.yml
|
66
|
+
Connecting to database specified by database.yml
|
67
|
+
Connecting to database specified by database.yml
|
68
|
+
Connecting to database specified by database.yml
|
69
|
+
Connecting to database specified by database.yml
|
70
|
+
Connecting to database specified by database.yml
|
71
|
+
Connecting to database specified by database.yml
|
72
|
+
Connecting to database specified by database.yml
|
73
|
+
Connecting to database specified by database.yml
|
74
|
+
Connecting to database specified by database.yml
|
75
|
+
Connecting to database specified by database.yml
|
76
|
+
Connecting to database specified by database.yml
|
77
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-13 10:49:21 +0200
|
78
|
+
Served asset /activeadmin_draggable.js - 200 OK (135ms)
|
79
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-13 10:49:21 +0200
|
80
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (14ms)
|
81
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-13 10:49:21 +0200
|
82
|
+
Served asset /jquery.table_tree.js - 200 OK (2ms)
|
83
|
+
Connecting to database specified by database.yml
|
84
|
+
Connecting to database specified by database.yml
|
85
|
+
Connecting to database specified by database.yml
|
86
|
+
Connecting to database specified by database.yml
|
87
|
+
Connecting to database specified by database.yml
|
88
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89
|
+
[1m[35mSQL (32.3ms)[0m INSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 13 May 2013 09:35:51 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 09:35:51 UTC +00:00]]
|
90
|
+
[1m[36m (298.7ms)[0m [1mcommit transaction[0m
|
91
|
+
Connecting to database specified by database.yml
|
92
|
+
Connecting to database specified by database.yml
|
93
|
+
Connecting to database specified by database.yml
|
94
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95
|
+
[1m[35mSQL (1.6ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
96
|
+
[1m[36mSQL (24.7ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 09:38:57 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 09:38:57 UTC +00:00]]
|
97
|
+
[1m[35m (383.2ms)[0m commit transaction
|
98
|
+
Connecting to database specified by database.yml
|
99
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
100
|
+
[1m[35mSQL (1.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
101
|
+
[1m[36mSQL (27.0ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 09:39:20 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 09:39:20 UTC +00:00]]
|
102
|
+
[1m[35m (317.0ms)[0m commit transaction
|
103
|
+
Connecting to database specified by database.yml
|
104
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
105
|
+
[1m[35mSQL (1.9ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
106
|
+
[1m[36mSQL (27.6ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 09:43:41 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 09:43:41 UTC +00:00]]
|
107
|
+
[1m[35m (288.5ms)[0m commit transaction
|
108
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
109
|
+
[1m[35mSQL (0.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
110
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 09:43:41 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 09:43:41 UTC +00:00]]
|
111
|
+
[1m[35m (288.5ms)[0m commit transaction
|
112
|
+
Connecting to database specified by database.yml
|
113
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
114
|
+
[1m[35mSQL (1.8ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
115
|
+
[1m[36mSQL (228.6ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:07:17 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 11:07:17 UTC +00:00]]
|
116
|
+
[1m[35m (370.9ms)[0m commit transaction
|
117
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
118
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
119
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:07:18 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 11:07:18 UTC +00:00]]
|
120
|
+
[1m[35m (404.0ms)[0m commit transaction
|
121
|
+
Connecting to database specified by database.yml
|
122
|
+
Connecting to database specified by database.yml
|
123
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
124
|
+
[1m[35mSQL (1.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
125
|
+
[1m[36mSQL (25.1ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:09:32 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 11:09:32 UTC +00:00]]
|
126
|
+
[1m[35m (299.9ms)[0m commit transaction
|
127
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
128
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
129
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:09:32 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 11:09:32 UTC +00:00]]
|
130
|
+
[1m[35m (266.6ms)[0m commit transaction
|
131
|
+
Connecting to database specified by database.yml
|
132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
133
|
+
[1m[35mSQL (1.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
134
|
+
[1m[36mSQL (24.2ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:12:15 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 11:12:15 UTC +00:00]]
|
135
|
+
[1m[35m (375.6ms)[0m commit transaction
|
136
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
137
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
138
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:12:15 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 11:12:15 UTC +00:00]]
|
139
|
+
[1m[35m (273.1ms)[0m commit transaction
|
140
|
+
[1m[36mItem Load (0.5ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 11]]
|
141
|
+
[1m[35mItem Load (0.2ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 10]]
|
142
|
+
[1m[36mSQL (288.9ms)[0m [1mUPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1 AND position < 2)[0m
|
143
|
+
[1m[35m (0.2ms)[0m begin transaction
|
144
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "items" SET "position" = 1, "updated_at" = '2013-05-13 11:12:16.113050' WHERE "items"."id" = 11[0m
|
145
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "items" WHERE (1 = 1 AND position = 1)
|
146
|
+
[1m[36m (267.5ms)[0m [1mcommit transaction[0m
|
147
|
+
[1m[35m (0.2ms)[0m begin transaction
|
148
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "items" SET "position" = 2, "updated_at" = '2013-05-13 11:12:16.387844' WHERE "items"."id" = 11[0m
|
149
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "items" WHERE (1 = 1 AND position = 2)
|
150
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "items" SET position = (position - 1) WHERE (1 = 1 AND position > 1 AND position <= 2 AND id != 11)[0m
|
151
|
+
[1m[35m (274.0ms)[0m commit transaction
|
152
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-13 13:12:16 +0200
|
153
|
+
Served asset /activeadmin_draggable.js - 200 OK (9ms)
|
154
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-13 13:12:16 +0200
|
155
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (2ms)
|
156
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-13 13:12:16 +0200
|
157
|
+
Served asset /jquery.table_tree.js - 200 OK (2ms)
|
158
|
+
Connecting to database specified by database.yml
|
159
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
160
|
+
[1m[35mSQL (1.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
161
|
+
[1m[36mSQL (24.9ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:12:49 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 11:12:49 UTC +00:00]]
|
162
|
+
[1m[35m (293.8ms)[0m commit transaction
|
163
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
164
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
165
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:12:49 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 11:12:49 UTC +00:00]]
|
166
|
+
[1m[35m (256.8ms)[0m commit transaction
|
167
|
+
[1m[36mItem Load (0.5ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 13]]
|
168
|
+
[1m[35mItem Load (0.2ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 12]]
|
169
|
+
[1m[36mSQL (264.2ms)[0m [1mUPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1 AND position < 2)[0m
|
170
|
+
[1m[35m (0.2ms)[0m begin transaction
|
171
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "items" SET "position" = 1, "updated_at" = '2013-05-13 11:12:50.485836' WHERE "items"."id" = 13[0m
|
172
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "items" WHERE (1 = 1 AND position = 1)
|
173
|
+
[1m[36m (264.3ms)[0m [1mcommit transaction[0m
|
174
|
+
[1m[35m (0.1ms)[0m begin transaction
|
175
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "items" SET "position" = 2, "updated_at" = '2013-05-13 11:12:50.757391' WHERE "items"."id" = 13[0m
|
176
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "items" WHERE (1 = 1 AND position = 2)
|
177
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "items" SET position = (position - 1) WHERE (1 = 1 AND position > 1 AND position <= 2 AND id != 13)[0m
|
178
|
+
[1m[35m (273.6ms)[0m commit transaction
|
179
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-13 13:12:51 +0200
|
180
|
+
Served asset /activeadmin_draggable.js - 200 OK (6ms)
|
181
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-13 13:12:51 +0200
|
182
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (2ms)
|
183
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-13 13:12:51 +0200
|
184
|
+
Served asset /jquery.table_tree.js - 200 OK (2ms)
|
185
|
+
Connecting to database specified by database.yml
|
186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
187
|
+
[1m[35mSQL (1.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
188
|
+
[1m[36mSQL (24.6ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:13:22 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 11:13:22 UTC +00:00]]
|
189
|
+
[1m[35m (366.0ms)[0m commit transaction
|
190
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
191
|
+
[1m[35mSQL (0.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
192
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:13:22 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 11:13:22 UTC +00:00]]
|
193
|
+
[1m[35m (281.1ms)[0m commit transaction
|
194
|
+
[1m[36mItem Load (0.5ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 15]]
|
195
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 14]]
|
196
|
+
[1m[36mSQL (260.3ms)[0m [1mUPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1 AND position < 2)[0m
|
197
|
+
[1m[35m (0.1ms)[0m begin transaction
|
198
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "items" SET "position" = 1, "updated_at" = '2013-05-13 11:13:23.364500' WHERE "items"."id" = 15[0m
|
199
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "items" WHERE (1 = 1 AND position = 1)
|
200
|
+
[1m[36m (278.6ms)[0m [1mcommit transaction[0m
|
201
|
+
[1m[35m (0.1ms)[0m begin transaction
|
202
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "items" SET "position" = 2, "updated_at" = '2013-05-13 11:13:23.647052' WHERE "items"."id" = 15[0m
|
203
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "items" WHERE (1 = 1 AND position = 2)
|
204
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "items" SET position = (position - 1) WHERE (1 = 1 AND position > 1 AND position <= 2 AND id != 15)[0m
|
205
|
+
[1m[35m (298.9ms)[0m commit transaction
|
206
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-13 13:13:23 +0200
|
207
|
+
Served asset /activeadmin_draggable.js - 200 OK (7ms)
|
208
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-13 13:13:24 +0200
|
209
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (2ms)
|
210
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-13 13:13:24 +0200
|
211
|
+
Served asset /jquery.table_tree.js - 200 OK (2ms)
|
212
|
+
Connecting to database specified by database.yml
|
213
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
214
|
+
[1m[35mSQL (1.6ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
215
|
+
[1m[36mSQL (24.2ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:13:39 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 11:13:39 UTC +00:00]]
|
216
|
+
[1m[35m (307.8ms)[0m commit transaction
|
217
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
218
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
219
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:13:39 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 11:13:39 UTC +00:00]]
|
220
|
+
[1m[35m (306.4ms)[0m commit transaction
|
221
|
+
[1m[36mItem Load (0.5ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 16]]
|
222
|
+
[1m[35mItem Load (0.3ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 17]]
|
223
|
+
[1m[36mSQL (276.5ms)[0m [1mUPDATE "items" SET position = (position - 1) WHERE (1 = 1 AND position > 1 AND position <= 2)[0m
|
224
|
+
[1m[35m (0.2ms)[0m begin transaction
|
225
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "items" SET "position" = 2, "updated_at" = '2013-05-13 11:13:40.409823' WHERE "items"."id" = 16[0m
|
226
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "items" WHERE (1 = 1 AND position = 2)
|
227
|
+
[1m[36m (279.3ms)[0m [1mcommit transaction[0m
|
228
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-13 13:13:40 +0200
|
229
|
+
Served asset /activeadmin_draggable.js - 200 OK (6ms)
|
230
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-13 13:13:40 +0200
|
231
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (2ms)
|
232
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-13 13:13:40 +0200
|
233
|
+
Served asset /jquery.table_tree.js - 200 OK (2ms)
|
234
|
+
Connecting to database specified by database.yml
|
235
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
236
|
+
[1m[35mSQL (1.6ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
237
|
+
[1m[36mSQL (24.0ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:13:53 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 11:13:53 UTC +00:00]]
|
238
|
+
[1m[35m (459.2ms)[0m commit transaction
|
239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
240
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
241
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:13:54 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 11:13:54 UTC +00:00]]
|
242
|
+
[1m[35m (286.2ms)[0m commit transaction
|
243
|
+
Connecting to database specified by database.yml
|
244
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
245
|
+
[1m[35mSQL (1.9ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
246
|
+
[1m[36mSQL (24.9ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:14:24 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 11:14:24 UTC +00:00]]
|
247
|
+
[1m[35m (302.1ms)[0m commit transaction
|
248
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
249
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
250
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:14:24 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 11:14:24 UTC +00:00]]
|
251
|
+
[1m[35m (283.4ms)[0m commit transaction
|
252
|
+
[1m[36mItem Load (0.5ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 21]]
|
253
|
+
[1m[35m (0.1ms)[0m begin transaction
|
254
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position < 2)[0m
|
255
|
+
[1m[35m (0.2ms)[0m UPDATE "items" SET "position" = 1, "updated_at" = '2013-05-13 11:14:25.123579' WHERE "items"."id" = 21
|
256
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "items" WHERE (1 = 1 AND position = 1)[0m
|
257
|
+
[1m[35m (274.8ms)[0m commit transaction
|
258
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-13 13:14:25 +0200
|
259
|
+
Served asset /activeadmin_draggable.js - 200 OK (7ms)
|
260
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-13 13:14:25 +0200
|
261
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (2ms)
|
262
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-13 13:14:25 +0200
|
263
|
+
Served asset /jquery.table_tree.js - 200 OK (2ms)
|
264
|
+
Connecting to database specified by database.yml
|
265
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
266
|
+
[1m[35mSQL (1.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
267
|
+
[1m[36mSQL (24.8ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:14:47 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 11:14:47 UTC +00:00]]
|
268
|
+
[1m[35m (298.2ms)[0m commit transaction
|
269
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
270
|
+
[1m[35mSQL (0.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
271
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:14:48 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 11:14:48 UTC +00:00]]
|
272
|
+
[1m[35m (306.3ms)[0m commit transaction
|
273
|
+
[1m[36mItem Load (0.5ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 23]]
|
274
|
+
[1m[35m (0.1ms)[0m begin transaction
|
275
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position < 2)[0m
|
276
|
+
[1m[35m (0.2ms)[0m UPDATE "items" SET "position" = 1, "updated_at" = '2013-05-13 11:14:48.477649' WHERE "items"."id" = 23
|
277
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "items" WHERE (1 = 1 AND position = 1)[0m
|
278
|
+
[1m[35m (372.5ms)[0m commit transaction
|
279
|
+
[1m[36mItem Load (0.3ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 22]]
|
280
|
+
[1m[35mItem Load (0.2ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 23]]
|
281
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-13 13:14:48 +0200
|
282
|
+
Served asset /activeadmin_draggable.js - 200 OK (7ms)
|
283
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-13 13:14:48 +0200
|
284
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (2ms)
|
285
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-13 13:14:48 +0200
|
286
|
+
Served asset /jquery.table_tree.js - 200 OK (2ms)
|
287
|
+
Connecting to database specified by database.yml
|
288
|
+
Connecting to database specified by database.yml
|
289
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
290
|
+
[1m[35mSQL (1.8ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
291
|
+
[1m[36mSQL (24.9ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:45:17 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 11:45:17 UTC +00:00]]
|
292
|
+
[1m[35m (414.8ms)[0m commit transaction
|
293
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
294
|
+
[1m[35mSQL (0.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
295
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:45:18 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 11:45:18 UTC +00:00]]
|
296
|
+
[1m[35m (297.8ms)[0m commit transaction
|
297
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-13 13:45:18 +0200
|
298
|
+
Served asset /activeadmin_draggable.js - 200 OK (10ms)
|
299
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-13 13:45:18 +0200
|
300
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (2ms)
|
301
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-13 13:45:18 +0200
|
302
|
+
Served asset /jquery.table_tree.js - 200 OK (2ms)
|
303
|
+
Connecting to database specified by database.yml
|
304
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
305
|
+
[1m[35mSQL (1.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
306
|
+
[1m[36mSQL (25.7ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:45:35 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 11:45:35 UTC +00:00]]
|
307
|
+
[1m[35m (424.6ms)[0m commit transaction
|
308
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
309
|
+
[1m[35mSQL (0.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
310
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:45:35 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 11:45:35 UTC +00:00]]
|
311
|
+
[1m[35m (281.2ms)[0m commit transaction
|
312
|
+
[1m[36mItem Load (0.5ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 27]]
|
313
|
+
[1m[35m (0.1ms)[0m begin transaction
|
314
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position < 2)[0m
|
315
|
+
[1m[35m (0.5ms)[0m UPDATE "items" SET "position" = 1, "updated_at" = '2013-05-13 11:45:35.844993' WHERE "items"."id" = 27
|
316
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "items" WHERE (1 = 1 AND position = 1)[0m
|
317
|
+
[1m[35m (364.4ms)[0m commit transaction
|
318
|
+
[1m[36mItem Load (0.2ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 26]]
|
319
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-13 13:45:36 +0200
|
320
|
+
Served asset /activeadmin_draggable.js - 200 OK (6ms)
|
321
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-13 13:45:36 +0200
|
322
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (2ms)
|
323
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-13 13:45:36 +0200
|
324
|
+
Served asset /jquery.table_tree.js - 200 OK (2ms)
|
325
|
+
Connecting to database specified by database.yml
|
326
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
327
|
+
[1m[35mSQL (1.8ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
328
|
+
[1m[36mSQL (24.6ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:46:04 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 11:46:04 UTC +00:00]]
|
329
|
+
[1m[35m (298.0ms)[0m commit transaction
|
330
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
331
|
+
[1m[35mSQL (0.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
332
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:46:04 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 11:46:04 UTC +00:00]]
|
333
|
+
[1m[35m (298.6ms)[0m commit transaction
|
334
|
+
[1m[36mItem Load (0.5ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 29]]
|
335
|
+
[1m[35m (0.1ms)[0m begin transaction
|
336
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position < 2)[0m
|
337
|
+
[1m[35m (0.5ms)[0m UPDATE "items" SET "position" = 1, "updated_at" = '2013-05-13 11:46:05.013999' WHERE "items"."id" = 29
|
338
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "items" WHERE (1 = 1 AND position = 1)[0m
|
339
|
+
[1m[35m (282.2ms)[0m commit transaction
|
340
|
+
[1m[36mItem Load (0.2ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 28]]
|
341
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-13 13:46:05 +0200
|
342
|
+
Served asset /activeadmin_draggable.js - 200 OK (6ms)
|
343
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-13 13:46:05 +0200
|
344
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (2ms)
|
345
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-13 13:46:05 +0200
|
346
|
+
Served asset /jquery.table_tree.js - 200 OK (2ms)
|
347
|
+
Connecting to database specified by database.yml
|
348
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
349
|
+
[1m[35mSQL (1.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 1)
|
350
|
+
[1m[36mSQL (25.6ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:46:20 UTC +00:00], ["name", "test"], ["position", 1], ["updated_at", Mon, 13 May 2013 11:46:20 UTC +00:00]]
|
351
|
+
[1m[35m (442.9ms)[0m commit transaction
|
352
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
353
|
+
[1m[35mSQL (0.7ms)[0m UPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position >= 2)
|
354
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "items" ("created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 13 May 2013 11:46:21 UTC +00:00], ["name", "test2"], ["position", 2], ["updated_at", Mon, 13 May 2013 11:46:21 UTC +00:00]]
|
355
|
+
[1m[35m (322.0ms)[0m commit transaction
|
356
|
+
[1m[36mItem Load (0.5ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 31]]
|
357
|
+
[1m[35m (0.1ms)[0m begin transaction
|
358
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "items" SET position = (position + 1) WHERE (1 = 1 AND position < 2)[0m
|
359
|
+
[1m[35m (0.1ms)[0m UPDATE "items" SET "position" = 1, "updated_at" = '2013-05-13 11:46:21.519077' WHERE "items"."id" = 31
|
360
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "items" WHERE (1 = 1 AND position = 1)[0m
|
361
|
+
[1m[35m (295.0ms)[0m commit transaction
|
362
|
+
[1m[36mItem Load (0.2ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 30]]
|
363
|
+
Started GET "/assets/activeadmin_draggable.js" for 127.0.0.1 at 2013-05-13 13:46:21 +0200
|
364
|
+
Served asset /activeadmin_draggable.js - 200 OK (6ms)
|
365
|
+
Started GET "/assets/jquery.tablednd_0_5.js" for 127.0.0.1 at 2013-05-13 13:46:21 +0200
|
366
|
+
Served asset /jquery.tablednd_0_5.js - 200 OK (3ms)
|
367
|
+
Started GET "/assets/jquery.table_tree.js" for 127.0.0.1 at 2013-05-13 13:46:21 +0200
|
368
|
+
Served asset /jquery.table_tree.js - 200 OK (2ms)
|