ckeditor 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/ckeditor/config.js +0 -14
- data/app/controllers/ckeditor/application_controller.rb +4 -4
- data/app/views/ckeditor/shared/_asset_tmpl.html.erb +1 -1
- data/lib/ckeditor/orm/active_record.rb +1 -3
- data/lib/ckeditor/orm/mongoid.rb +1 -3
- data/lib/ckeditor/version.rb +1 -1
- data/lib/generators/ckeditor/templates/base/carrierwave/uploaders/ckeditor_attachment_file_uploader.rb +0 -5
- data/lib/generators/ckeditor/templates/base/carrierwave/uploaders/ckeditor_picture_uploader.rb +0 -5
- data/test/dummy/log/test.log +1054 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-1084/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-1288/content_rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-1288/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-1288/thumb_rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-3261/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-3564/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-4233/content_rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-4233/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-4233/thumb_rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-4595/content_rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-4595/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-4595/thumb_rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-8459/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-8942/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-9011/content_rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-9011/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-9011/thumb_rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-9730/content_rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-9730/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20130128-1219-3894-9730/thumb_rails.png +0 -0
- metadata +42 -2
@@ -89,18 +89,4 @@ CKEDITOR.editorConfig = function( config )
|
|
89
89
|
}
|
90
90
|
}
|
91
91
|
});
|
92
|
-
|
93
|
-
/* Toolbars */
|
94
|
-
config.toolbar = 'Easy';
|
95
|
-
|
96
|
-
config.toolbar_Easy =
|
97
|
-
[
|
98
|
-
['Source','-','Cut','Copy','Paste','PasteText','PasteFromWord'],
|
99
|
-
['Undo','Redo'], ['Link','Unlink','Anchor'],
|
100
|
-
['Image', 'Table','HorizontalRule','SpecialChar'],
|
101
|
-
['Maximize','-','About'], '/',
|
102
|
-
['Bold','Italic','Underline','Strike', 'RemoveFormat'],
|
103
|
-
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
|
104
|
-
['Styles','Format'], ['Subscript', 'Superscript']
|
105
|
-
];
|
106
92
|
};
|
@@ -9,10 +9,10 @@ class Ckeditor::ApplicationController < ::ApplicationController
|
|
9
9
|
|
10
10
|
def respond_with_asset(asset)
|
11
11
|
file = params[:CKEditor].blank? ? params[:qqfile] : params[:upload]
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
asset.data = Ckeditor::Http.normalize_param(file, request)
|
13
|
+
|
14
|
+
callback = ckeditor_before_create_asset(asset)
|
15
|
+
|
16
16
|
if callback && asset.save
|
17
17
|
body = params[:CKEditor].blank? ? asset.to_json(:only=>[:id, :type]) : %Q"<script type='text/javascript'>
|
18
18
|
window.parent.CKEDITOR.tools.callFunction(#{params[:CKEditorFuncNum]}, '#{Ckeditor::Utils.escape_single_quotes(asset.url_content)}');
|
@@ -9,7 +9,7 @@
|
|
9
9
|
:class => "fileupload-cancel gal-del" %>
|
10
10
|
|
11
11
|
<div class="fileupload-file gal-inner-holder">
|
12
|
-
<div class="img"><img src="
|
12
|
+
<div class="img"><img src="<%= Rails.configuration.action_controller.asset_host %>${url_thumb}" title="${filename}"></div>
|
13
13
|
<div class="img-data">
|
14
14
|
<div class="img-name">${filename}</div>
|
15
15
|
<div class="time-size">
|
@@ -14,9 +14,7 @@ module Ckeditor
|
|
14
14
|
base.class_eval do
|
15
15
|
self.table_name = "ckeditor_assets"
|
16
16
|
|
17
|
-
belongs_to :assetable, :polymorphic => true
|
18
|
-
|
19
|
-
attr_accessible :data, :assetable_type, :assetable_id, :assetable
|
17
|
+
belongs_to :assetable, :polymorphic => true
|
20
18
|
end
|
21
19
|
end
|
22
20
|
end
|
data/lib/ckeditor/orm/mongoid.rb
CHANGED
@@ -31,9 +31,7 @@ module Ckeditor
|
|
31
31
|
field :width, :type => Integer
|
32
32
|
field :height, :type => Integer
|
33
33
|
|
34
|
-
belongs_to :assetable, :polymorphic => true
|
35
|
-
|
36
|
-
attr_accessible :data, :assetable_type, :assetable_id, :assetable
|
34
|
+
belongs_to :assetable, :polymorphic => true
|
37
35
|
end
|
38
36
|
end
|
39
37
|
end
|
data/lib/ckeditor/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -11669,3 +11669,1057 @@ Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.3ms)
|
|
11669
11669
|
[1m[35m (0.1ms)[0m rollback transaction
|
11670
11670
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11671
11671
|
[1m[35m (0.1ms)[0m rollback transaction
|
11672
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
11673
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
11674
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
11675
|
+
[1m[35m (14.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11676
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
11677
|
+
Migrating to CreatePosts (20110623120047)
|
11678
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11679
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
11680
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
11681
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
11682
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
11683
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
11684
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
11685
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
11686
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
11687
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
11688
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11689
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11690
|
+
[1m[35mSQL (28.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:19:44 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", nil], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:19:44 UTC +00:00], ["width", nil]]
|
11691
|
+
SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
11692
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
11693
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11694
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11695
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11696
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11697
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa706a34 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-3894-1p21ivc>>, "CKEditor"=>"ckeditor_field"}
|
11698
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11699
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", nil], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["width", nil]]
|
11700
|
+
SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
11701
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
11702
|
+
Completed 500 Internal Server Error in 119ms
|
11703
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11704
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11705
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11706
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11707
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11708
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa595ccc @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-3894-1c6w94x>>}
|
11709
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11710
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", nil], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["width", nil]]
|
11711
|
+
SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
11712
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
11713
|
+
Completed 500 Internal Server Error in 6ms
|
11714
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11715
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11716
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11717
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11718
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11719
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
11720
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11721
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", nil], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["width", nil]]
|
11722
|
+
SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
11723
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
11724
|
+
Completed 500 Internal Server Error in 6ms
|
11725
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11726
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11727
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11728
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11729
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", nil], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["width", nil]]
|
11730
|
+
SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
11731
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
11732
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11733
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11734
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11735
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
11736
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc[0m
|
11737
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
11738
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
|
11739
|
+
Completed 200 OK in 302ms (Views: 299.1ms | ActiveRecord: 0.3ms)
|
11740
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11741
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11742
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11743
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11744
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11745
|
+
Parameters: {"qqfile"=>nil}
|
11746
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11747
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
11748
|
+
Completed 200 OK in 10ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
11749
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11750
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11751
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11753
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11754
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11755
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11756
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11757
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11758
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11759
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11760
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11761
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11762
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11763
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11764
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11765
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11766
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11767
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11768
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11769
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11770
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11771
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11772
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11773
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11774
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:19:46 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", nil], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:19:46 UTC +00:00], ["width", 50]]
|
11775
|
+
SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
11776
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
11777
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11778
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11779
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11780
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11781
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa8dc318 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-3894-jdextj>>, "CKEditor"=>"ckeditor_field"}
|
11782
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
11783
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", nil], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["width", 50]]
|
11784
|
+
SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
11785
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
11786
|
+
Completed 500 Internal Server Error in 216ms
|
11787
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11788
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11789
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11790
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11791
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11792
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9b4c5e0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-3894-mj2me7>>}
|
11793
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11794
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", nil], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["width", 50]]
|
11795
|
+
SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
11796
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
11797
|
+
Completed 500 Internal Server Error in 163ms
|
11798
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11799
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11800
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11801
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11802
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11803
|
+
Parameters: {"qqfile"=>"rails.png"}
|
11804
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11805
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", nil], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["width", 50]]
|
11806
|
+
SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
11807
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
11808
|
+
Completed 500 Internal Server Error in 160ms
|
11809
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11810
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11812
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
11813
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", nil], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["width", 50]]
|
11814
|
+
SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
11815
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
11816
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11817
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11818
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11819
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
11820
|
+
[1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
|
11821
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
11822
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
|
11823
|
+
Completed 200 OK in 29ms (Views: 26.2ms | ActiveRecord: 0.4ms)
|
11824
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11825
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11826
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11827
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11828
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11829
|
+
Parameters: {"qqfile"=>nil}
|
11830
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11831
|
+
[1m[35m (0.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
11832
|
+
Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
11833
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11834
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11835
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11836
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11837
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11838
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00]]
|
11839
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11840
|
+
Processing by PostsController#new as HTML
|
11841
|
+
Rendered posts/_form.html.erb (7.9ms)
|
11842
|
+
Completed 200 OK in 32ms (Views: 31.1ms | ActiveRecord: 0.0ms)
|
11843
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11844
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
11845
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11846
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11847
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11848
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11849
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00]]
|
11850
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11851
|
+
Processing by PostsController#index as HTML
|
11852
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
11853
|
+
Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.2ms)
|
11854
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11855
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
11856
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11857
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11858
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11859
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11860
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00]]
|
11861
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11862
|
+
Processing by PostsController#index as HTML
|
11863
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
11864
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
|
11865
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11866
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
11867
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11868
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11869
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11870
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11871
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:19:48 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:19:48 UTC +00:00]]
|
11872
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11873
|
+
Processing by PostsController#edit as HTML
|
11874
|
+
Parameters: {"id"=>"1"}
|
11875
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
11876
|
+
Rendered posts/_form.html.erb (5.1ms)
|
11877
|
+
Completed 200 OK in 13ms (Views: 10.1ms | ActiveRecord: 0.3ms)
|
11878
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11879
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
11880
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11881
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11882
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11883
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11884
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11885
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11886
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
11887
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
11888
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
11889
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11890
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
11891
|
+
Migrating to CreatePosts (20110623120047)
|
11892
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11893
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
11894
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
11895
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
11896
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
11897
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
11898
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
11899
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
11900
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
11901
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
11902
|
+
[1m[35m (0.2ms)[0m begin transaction
|
11903
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11904
|
+
[1m[35mSQL (2.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["width", nil]]
|
11905
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11906
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11907
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
11908
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11909
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11910
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11911
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11912
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11913
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xaec69cc @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-4271-1c30n3r>>, "CKEditor"=>"ckeditor_field"}
|
11914
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11915
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["width", nil]]
|
11916
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11917
|
+
Rendered text template (0.0ms)
|
11918
|
+
Completed 200 OK in 156ms (Views: 75.3ms | ActiveRecord: 0.7ms)
|
11919
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11920
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11921
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11922
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11923
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11924
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11925
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11926
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11927
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11928
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xae6742c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-4271-1lek5ik>>}
|
11929
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11930
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["width", nil]]
|
11931
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11932
|
+
Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.8ms)
|
11933
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11934
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11935
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11936
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
11937
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11938
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11939
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11940
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11941
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11942
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
11943
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11944
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["width", nil]]
|
11945
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11946
|
+
Completed 200 OK in 9ms (Views: 0.7ms | ActiveRecord: 0.6ms)
|
11947
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11948
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11949
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11950
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11951
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11952
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11953
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11954
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11955
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["width", nil]]
|
11956
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11957
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11958
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
11959
|
+
Parameters: {"id"=>"1"}
|
11960
|
+
[1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
|
11961
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11962
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11963
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11964
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
11965
|
+
Completed 302 Found in 27ms (ActiveRecord: 0.0ms)
|
11966
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11967
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11968
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11969
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11970
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
11971
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
|
11972
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
11973
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
|
11974
|
+
Completed 200 OK in 97ms (Views: 94.1ms | ActiveRecord: 0.3ms)
|
11975
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11976
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11977
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11978
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11979
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11980
|
+
Parameters: {"qqfile"=>nil}
|
11981
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11982
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
11983
|
+
Completed 200 OK in 9ms (Views: 0.7ms | ActiveRecord: 0.3ms)
|
11984
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11985
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11986
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11987
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11988
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11989
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11990
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11991
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11992
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11993
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11994
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11995
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11996
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11997
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11998
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11999
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12000
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12001
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12002
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12003
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12004
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12005
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12006
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12007
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12008
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12009
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:23:06 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:23:06 UTC +00:00], ["width", 50]]
|
12010
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12011
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12012
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
12013
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12014
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12015
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12016
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12017
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
12018
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xaecfe50 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-4271-1myicc1>>, "CKEditor"=>"ckeditor_field"}
|
12019
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12020
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:23:06 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:23:06 UTC +00:00], ["width", 50]]
|
12021
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12022
|
+
Completed 200 OK in 257ms (Views: 5.7ms | ActiveRecord: 0.9ms)
|
12023
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12024
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12025
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12026
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12027
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12028
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12030
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12031
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
12032
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xabe0ec4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-4271-123bfgv>>}
|
12033
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12034
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:23:06 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:23:06 UTC +00:00], ["width", 50]]
|
12035
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12036
|
+
Completed 200 OK in 206ms (Views: 0.8ms | ActiveRecord: 0.8ms)
|
12037
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12038
|
+
[1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12039
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12040
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
12041
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12042
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12043
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12044
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12045
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
12046
|
+
Parameters: {"qqfile"=>"rails.png"}
|
12047
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12048
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:23:06 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:23:06 UTC +00:00], ["width", 50]]
|
12049
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12050
|
+
Completed 200 OK in 294ms (Views: 0.6ms | ActiveRecord: 0.7ms)
|
12051
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12052
|
+
[1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12053
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12054
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12055
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12056
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12057
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12058
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12059
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00], ["width", 50]]
|
12060
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12061
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12062
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
12063
|
+
Parameters: {"id"=>"1"}
|
12064
|
+
[1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
|
12065
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12066
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12067
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12068
|
+
Redirected to http://test.host/ckeditor/pictures
|
12069
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
|
12070
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12071
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12072
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12073
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12074
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
12075
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
|
12076
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
12077
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
|
12078
|
+
Completed 200 OK in 16ms (Views: 12.9ms | ActiveRecord: 0.3ms)
|
12079
|
+
[1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12080
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12082
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12083
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
12084
|
+
Parameters: {"qqfile"=>nil}
|
12085
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12086
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
12087
|
+
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
12088
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12089
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12090
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12091
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12092
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12093
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00]]
|
12094
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12095
|
+
Processing by PostsController#new as HTML
|
12096
|
+
Rendered posts/_form.html.erb (8.0ms)
|
12097
|
+
Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.0ms)
|
12098
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12099
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
12100
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12101
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12102
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12103
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12104
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00]]
|
12105
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12106
|
+
Processing by PostsController#index as HTML
|
12107
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
|
12108
|
+
Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.3ms)
|
12109
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12110
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
12111
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12112
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12113
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12114
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12115
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00]]
|
12116
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12117
|
+
Processing by PostsController#index as HTML
|
12118
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
12119
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms)
|
12120
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12121
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
12122
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12123
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12124
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12125
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12126
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00]]
|
12127
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12128
|
+
Processing by PostsController#edit as HTML
|
12129
|
+
Parameters: {"id"=>"1"}
|
12130
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
12131
|
+
Rendered posts/_form.html.erb (5.4ms)
|
12132
|
+
Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.3ms)
|
12133
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12134
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
12135
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12136
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12137
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12138
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12139
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12140
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12141
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
12142
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
12143
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
12144
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12145
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
12146
|
+
Migrating to CreatePosts (20110623120047)
|
12147
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12148
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
12149
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
12150
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
12151
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
12152
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
12153
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
12154
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
12155
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
12156
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
12157
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12158
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12159
|
+
[1m[35mSQL (2.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["width", nil]]
|
12160
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12161
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12162
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
12163
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12164
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12165
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12166
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12167
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
12168
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa86dcb0 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-4581-256wg7>>, "CKEditor"=>"ckeditor_field"}
|
12169
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12170
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["width", nil]]
|
12171
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12172
|
+
Rendered text template (0.0ms)
|
12173
|
+
Completed 200 OK in 139ms (Views: 66.5ms | ActiveRecord: 0.7ms)
|
12174
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12175
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12176
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12177
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12178
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12179
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12180
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12181
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12182
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
12183
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa7eee88 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-4581-1t5oped>>}
|
12184
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12185
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["width", nil]]
|
12186
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12187
|
+
Completed 200 OK in 9ms (Views: 0.6ms | ActiveRecord: 0.7ms)
|
12188
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12189
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12190
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12191
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
12192
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12193
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12194
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12195
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12196
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
12197
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
12198
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12199
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["width", nil]]
|
12200
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12201
|
+
Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
12202
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12203
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12204
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12205
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12206
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12207
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12208
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12209
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12210
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["width", nil]]
|
12211
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12212
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12213
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
12214
|
+
Parameters: {"id"=>"1"}
|
12215
|
+
[1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
|
12216
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12217
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12218
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12219
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
12220
|
+
Completed 302 Found in 18ms (ActiveRecord: 0.0ms)
|
12221
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12222
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12223
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12225
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
12226
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
|
12227
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
12228
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
|
12229
|
+
Completed 200 OK in 85ms (Views: 82.9ms | ActiveRecord: 0.3ms)
|
12230
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12231
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12232
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12233
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12234
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
12235
|
+
Parameters: {"qqfile"=>nil}
|
12236
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12237
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
12238
|
+
Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
12239
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12240
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12241
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12242
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12243
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12244
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12245
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
12246
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12247
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12248
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12249
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12250
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12251
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12252
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12253
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12254
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12255
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12256
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12257
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12258
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12259
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12260
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12261
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12262
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12263
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12264
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["width", 50]]
|
12265
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12266
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12267
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
12268
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12269
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12270
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12271
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12272
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
12273
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa875488 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-4581-1iny99k>>, "CKEditor"=>"ckeditor_field"}
|
12274
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12275
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["width", 50]]
|
12276
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12277
|
+
Completed 200 OK in 218ms (Views: 1.5ms | ActiveRecord: 0.8ms)
|
12278
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12279
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12280
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12281
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12282
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12283
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12284
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12285
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12286
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
12287
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa5c5634 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-4581-1yhibif>>}
|
12288
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12289
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["width", 50]]
|
12290
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12291
|
+
Completed 200 OK in 156ms (Views: 0.6ms | ActiveRecord: 0.7ms)
|
12292
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12293
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12294
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12295
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
12296
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12297
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12298
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12299
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12300
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
12301
|
+
Parameters: {"qqfile"=>"rails.png"}
|
12302
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12303
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["width", 50]]
|
12304
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12305
|
+
Completed 200 OK in 216ms (Views: 0.6ms | ActiveRecord: 0.7ms)
|
12306
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12307
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12308
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12309
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12310
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12311
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12313
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12314
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["width", 50]]
|
12315
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12316
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12317
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
12318
|
+
Parameters: {"id"=>"1"}
|
12319
|
+
[1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
|
12320
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12321
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12322
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12323
|
+
Redirected to http://test.host/ckeditor/pictures
|
12324
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
12325
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12326
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12327
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12328
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12329
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
12330
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
|
12331
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
12332
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
|
12333
|
+
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
|
12334
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12335
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12336
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12337
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12338
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
12339
|
+
Parameters: {"qqfile"=>nil}
|
12340
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12341
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
12342
|
+
Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
12343
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12344
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12345
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12346
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12347
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12348
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00]]
|
12349
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12350
|
+
Processing by PostsController#new as HTML
|
12351
|
+
Rendered posts/_form.html.erb (7.8ms)
|
12352
|
+
Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
|
12353
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12354
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
12355
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12356
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12357
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12358
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12359
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:15 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:15 UTC +00:00]]
|
12360
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12361
|
+
Processing by PostsController#index as HTML
|
12362
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
|
12363
|
+
Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.3ms)
|
12364
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12365
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
12366
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12367
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12369
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12370
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:15 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:15 UTC +00:00]]
|
12371
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12372
|
+
Processing by PostsController#index as HTML
|
12373
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
12374
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms)
|
12375
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12376
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
12377
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12378
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12379
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12380
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12381
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:15 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:15 UTC +00:00]]
|
12382
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12383
|
+
Processing by PostsController#edit as HTML
|
12384
|
+
Parameters: {"id"=>"1"}
|
12385
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
12386
|
+
Rendered posts/_form.html.erb (5.4ms)
|
12387
|
+
Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.3ms)
|
12388
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12389
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
12390
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12391
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12392
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12393
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12394
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12395
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12396
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
12397
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
12398
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
12399
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12400
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
12401
|
+
Migrating to CreatePosts (20110623120047)
|
12402
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12403
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
12404
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
12405
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
12406
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
12407
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
12408
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
12409
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
12410
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
12411
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
12412
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12413
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12414
|
+
[1m[35mSQL (10.7ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["width", nil]]
|
12415
|
+
[paperclip] Saving attachments.
|
12416
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12417
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12418
|
+
[paperclip] Scheduling attachments for deletion.
|
12419
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
12420
|
+
[paperclip] Deleting attachments.
|
12421
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
12422
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12423
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12424
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12425
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12426
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
12427
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xaf02d78 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-4742-6326r9>>, "CKEditor"=>"ckeditor_field"}
|
12428
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12429
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["width", nil]]
|
12430
|
+
[paperclip] Saving attachments.
|
12431
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12432
|
+
Rendered text template (0.0ms)
|
12433
|
+
Completed 200 OK in 189ms (Views: 84.9ms | ActiveRecord: 0.7ms)
|
12434
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12435
|
+
[1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12436
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12437
|
+
[paperclip] Scheduling attachments for deletion.
|
12438
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12439
|
+
[paperclip] Deleting attachments.
|
12440
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
12441
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12442
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12443
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12444
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12445
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
12446
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa7e73b8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-4742-u6qv7w>>}
|
12447
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12448
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["width", nil]]
|
12449
|
+
[paperclip] Saving attachments.
|
12450
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12451
|
+
Completed 200 OK in 13ms (Views: 0.6ms | ActiveRecord: 0.7ms)
|
12452
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12453
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12454
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12455
|
+
[paperclip] Scheduling attachments for deletion.
|
12456
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
12457
|
+
[paperclip] Deleting attachments.
|
12458
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
12459
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12460
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12461
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12462
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12463
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
12464
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
12465
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12466
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["width", nil]]
|
12467
|
+
[paperclip] Saving attachments.
|
12468
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12469
|
+
Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.7ms)
|
12470
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12471
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12472
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12473
|
+
[paperclip] Scheduling attachments for deletion.
|
12474
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12475
|
+
[paperclip] Deleting attachments.
|
12476
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
12477
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12478
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12479
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12480
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12481
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["width", nil]]
|
12482
|
+
[paperclip] Saving attachments.
|
12483
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12484
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12485
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
12486
|
+
Parameters: {"id"=>"1"}
|
12487
|
+
[1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
|
12488
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12489
|
+
[paperclip] Scheduling attachments for deletion.
|
12490
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12491
|
+
[paperclip] Deleting attachments.
|
12492
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
12493
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12494
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
12495
|
+
Completed 302 Found in 90ms (ActiveRecord: 0.0ms)
|
12496
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12497
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12498
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12499
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12500
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
12501
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
|
12502
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
12503
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.9ms)
|
12504
|
+
Completed 200 OK in 82ms (Views: 79.4ms | ActiveRecord: 0.3ms)
|
12505
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12506
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12507
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12508
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12509
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
12510
|
+
Parameters: {"qqfile"=>nil}
|
12511
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12512
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
12513
|
+
Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
12514
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
12515
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
12516
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12517
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12518
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12519
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12520
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
12521
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12522
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12523
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12524
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12525
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12526
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12527
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12528
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12529
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12530
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12531
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12532
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12533
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12534
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12535
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12536
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12537
|
+
[1m[35m (0.2ms)[0m begin transaction
|
12538
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-wef2vq.png[0]'
|
12539
|
+
[32mCommand[0m :: convert '/tmp/rails20130128-4742-wef2vq.png[0]' -resize "800>" '/tmp/rails20130128-4742-wef2vq20130128-4742-cyuw84'
|
12540
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-wef2vq.png[0]'
|
12541
|
+
[32mCommand[0m :: convert '/tmp/rails20130128-4742-wef2vq.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130128-4742-wef2vq20130128-4742-et3isq'
|
12542
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
12543
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-wef2vq.png[0]'
|
12544
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["width", 50]]
|
12545
|
+
[paperclip] Saving attachments.
|
12546
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12547
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12548
|
+
[paperclip] Scheduling attachments for deletion.
|
12549
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
12550
|
+
[paperclip] Deleting attachments.
|
12551
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
12552
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
12553
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
12554
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12555
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12556
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12557
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12558
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
12559
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb50d484 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-4742-1xcstuj>>, "CKEditor"=>"ckeditor_field"}
|
12560
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-18tdgi3.png[0]'
|
12561
|
+
[32mCommand[0m :: convert '/tmp/rails20130128-4742-18tdgi3.png[0]' -resize "800>" '/tmp/rails20130128-4742-18tdgi320130128-4742-c7ou22'
|
12562
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-18tdgi3.png[0]'
|
12563
|
+
[32mCommand[0m :: convert '/tmp/rails20130128-4742-18tdgi3.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130128-4742-18tdgi320130128-4742-1cndiqt'
|
12564
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12565
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-18tdgi3.png[0]'
|
12566
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:48 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:29:48 UTC +00:00], ["width", 50]]
|
12567
|
+
[paperclip] Saving attachments.
|
12568
|
+
[1m[35m (0.8ms)[0m RELEASE SAVEPOINT active_record_1
|
12569
|
+
Completed 200 OK in 147ms (Views: 1.4ms | ActiveRecord: 1.8ms)
|
12570
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12571
|
+
[1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12572
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12573
|
+
[paperclip] Scheduling attachments for deletion.
|
12574
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12575
|
+
[paperclip] Deleting attachments.
|
12576
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
12577
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
12578
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
12579
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12580
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12581
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12582
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12583
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
12584
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbb9dcf4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-4742-ii8puo>>}
|
12585
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-cpnunc.png[0]'
|
12586
|
+
[32mCommand[0m :: convert '/tmp/rails20130128-4742-cpnunc.png[0]' -resize "800>" '/tmp/rails20130128-4742-cpnunc20130128-4742-h9fl39'
|
12587
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-cpnunc.png[0]'
|
12588
|
+
[32mCommand[0m :: convert '/tmp/rails20130128-4742-cpnunc.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130128-4742-cpnunc20130128-4742-1hcfc1z'
|
12589
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
12590
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-cpnunc.png[0]'
|
12591
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:48 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:29:48 UTC +00:00], ["width", 50]]
|
12592
|
+
[paperclip] Saving attachments.
|
12593
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12594
|
+
Completed 200 OK in 179ms (Views: 0.8ms | ActiveRecord: 0.9ms)
|
12595
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12596
|
+
[1m[36mCkeditor::Picture Load (0.6ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12597
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12598
|
+
[paperclip] Scheduling attachments for deletion.
|
12599
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
12600
|
+
[paperclip] Deleting attachments.
|
12601
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
12602
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
12603
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
12604
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12605
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12606
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12607
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12608
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
12609
|
+
Parameters: {"qqfile"=>"rails.png"}
|
12610
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-1t9hobh.png[0]'
|
12611
|
+
[32mCommand[0m :: convert '/tmp/rails20130128-4742-1t9hobh.png[0]' -resize "800>" '/tmp/rails20130128-4742-1t9hobh20130128-4742-1v6bwyd'
|
12612
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-1t9hobh.png[0]'
|
12613
|
+
[32mCommand[0m :: convert '/tmp/rails20130128-4742-1t9hobh.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130128-4742-1t9hobh20130128-4742-8plnhb'
|
12614
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12615
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-1t9hobh.png[0]'
|
12616
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:48 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:29:48 UTC +00:00], ["width", 50]]
|
12617
|
+
[paperclip] Saving attachments.
|
12618
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12619
|
+
Completed 200 OK in 226ms (Views: 0.7ms | ActiveRecord: 0.9ms)
|
12620
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12621
|
+
[1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12622
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12623
|
+
[paperclip] Scheduling attachments for deletion.
|
12624
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12625
|
+
[paperclip] Deleting attachments.
|
12626
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
12627
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
12628
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
12629
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12630
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12631
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12632
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-suyqw3.png[0]'
|
12633
|
+
[32mCommand[0m :: convert '/tmp/rails20130128-4742-suyqw3.png[0]' -resize "800>" '/tmp/rails20130128-4742-suyqw320130128-4742-7zwua7'
|
12634
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-suyqw3.png[0]'
|
12635
|
+
[32mCommand[0m :: convert '/tmp/rails20130128-4742-suyqw3.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130128-4742-suyqw320130128-4742-1ky4cfy'
|
12636
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12637
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-suyqw3.png[0]'
|
12638
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00], ["width", 50]]
|
12639
|
+
[paperclip] Saving attachments.
|
12640
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12641
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12642
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
12643
|
+
Parameters: {"id"=>"1"}
|
12644
|
+
[1m[35mCkeditor::Picture Load (0.5ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
|
12645
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12646
|
+
[paperclip] Scheduling attachments for deletion.
|
12647
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
12648
|
+
[paperclip] Deleting attachments.
|
12649
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
12650
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
12651
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
12652
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12653
|
+
Redirected to http://test.host/ckeditor/pictures
|
12654
|
+
Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
|
12655
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12656
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12657
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12658
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12659
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
12660
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
|
12661
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
12662
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
|
12663
|
+
Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.3ms)
|
12664
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12665
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12666
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12667
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12668
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
12669
|
+
Parameters: {"qqfile"=>nil}
|
12670
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12671
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
12672
|
+
Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
12673
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
12674
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
12675
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12676
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12677
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12678
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00]]
|
12679
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12680
|
+
Processing by PostsController#new as HTML
|
12681
|
+
Rendered posts/_form.html.erb (7.5ms)
|
12682
|
+
Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.0ms)
|
12683
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12684
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
12685
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12686
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12687
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12688
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12689
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00]]
|
12690
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12691
|
+
Processing by PostsController#index as HTML
|
12692
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
|
12693
|
+
Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.3ms)
|
12694
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12695
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
12696
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12697
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12698
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12699
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12700
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00]]
|
12701
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12702
|
+
Processing by PostsController#index as HTML
|
12703
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
12704
|
+
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms)
|
12705
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12706
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
12707
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12708
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12709
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12710
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12711
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00]]
|
12712
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12713
|
+
Processing by PostsController#edit as HTML
|
12714
|
+
Parameters: {"id"=>"1"}
|
12715
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
12716
|
+
Rendered posts/_form.html.erb (6.1ms)
|
12717
|
+
Completed 200 OK in 14ms (Views: 11.3ms | ActiveRecord: 0.3ms)
|
12718
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12719
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
12720
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12721
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12722
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12723
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12724
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12725
|
+
[1m[35m (0.1ms)[0m rollback transaction
|