rails_sortable 0.0.2
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 +7 -0
- data/LICENSE +20 -0
- data/README.md +3 -0
- data/Rakefile +23 -0
- data/app/controllers/sortable_controller.rb +22 -0
- data/app/helpers/sortable_helper.rb +9 -0
- data/config/routes.rb +3 -0
- data/lib/rails_sortable.rb +4 -0
- data/lib/rails_sortable/engine.rb +4 -0
- data/lib/rails_sortable/version.rb +3 -0
- data/lib/tasks/rails_sortable_tasks.rake +4 -0
- data/spec/controllers/sortable_controller_spec.rb +18 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +17 -0
- data/spec/dummy/app/assets/javascripts/items.js +5 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/assets/stylesheets/items.css +4 -0
- data/spec/dummy/app/assets/stylesheets/scaffold.css +56 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/items_controller.rb +58 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/helpers/items_helper.rb +2 -0
- data/spec/dummy/app/models/item.rb +3 -0
- data/spec/dummy/app/views/items/_form.html.erb +25 -0
- data/spec/dummy/app/views/items/edit.html.erb +6 -0
- data/spec/dummy/app/views/items/index.html.erb +29 -0
- data/spec/dummy/app/views/items/new.html.erb +5 -0
- data/spec/dummy/app/views/items/show.html.erb +14 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +28 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20131223124841_create_items.rb +10 -0
- data/spec/dummy/db/schema.rb +23 -0
- data/spec/dummy/db/seeds.rb +1 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +4188 -0
- data/spec/dummy/log/test.log +269 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/09c0e9561d4e4c3ec8867c7a8a9b9b42 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0e84bdca51a3a0487e386e9da49cab86 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/12552dd68c1fdaa0e003f5139c1ef188 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/21445b043a030a6b874e6fc2926b3f03 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/24af22f97404b0fdf1924aa9c64dbefc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/24e4e999e945d87db51a6c0639266e6c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/271346ac3b88c8d5b342e1e9617ecd25 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2a668655870d5f03dc3a3d9aa691bfed +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3d7976736cb0fb316656b1ceeeb68979 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3f88dd8cc7343b35f4ad7016c8a8aa2f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/443eeec33985f295f3de84d801267f43 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/45690638871d819932026564912e2195 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/46bfe8e4c6de42d38202670518db2720 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/47210cd74cee569fb21f67fe042804a0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/48711599d95075043d13736e542084b4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/59a3fa5688c2134fd84019b59936c2b6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5c5e9ad9739439966aa96de5924073ba +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5da49418ee5d9d42e17ac02fca5457b6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/618391a0ef7663854d9df6f34286bfbd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/62485efd0b3ff6bb41eac572b53368da +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/70de4d1e613727407438e972a9099dfd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/71418eee6104b64017eb6e6a1f2773c4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/72ac123f6449bd8bef14d2eab5098f14 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7c69465efeecee1a50197180d6684639 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7c7385263be91392fe4b3ebac4e30c18 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/87d94fb98d5bd32dfd9d145e5b837a83 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8f32d9d0ad1e7bbeaf8ae8477dc9f861 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/96d9c878cbed31839fb895da7fea6146 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9daa91d8364698dd61c25d6de342962d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a1a1917817d5eb7f6a00422e9b3f731e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b0e2031acc600ce5786fd4e5685545ae +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bc6acc8a7c1dacadb37b0bd2e5df09dd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c292a12f53708efd19a07da3aa15a0b8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c374e273ada03bedc3ec10dddbaf5a5d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c5b2447c005428e7f762f972217f7fc9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c7fb08920199d3630a32e2233c85433e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cb36d45bba6ca52ebb343d2ceeff7645 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ccaade7f71ba3ee748987ed0d4e09af8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d23f84be9419f8cd6361e094fd9aa0ff +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d2b64ac41957bdfd9906972476b82d0e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d486933f2537d00d15fd3cf43bf7af8f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d4d4f33a44b8bd5e03a00ac263ac59d8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d69e40330afbc5a33c238ac4dfbd86a6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/df136c2e2fc74151ed1324d5fd05481e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e84cf0ef44a46fdbcc61114872eb0714 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e9bb2f00040ed550d231427ad03b236e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ecbc5574068be4c5270f875b71d7e95a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ee8d3ea7f4ea5f4f5204e13648ebad08 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f5086810e52de33164c7427bec325b8d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f932895e1a3359b877edea2bedae3850 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ff209c6e804d4f56d185430b6ed27bc4 +0 -0
- data/spec/helpers/enumerable_spec.rb +25 -0
- data/spec/spec_helper.rb +42 -0
- data/vendor/assets/javascripts/rails_sortable.js +17 -0
- metadata +321 -0
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
4
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
5
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
6
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
7
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
8
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
9
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
10
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
11
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
12
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
13
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
14
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
15
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
16
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
17
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
18
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
19
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
20
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
21
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
22
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
23
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
24
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
25
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
26
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
27
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
29
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
30
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
31
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
32
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
33
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
34
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
35
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
36
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
37
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
38
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
39
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
40
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
41
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
42
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
43
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
44
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
45
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
46
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
47
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
48
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
49
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
50
|
+
Processing by SortableController#reorder as HTML
|
|
51
|
+
Completed 500 Internal Server Error in 1ms
|
|
52
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
53
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
54
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
55
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
56
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
57
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
58
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:15:52 UTC +00:00], ["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:15:52 UTC +00:00]]
|
|
59
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
60
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
61
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 27 Dec 2013 13:15:52 UTC +00:00], ["sort", 2], ["updated_at", Fri, 27 Dec 2013 13:15:52 UTC +00:00]]
|
|
62
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
63
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
64
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:15:52 UTC +00:00], ["sort", 3], ["updated_at", Fri, 27 Dec 2013 13:15:52 UTC +00:00]]
|
|
65
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
66
|
+
Processing by SortableController#reorder as HTML
|
|
67
|
+
Parameters: {"Item"=>["1", "3", "2"]}
|
|
68
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
|
|
69
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
70
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 1 [["sort", 0], ["updated_at", Fri, 27 Dec 2013 13:15:52 UTC +00:00]]
|
|
71
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
72
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
73
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 3[0m [["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:15:52 UTC +00:00]]
|
|
74
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
75
|
+
Rendered text template (0.0ms)
|
|
76
|
+
Completed 200 OK in 11ms (Views: 6.4ms | ActiveRecord: 0.7ms)
|
|
77
|
+
[1m[36m (2.0ms)[0m [1mrollback transaction[0m
|
|
78
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
79
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
80
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
81
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:15:59 UTC +00:00], ["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:15:59 UTC +00:00]]
|
|
82
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
83
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
84
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 27 Dec 2013 13:15:59 UTC +00:00], ["sort", 2], ["updated_at", Fri, 27 Dec 2013 13:15:59 UTC +00:00]]
|
|
85
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
87
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:15:59 UTC +00:00], ["sort", 3], ["updated_at", Fri, 27 Dec 2013 13:15:59 UTC +00:00]]
|
|
88
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
89
|
+
Processing by SortableController#reorder as HTML
|
|
90
|
+
Parameters: {"Item"=>["1", "3", "2"]}
|
|
91
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
|
|
92
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
93
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 1 [["sort", 0], ["updated_at", Fri, 27 Dec 2013 13:15:59 UTC +00:00]]
|
|
94
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
95
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
96
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 3[0m [["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:15:59 UTC +00:00]]
|
|
97
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
98
|
+
Rendered text template (0.0ms)
|
|
99
|
+
Completed 200 OK in 11ms (Views: 5.3ms | ActiveRecord: 1.1ms)
|
|
100
|
+
[1m[36m (2.0ms)[0m [1mrollback transaction[0m
|
|
101
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
102
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
103
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
104
|
+
[1m[35mSQL (4.0ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:16:32 UTC +00:00], ["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:16:32 UTC +00:00]]
|
|
105
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
106
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
107
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 27 Dec 2013 13:16:32 UTC +00:00], ["sort", 2], ["updated_at", Fri, 27 Dec 2013 13:16:32 UTC +00:00]]
|
|
108
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
109
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
110
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:16:32 UTC +00:00], ["sort", 3], ["updated_at", Fri, 27 Dec 2013 13:16:32 UTC +00:00]]
|
|
111
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
112
|
+
Processing by SortableController#reorder as HTML
|
|
113
|
+
Parameters: {"Item"=>["1", "3", "2"]}
|
|
114
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
|
|
115
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
116
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 1 [["sort", 0], ["updated_at", Fri, 27 Dec 2013 13:16:32 UTC +00:00]]
|
|
117
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
118
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
119
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 3[0m [["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:16:32 UTC +00:00]]
|
|
120
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
121
|
+
Rendered text template (0.0ms)
|
|
122
|
+
Completed 200 OK in 10ms (Views: 5.8ms | ActiveRecord: 0.6ms)
|
|
123
|
+
[1m[36m (2.0ms)[0m [1mrollback transaction[0m
|
|
124
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
125
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
126
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
127
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:16:41 UTC +00:00], ["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:16:41 UTC +00:00]]
|
|
128
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
129
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
130
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 27 Dec 2013 13:16:41 UTC +00:00], ["sort", 2], ["updated_at", Fri, 27 Dec 2013 13:16:41 UTC +00:00]]
|
|
131
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
132
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
133
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:16:41 UTC +00:00], ["sort", 3], ["updated_at", Fri, 27 Dec 2013 13:16:41 UTC +00:00]]
|
|
134
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
135
|
+
Processing by SortableController#reorder as HTML
|
|
136
|
+
Parameters: {"Item"=>["1", "3", "2"]}
|
|
137
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
|
|
138
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
139
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 1 [["sort", 0], ["updated_at", Fri, 27 Dec 2013 13:16:41 UTC +00:00]]
|
|
140
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
141
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
142
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 3[0m [["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:16:41 UTC +00:00]]
|
|
143
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
144
|
+
Rendered text template (0.0ms)
|
|
145
|
+
Completed 200 OK in 11ms (Views: 5.1ms | ActiveRecord: 0.9ms)
|
|
146
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
|
147
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
148
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
149
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
150
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:18:02 UTC +00:00], ["sort", 0], ["updated_at", Fri, 27 Dec 2013 13:18:02 UTC +00:00]]
|
|
151
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
152
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
153
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 27 Dec 2013 13:18:02 UTC +00:00], ["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:18:02 UTC +00:00]]
|
|
154
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
155
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
156
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:18:02 UTC +00:00], ["sort", 2], ["updated_at", Fri, 27 Dec 2013 13:18:02 UTC +00:00]]
|
|
157
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
158
|
+
Processing by SortableController#reorder as HTML
|
|
159
|
+
Parameters: {"Item"=>["0", "2", "1"]}
|
|
160
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
|
|
161
|
+
Completed 500 Internal Server Error in 1ms
|
|
162
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
|
163
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
164
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
165
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
166
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:19:18 UTC +00:00], ["sort", 0], ["updated_at", Fri, 27 Dec 2013 13:19:18 UTC +00:00]]
|
|
167
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
168
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
169
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 27 Dec 2013 13:19:18 UTC +00:00], ["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:19:18 UTC +00:00]]
|
|
170
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
171
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
172
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:19:18 UTC +00:00], ["sort", 2], ["updated_at", Fri, 27 Dec 2013 13:19:18 UTC +00:00]]
|
|
173
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
174
|
+
Processing by SortableController#reorder as HTML
|
|
175
|
+
Parameters: {"Item"=>["1", "3", "2"]}
|
|
176
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
|
|
177
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
178
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 3 [["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:19:19 UTC +00:00]]
|
|
179
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
180
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
181
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 2[0m [["sort", 2], ["updated_at", Fri, 27 Dec 2013 13:19:19 UTC +00:00]]
|
|
182
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
183
|
+
Rendered text template (0.0ms)
|
|
184
|
+
Completed 200 OK in 13ms (Views: 7.5ms | ActiveRecord: 0.8ms)
|
|
185
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
|
186
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
|
|
187
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 3]]
|
|
188
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
|
189
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
190
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
191
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
192
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:19:56 UTC +00:00], ["sort", 0], ["updated_at", Fri, 27 Dec 2013 13:19:56 UTC +00:00]]
|
|
193
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
194
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
195
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 27 Dec 2013 13:19:56 UTC +00:00], ["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:19:56 UTC +00:00]]
|
|
196
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
197
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
198
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:19:56 UTC +00:00], ["sort", 2], ["updated_at", Fri, 27 Dec 2013 13:19:56 UTC +00:00]]
|
|
199
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
200
|
+
Processing by SortableController#reorder as HTML
|
|
201
|
+
Parameters: {"Item"=>["1", "3", "2"]}
|
|
202
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
|
|
203
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
204
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 3 [["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:19:56 UTC +00:00]]
|
|
205
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
206
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
207
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 2[0m [["sort", 2], ["updated_at", Fri, 27 Dec 2013 13:19:56 UTC +00:00]]
|
|
208
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
209
|
+
Rendered text template (0.0ms)
|
|
210
|
+
Completed 200 OK in 12ms (Views: 6.2ms | ActiveRecord: 0.9ms)
|
|
211
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
|
212
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
|
|
213
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 3]]
|
|
214
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
|
215
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
216
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
217
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
218
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:20:18 UTC +00:00], ["sort", 0], ["updated_at", Fri, 27 Dec 2013 13:20:18 UTC +00:00]]
|
|
219
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
220
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
221
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 27 Dec 2013 13:20:18 UTC +00:00], ["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:20:18 UTC +00:00]]
|
|
222
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
223
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
224
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 13:20:18 UTC +00:00], ["sort", 2], ["updated_at", Fri, 27 Dec 2013 13:20:18 UTC +00:00]]
|
|
225
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
226
|
+
Processing by SortableController#reorder as HTML
|
|
227
|
+
Parameters: {"Item"=>["1", "3", "2"]}
|
|
228
|
+
[1m[35mItem Load (0.2ms)[0m SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
|
|
229
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
230
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 3 [["sort", 1], ["updated_at", Fri, 27 Dec 2013 13:20:18 UTC +00:00]]
|
|
231
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
232
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
233
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 2[0m [["sort", 2], ["updated_at", Fri, 27 Dec 2013 13:20:18 UTC +00:00]]
|
|
234
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
235
|
+
Rendered text template (0.0ms)
|
|
236
|
+
Completed 200 OK in 10ms (Views: 5.9ms | ActiveRecord: 0.6ms)
|
|
237
|
+
[1m[36mItem Load (0.2ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
|
238
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
|
|
239
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 3]]
|
|
240
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
|
241
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
242
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
243
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
244
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
245
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
246
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
247
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
248
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 14:03:53 UTC +00:00], ["sort", 0], ["updated_at", Fri, 27 Dec 2013 14:03:53 UTC +00:00]]
|
|
249
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
250
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
251
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 27 Dec 2013 14:03:53 UTC +00:00], ["sort", 1], ["updated_at", Fri, 27 Dec 2013 14:03:53 UTC +00:00]]
|
|
252
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
253
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
254
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "items" ("created_at", "sort", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 27 Dec 2013 14:03:53 UTC +00:00], ["sort", 2], ["updated_at", Fri, 27 Dec 2013 14:03:53 UTC +00:00]]
|
|
255
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
256
|
+
Processing by SortableController#reorder as HTML
|
|
257
|
+
Parameters: {"Item"=>["1", "3", "2"]}
|
|
258
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
|
|
259
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
260
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 3 [["sort", 1], ["updated_at", Fri, 27 Dec 2013 14:03:53 UTC +00:00]]
|
|
261
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
262
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
263
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = 2[0m [["sort", 2], ["updated_at", Fri, 27 Dec 2013 14:03:53 UTC +00:00]]
|
|
264
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
265
|
+
Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 0.6ms)
|
|
266
|
+
[1m[36mItem Load (0.2ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
|
267
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
|
|
268
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 3]]
|
|
269
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
background-color: #EFEFEF;
|
|
8
|
+
color: #2E2F30;
|
|
9
|
+
text-align: center;
|
|
10
|
+
font-family: arial, sans-serif;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
div.dialog {
|
|
14
|
+
width: 25em;
|
|
15
|
+
margin: 4em auto 0 auto;
|
|
16
|
+
border: 1px solid #CCC;
|
|
17
|
+
border-right-color: #999;
|
|
18
|
+
border-left-color: #999;
|
|
19
|
+
border-bottom-color: #BBB;
|
|
20
|
+
border-top: #B00100 solid 4px;
|
|
21
|
+
border-top-left-radius: 9px;
|
|
22
|
+
border-top-right-radius: 9px;
|
|
23
|
+
background-color: white;
|
|
24
|
+
padding: 7px 4em 0 4em;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
h1 {
|
|
28
|
+
font-size: 100%;
|
|
29
|
+
color: #730E15;
|
|
30
|
+
line-height: 1.5em;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
body > p {
|
|
34
|
+
width: 33em;
|
|
35
|
+
margin: 0 auto 1em;
|
|
36
|
+
padding: 1em 0;
|
|
37
|
+
background-color: #F7F7F7;
|
|
38
|
+
border: 1px solid #CCC;
|
|
39
|
+
border-right-color: #999;
|
|
40
|
+
border-bottom-color: #999;
|
|
41
|
+
border-bottom-left-radius: 4px;
|
|
42
|
+
border-bottom-right-radius: 4px;
|
|
43
|
+
border-top-color: #DADADA;
|
|
44
|
+
color: #666;
|
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
48
|
+
</head>
|
|
49
|
+
|
|
50
|
+
<body>
|
|
51
|
+
<!-- This file lives in public/404.html -->
|
|
52
|
+
<div class="dialog">
|
|
53
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
|
54
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
|
55
|
+
</div>
|
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
57
|
+
</body>
|
|
58
|
+
</html>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
background-color: #EFEFEF;
|
|
8
|
+
color: #2E2F30;
|
|
9
|
+
text-align: center;
|
|
10
|
+
font-family: arial, sans-serif;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
div.dialog {
|
|
14
|
+
width: 25em;
|
|
15
|
+
margin: 4em auto 0 auto;
|
|
16
|
+
border: 1px solid #CCC;
|
|
17
|
+
border-right-color: #999;
|
|
18
|
+
border-left-color: #999;
|
|
19
|
+
border-bottom-color: #BBB;
|
|
20
|
+
border-top: #B00100 solid 4px;
|
|
21
|
+
border-top-left-radius: 9px;
|
|
22
|
+
border-top-right-radius: 9px;
|
|
23
|
+
background-color: white;
|
|
24
|
+
padding: 7px 4em 0 4em;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
h1 {
|
|
28
|
+
font-size: 100%;
|
|
29
|
+
color: #730E15;
|
|
30
|
+
line-height: 1.5em;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
body > p {
|
|
34
|
+
width: 33em;
|
|
35
|
+
margin: 0 auto 1em;
|
|
36
|
+
padding: 1em 0;
|
|
37
|
+
background-color: #F7F7F7;
|
|
38
|
+
border: 1px solid #CCC;
|
|
39
|
+
border-right-color: #999;
|
|
40
|
+
border-bottom-color: #999;
|
|
41
|
+
border-bottom-left-radius: 4px;
|
|
42
|
+
border-bottom-right-radius: 4px;
|
|
43
|
+
border-top-color: #DADADA;
|
|
44
|
+
color: #666;
|
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
48
|
+
</head>
|
|
49
|
+
|
|
50
|
+
<body>
|
|
51
|
+
<!-- This file lives in public/422.html -->
|
|
52
|
+
<div class="dialog">
|
|
53
|
+
<h1>The change you wanted was rejected.</h1>
|
|
54
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
|
55
|
+
</div>
|
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
57
|
+
</body>
|
|
58
|
+
</html>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
background-color: #EFEFEF;
|
|
8
|
+
color: #2E2F30;
|
|
9
|
+
text-align: center;
|
|
10
|
+
font-family: arial, sans-serif;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
div.dialog {
|
|
14
|
+
width: 25em;
|
|
15
|
+
margin: 4em auto 0 auto;
|
|
16
|
+
border: 1px solid #CCC;
|
|
17
|
+
border-right-color: #999;
|
|
18
|
+
border-left-color: #999;
|
|
19
|
+
border-bottom-color: #BBB;
|
|
20
|
+
border-top: #B00100 solid 4px;
|
|
21
|
+
border-top-left-radius: 9px;
|
|
22
|
+
border-top-right-radius: 9px;
|
|
23
|
+
background-color: white;
|
|
24
|
+
padding: 7px 4em 0 4em;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
h1 {
|
|
28
|
+
font-size: 100%;
|
|
29
|
+
color: #730E15;
|
|
30
|
+
line-height: 1.5em;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
body > p {
|
|
34
|
+
width: 33em;
|
|
35
|
+
margin: 0 auto 1em;
|
|
36
|
+
padding: 1em 0;
|
|
37
|
+
background-color: #F7F7F7;
|
|
38
|
+
border: 1px solid #CCC;
|
|
39
|
+
border-right-color: #999;
|
|
40
|
+
border-bottom-color: #999;
|
|
41
|
+
border-bottom-left-radius: 4px;
|
|
42
|
+
border-bottom-right-radius: 4px;
|
|
43
|
+
border-top-color: #DADADA;
|
|
44
|
+
color: #666;
|
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
48
|
+
</head>
|
|
49
|
+
|
|
50
|
+
<body>
|
|
51
|
+
<!-- This file lives in public/500.html -->
|
|
52
|
+
<div class="dialog">
|
|
53
|
+
<h1>We're sorry, but something went wrong.</h1>
|
|
54
|
+
</div>
|
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
56
|
+
</body>
|
|
57
|
+
</html>
|
|
File without changes
|