ckeditor 3.7.3 → 4.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +38 -91
- data/app/assets/javascripts/ckeditor/config.js +1 -5
- data/app/assets/javascripts/ckeditor/{init.js → init.js.erb} +1 -1
- data/app/controllers/ckeditor/application_controller.rb +2 -8
- data/app/controllers/ckeditor/attachment_files_controller.rb +5 -0
- data/app/controllers/ckeditor/pictures_controller.rb +5 -0
- data/app/views/ckeditor/shared/_asset.html.erb +4 -4
- data/lib/ckeditor.rb +72 -7
- data/lib/ckeditor/engine.rb +6 -5
- data/lib/ckeditor/helpers/controllers.rb +7 -3
- data/lib/ckeditor/helpers/form_helper.rb +6 -10
- data/lib/ckeditor/hooks/cancan.rb +46 -0
- data/lib/ckeditor/hooks/simple_form.rb +3 -0
- data/lib/ckeditor/orm/base.rb +4 -0
- data/lib/ckeditor/utils.rb +12 -7
- data/lib/ckeditor/version.rb +2 -2
- data/lib/generators/ckeditor/install_generator.rb +2 -2
- data/lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/asset.rb +2 -2
- data/lib/generators/ckeditor/templates/active_record/paperclip/ckeditor/attachment_file.rb +4 -4
- data/lib/generators/ckeditor/templates/active_record/paperclip/ckeditor/picture.rb +8 -8
- data/lib/generators/ckeditor/templates/ckeditor.rb +3 -0
- data/lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb +1 -1
- data/test/dummy/app/views/posts/_form.html.erb +3 -3
- data/test/dummy/log/test.log +2843 -0
- data/test/functional/posts_controller_test.rb +3 -3
- data/test/tmp/config/initializers/ckeditor.rb +3 -0
- data/vendor/assets/javascripts/ckeditor/CHANGES.md +12 -0
- data/vendor/assets/javascripts/ckeditor/{LICENSE.html → LICENSE.md} +26 -89
- data/vendor/assets/javascripts/ckeditor/README.md +39 -0
- data/vendor/assets/javascripts/ckeditor/build-config.js +158 -0
- data/vendor/assets/javascripts/ckeditor/ckeditor.js +847 -152
- data/vendor/assets/javascripts/ckeditor/config.js +10 -11
- data/vendor/assets/javascripts/ckeditor/contents.css +72 -4
- data/vendor/assets/javascripts/ckeditor/lang/af.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/ar.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/bg.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/bn.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/bs.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/ca.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/cs.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/cy.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/da.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/de.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/el.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/en-au.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/en-ca.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/en-gb.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/en.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/eo.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/es.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/et.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/eu.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/fa.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/fi.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/fo.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/fr-ca.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/fr.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/gl.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/gu.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/he.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/hi.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/hr.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/hu.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/is.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/it.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/ja.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/ka.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/km.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/ko.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/ku.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/lt.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/lv.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/mk.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/mn.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/ms.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/nb.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/nl.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/no.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/pl.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/pt-br.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/pt.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/ro.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/ru.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/sk.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/sl.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/sr-latn.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/sr.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/sv.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/th.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/tr.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/ug.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/uk.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/vi.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/zh-cn.js +2 -3
- data/vendor/assets/javascripts/ckeditor/lang/zh.js +2 -3
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -7
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/{lang → dialogs/lang}/_translationstatus.txt +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
- data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -6
- data/vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +11 -7
- data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -7
- data/vendor/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -4
- data/vendor/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -8
- data/vendor/assets/javascripts/ckeditor/{images → plugins/fakeobjects/images}/spacer.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +24 -10
- data/vendor/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +23 -9
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +8 -6
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +8 -6
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +8 -6
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -6
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +8 -6
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +20 -9
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +8 -6
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +10 -6
- data/vendor/assets/javascripts/ckeditor/plugins/icons.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +10 -7
- data/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +41 -13
- data/vendor/assets/javascripts/ckeditor/{skins/kama → plugins/image}/images/noimage.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +8 -6
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +36 -12
- data/vendor/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -7
- data/vendor/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +30 -11
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +10 -7
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/{lang → dialogs/lang}/_translationstatus.txt +0 -2
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +14 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -7
- data/vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +20 -9
- data/vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +16 -8
- data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +84 -0
- data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +10 -7
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/default.js +6 -6
- data/vendor/assets/javascripts/ckeditor/skins/kama/dialog.css +1 -6
- data/vendor/assets/javascripts/ckeditor/skins/kama/dialog_ie.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/kama/dialog_ie7.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/kama/dialog_ie8.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/kama/dialog_iequirks.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/kama/dialog_opera.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/kama/editor.css +1 -9
- data/vendor/assets/javascripts/ckeditor/skins/kama/editor_ie.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/kama/editor_ie7.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/kama/editor_ie8.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/kama/editor_iequirks.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/kama/readme.md +40 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_opera.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +5 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/images/arrow.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/images/mini.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/readme.md +51 -0
- data/vendor/assets/javascripts/ckeditor/styles.js +112 -0
- metadata +113 -221
- data/app/assets/javascripts/ckeditor/plugins/attachment/dialogs/attachment.js +0 -1
- data/app/assets/javascripts/ckeditor/plugins/attachment/images/attachment.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/attachment/lang/en.js +0 -10
- data/app/assets/javascripts/ckeditor/plugins/attachment/lang/ru.js +0 -10
- data/app/assets/javascripts/ckeditor/plugins/attachment/lang/uk.js +0 -10
- data/app/assets/javascripts/ckeditor/plugins/attachment/plugin.js +0 -1
- data/app/assets/javascripts/ckeditor/plugins/embed/dialogs/embed.js +0 -1
- data/app/assets/javascripts/ckeditor/plugins/embed/images/embed.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/embed/lang/el.js +0 -9
- data/app/assets/javascripts/ckeditor/plugins/embed/lang/en.js +0 -9
- data/app/assets/javascripts/ckeditor/plugins/embed/lang/ru.js +0 -9
- data/app/assets/javascripts/ckeditor/plugins/embed/lang/uk.js +0 -9
- data/app/assets/javascripts/ckeditor/plugins/embed/plugin.js +0 -1
- data/vendor/assets/javascripts/ckeditor/CHANGES.html +0 -1548
- data/vendor/assets/javascripts/ckeditor/INSTALL.html +0 -92
- data/vendor/assets/javascripts/ckeditor/adapters/jquery.js +0 -6
- data/vendor/assets/javascripts/ckeditor/ckeditor.pack +0 -211
- data/vendor/assets/javascripts/ckeditor/ckeditor_basic.js +0 -8
- data/vendor/assets/javascripts/ckeditor/ckeditor_basic_source.js +0 -20
- data/vendor/assets/javascripts/ckeditor/ckeditor_source.js +0 -35
- data/vendor/assets/javascripts/ckeditor/lang/_languages.js +0 -6
- data/vendor/assets/javascripts/ckeditor/lang/_translationstatus.txt +0 -64
- data/vendor/assets/javascripts/ckeditor/lang/id.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/cs.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/cy.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/da.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/de.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/el.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/en.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/eo.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/fa.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/fi.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/fr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/gu.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/he.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/it.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/mk.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/nb.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/nl.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/no.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/pt-br.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/ro.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/tr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/ug.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/vi.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/zh-cn.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/adobeair/plugin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/ajax/plugin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/autogrow/plugin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/bbcode/plugin.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/_translationstatus.txt +0 -28
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/bg.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/cs.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/cy.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/da.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/de.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/el.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/en.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/eo.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/et.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fa.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fi.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/gu.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/he.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/hr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/it.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/nb.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/nl.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/no.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/pl.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/pt-br.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/tr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/ug.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/uk.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/vi.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/zh-cn.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/plugin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/dialogs/docprops.js +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/plugin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/_translationstatus.txt +0 -27
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/bg.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/cs.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/cy.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/da.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/de.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/el.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/en.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/eo.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/et.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fa.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fi.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/he.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/hr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/it.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/nb.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/nl.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/no.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/pl.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/pt-br.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/tr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/ug.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/uk.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/vi.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/zh-cn.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/plugin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/cs.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/cy.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/de.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/el.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/en.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/eo.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/et.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/fa.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/fi.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/fr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/he.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/hr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/it.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/nb.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/nl.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/no.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/pt-br.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/tr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/ug.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/zh-cn.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/styles/styles/default.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/tableresize/plugin.js +0 -7
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/_translationstatus.txt +0 -28
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/bg.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/cs.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/cy.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/da.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/de.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/el.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/en.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/eo.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/et.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fa.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fi.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/he.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/hr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/it.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/mk.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/nb.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/nl.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/no.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/pl.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/pt-br.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/tr.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/ug.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/uk.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/vi.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/zh-cn.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/plugin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/yui.js +0 -76
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
- data/vendor/assets/javascripts/ckeditor/plugins/xml/plugin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/kama/skin.js +0 -7
- data/vendor/assets/javascripts/ckeditor/skins/kama/templates.css +0 -6
- data/vendor/assets/javascripts/ckeditor/skins/office2003/dialog.css +0 -10
- data/vendor/assets/javascripts/ckeditor/skins/office2003/editor.css +0 -14
- data/vendor/assets/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/office2003/skin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/skins/office2003/templates.css +0 -6
- data/vendor/assets/javascripts/ckeditor/skins/v2/dialog.css +0 -9
- data/vendor/assets/javascripts/ckeditor/skins/v2/editor.css +0 -13
- data/vendor/assets/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/skins/v2/skin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/skins/v2/templates.css +0 -6
- data/vendor/assets/javascripts/ckeditor/themes/default/theme.js +0 -8
@@ -7,19 +7,15 @@ module Ckeditor
|
|
7
7
|
include ActionView::Helpers::JavaScriptHelper
|
8
8
|
|
9
9
|
def cktext_area(object_name, method, options = {})
|
10
|
-
options =
|
11
|
-
|
12
|
-
js_content_for_section = options.delete(:js_content_for)
|
10
|
+
options = (options || {}).stringify_keys
|
11
|
+
ck_options = (options.delete('ckeditor') || {}).stringify_keys
|
13
12
|
|
14
|
-
instance_tag = ActionView::Base::InstanceTag.new(object_name, method, self, options.delete(
|
15
|
-
instance_tag.send(:add_default_name_and_id,
|
13
|
+
instance_tag = ActionView::Base::InstanceTag.new(object_name, method, self, options.delete('object'))
|
14
|
+
instance_tag.send(:add_default_name_and_id, options) if options['id'].blank?
|
16
15
|
|
17
16
|
output_buffer = ActiveSupport::SafeBuffer.new
|
18
|
-
output_buffer << instance_tag.to_text_area_tag(
|
19
|
-
|
20
|
-
js = Utils.js_replace(input_html['id'], options)
|
21
|
-
|
22
|
-
output_buffer << (js_content_for_section ? content_for(js_content_for_section, js) : javascript_tag(js))
|
17
|
+
output_buffer << instance_tag.to_text_area_tag(options)
|
18
|
+
output_buffer << javascript_tag(Utils.js_replace(options['id'], ck_options))
|
23
19
|
output_buffer
|
24
20
|
end
|
25
21
|
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
require 'cancan'
|
2
|
+
|
3
|
+
module Ckeditor
|
4
|
+
module Hooks
|
5
|
+
# This adapter is for the CanCan[https://github.com/ryanb/cancan] authorization library.
|
6
|
+
# You can create another adapter for different authorization behavior, just be certain it
|
7
|
+
# responds to each of the public methods here.
|
8
|
+
class CanCanAuthorization
|
9
|
+
# See the +authorize_with+ config method for where the initialization happens.
|
10
|
+
def initialize(controller, ability = ::Ability)
|
11
|
+
@controller = controller
|
12
|
+
@controller.instance_variable_set '@ability', ability
|
13
|
+
@controller.extend ControllerExtension
|
14
|
+
@controller.current_ability.authorize! :access, :ckeditor
|
15
|
+
end
|
16
|
+
|
17
|
+
# This method is called in every controller action and should raise an exception
|
18
|
+
# when the authorization fails. The first argument is the name of the controller
|
19
|
+
# action as a symbol (:create, :destroy, etc.). The second argument is the actual model
|
20
|
+
# instance if it is available.
|
21
|
+
def authorize(action, model_object = nil)
|
22
|
+
@controller.current_ability.authorize!(action.to_sym, model_object) if action
|
23
|
+
end
|
24
|
+
|
25
|
+
# This method is called primarily from the view to determine whether the given user
|
26
|
+
# has access to perform the action on a given model. It should return true when authorized.
|
27
|
+
# This takes the same arguments as +authorize+. The difference is that this will
|
28
|
+
# return a boolean whereas +authorize+ will raise an exception when not authorized.
|
29
|
+
def authorized?(action, model_object = nil)
|
30
|
+
@controller.current_ability.can?(action.to_sym, model_object) if action
|
31
|
+
end
|
32
|
+
|
33
|
+
private
|
34
|
+
|
35
|
+
module ControllerExtension
|
36
|
+
def current_ability
|
37
|
+
# use ckeditor_current_user instead of default current_user so it works with
|
38
|
+
# whatever current user method is defined with Ckeditor
|
39
|
+
@current_ability ||= @ability.new(ckeditor_current_user)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
Ckeditor::AUTHORIZATION_ADAPTERS[:cancan] = Ckeditor::Hooks::CanCanAuthorization
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'simple_form'
|
2
|
+
|
1
3
|
module Ckeditor::Hooks::SimpleForm
|
2
4
|
class CkeditorInput < ::SimpleForm::Inputs::Base
|
3
5
|
def input
|
@@ -5,6 +7,7 @@ module Ckeditor::Hooks::SimpleForm
|
|
5
7
|
end
|
6
8
|
end
|
7
9
|
end
|
10
|
+
|
8
11
|
::SimpleForm::FormBuilder.map_type :ckeditor, :to => Ckeditor::Hooks::SimpleForm::CkeditorInput
|
9
12
|
|
10
13
|
# TODO: remove this after a while, SimpleForm::FormBuilder#ckeditor is deprecated.
|
data/lib/ckeditor/orm/base.rb
CHANGED
data/lib/ckeditor/utils.rb
CHANGED
@@ -27,13 +27,18 @@ module Ckeditor
|
|
27
27
|
[basename.parameterize('_'), extension].join.downcase
|
28
28
|
end
|
29
29
|
|
30
|
-
def js_replace(dom_id, options =
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
30
|
+
def js_replace(dom_id, options = nil)
|
31
|
+
js = ["if (typeof CKEDITOR != 'undefined') {"]
|
32
|
+
|
33
|
+
if options && !options.keys.empty?
|
34
|
+
js_options = ActiveSupport::JSON.encode(options)
|
35
|
+
js << "CKEDITOR.replace('#{dom_id}', #{js_options});"
|
36
|
+
else
|
37
|
+
js << "CKEDITOR.replace('#{dom_id}');"
|
38
|
+
end
|
35
39
|
|
36
|
-
|
40
|
+
js << "}"
|
41
|
+
js.join(" ").html_safe
|
37
42
|
end
|
38
43
|
|
39
44
|
def js_fileuploader(uploader_type, options = {})
|
@@ -69,7 +74,7 @@ module Ckeditor
|
|
69
74
|
end
|
70
75
|
|
71
76
|
def select_assets(path, relative_path)
|
72
|
-
folder = File.join(path, '**')
|
77
|
+
folder = File.join(relative_path, path, '**')
|
73
78
|
relative_folder = Ckeditor.root_path.join(relative_path)
|
74
79
|
|
75
80
|
Dir[Ckeditor.root_path.join(folder, '*.{js,css}')].inject([]) do |list, file|
|
data/lib/ckeditor/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
class Ckeditor::Asset < ActiveRecord::Base
|
2
2
|
include Ckeditor::Orm::ActiveRecord::AssetBase
|
3
|
-
|
4
|
-
delegate :url, :current_path, :
|
3
|
+
|
4
|
+
delegate :url, :current_path, :content_type, :to => :data
|
5
5
|
|
6
6
|
validates_presence_of :data
|
7
7
|
end
|
@@ -5,8 +5,8 @@ class Ckeditor::AttachmentFile < Ckeditor::Asset
|
|
5
5
|
|
6
6
|
validates_attachment_size :data, :less_than => 100.megabytes
|
7
7
|
validates_attachment_presence :data
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
|
9
|
+
def url_thumb
|
10
|
+
@url_thumb ||= Ckeditor::Utils.filethumb(filename)
|
11
|
+
end
|
12
12
|
end
|
@@ -2,12 +2,12 @@ class Ckeditor::Picture < Ckeditor::Asset
|
|
2
2
|
has_attached_file :data,
|
3
3
|
:url => "/ckeditor_assets/pictures/:id/:style_:basename.:extension",
|
4
4
|
:path => ":rails_root/public/ckeditor_assets/pictures/:id/:style_:basename.:extension",
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
:styles => { :content => '800>', :thumb => '118x100#' }
|
6
|
+
|
7
|
+
validates_attachment_size :data, :less_than => 2.megabytes
|
8
|
+
validates_attachment_presence :data
|
9
|
+
|
10
|
+
def url_content
|
11
|
+
url(:content)
|
12
|
+
end
|
13
13
|
end
|
@@ -14,5 +14,8 @@ if Object.const_defined?("Ckeditor")
|
|
14
14
|
# Allowed attachment file types for upload.
|
15
15
|
# Set to nil or [] (empty array) for all file types
|
16
16
|
# config.attachment_file_types = ["doc", "docx", "xls", "odt", "ods", "pdf", "rar", "zip", "tar", "swf"]
|
17
|
+
|
18
|
+
# Setup authorization to be run as a before filter
|
19
|
+
# config.authorize_with :cancan
|
17
20
|
end
|
18
21
|
end
|
@@ -15,13 +15,13 @@
|
|
15
15
|
<%= f.text_field :title %>
|
16
16
|
|
17
17
|
<%= f.label :content %>
|
18
|
-
<%= f.cktext_area :content, :width => 800, :height => 400 %>
|
18
|
+
<%= f.cktext_area :content, :ckeditor => { :width => 800, :height => 400 } %>
|
19
19
|
|
20
20
|
<%= f.label :info %>
|
21
21
|
<% if @post.new_record? %>
|
22
|
-
<%= cktext_area :post, :info, :
|
22
|
+
<%= cktext_area :post, :info, :value => "Defaults info content", :id => "new_info_content" %>
|
23
23
|
<% else %>
|
24
|
-
<%= cktext_area :post, :info, :
|
24
|
+
<%= cktext_area :post, :info, :cols => 50, :rows => 70 %>
|
25
25
|
<% end %>
|
26
26
|
|
27
27
|
<div class="actions">
|
data/test/dummy/log/test.log
CHANGED
@@ -8826,3 +8826,2846 @@ Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.3ms)
|
|
8826
8826
|
[1m[35m (0.1ms)[0m rollback transaction
|
8827
8827
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8828
8828
|
[1m[35m (0.1ms)[0m rollback transaction
|
8829
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
8830
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
8831
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
8832
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8833
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
8834
|
+
Migrating to CreatePosts (20110623120047)
|
8835
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8836
|
+
[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
|
8837
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
8838
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
8839
|
+
[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)
|
8840
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
8841
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
8842
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
8843
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
8844
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
8845
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8846
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8847
|
+
[1m[35mSQL (79.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", Sat, 05 Jan 2013 22:12:31 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", Sat, 05 Jan 2013 22:12:31 UTC +00:00], ["width", nil]]
|
8848
|
+
[paperclip] Saving attachments.
|
8849
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8850
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8851
|
+
[paperclip] Scheduling attachments for deletion.
|
8852
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
8853
|
+
[paperclip] Deleting attachments.
|
8854
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
8855
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8856
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8857
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8858
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
8859
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
8860
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb1f0828 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25328-4gpwxo>>, "CKEditor"=>"ckeditor_field"}
|
8861
|
+
Completed 500 Internal Server Error in 65ms
|
8862
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
8863
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8864
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8865
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
8866
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
8867
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa297674 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25328-1fsy0tz>>}
|
8868
|
+
Completed 500 Internal Server Error in 2ms
|
8869
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
8870
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8871
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8872
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
8873
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
8874
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
8875
|
+
Completed 500 Internal Server Error in 2ms
|
8876
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
8877
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8878
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8879
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8880
|
+
[1m[35mSQL (0.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", Sat, 05 Jan 2013 22:12:32 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", Sat, 05 Jan 2013 22:12:32 UTC +00:00], ["width", nil]]
|
8881
|
+
[paperclip] Saving attachments.
|
8882
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8883
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
8884
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
8885
|
+
Parameters: {"id"=>"1"}
|
8886
|
+
[1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
8887
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8888
|
+
[paperclip] Scheduling attachments for deletion.
|
8889
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
8890
|
+
[paperclip] Deleting attachments.
|
8891
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
8892
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8893
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
8894
|
+
Completed 302 Found in 153ms (ActiveRecord: 0.0ms)
|
8895
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
8896
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
8897
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8898
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8899
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
8900
|
+
[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
|
8901
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
8902
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
|
8903
|
+
Completed 200 OK in 44ms (Views: 41.3ms | ActiveRecord: 0.3ms)
|
8904
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
8905
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8906
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8907
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
8908
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
8909
|
+
Parameters: {"qqfile"=>nil}
|
8910
|
+
Completed 500 Internal Server Error in 1ms
|
8911
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
8912
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8913
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8914
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8915
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8916
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8917
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8918
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8919
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8920
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8921
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8922
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8923
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8924
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8925
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8926
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8927
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8928
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8929
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8930
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8931
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8932
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8933
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8934
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1eyn0a0.png[0]'
|
8935
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25328-1eyn0a0.png[0]' -resize "800>" '/tmp/rails20130106-25328-1eyn0a020130106-25328-jwrs2e'
|
8936
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1eyn0a0.png[0]'
|
8937
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25328-1eyn0a0.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-1eyn0a020130106-25328-11u31uy'
|
8938
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8939
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1eyn0a0.png[0]'
|
8940
|
+
[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", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["width", 50]]
|
8941
|
+
[paperclip] Saving attachments.
|
8942
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8943
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8944
|
+
[paperclip] Scheduling attachments for deletion.
|
8945
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
8946
|
+
[paperclip] Deleting attachments.
|
8947
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
8948
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
8949
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
8950
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8951
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8952
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8953
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
8954
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
8955
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbc80e14 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25328-sq3sqg>>, "CKEditor"=>"ckeditor_field"}
|
8956
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1bt4v8x.png[0]'
|
8957
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25328-1bt4v8x.png[0]' -resize "800>" '/tmp/rails20130106-25328-1bt4v8x20130106-25328-15tn7la'
|
8958
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1bt4v8x.png[0]'
|
8959
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25328-1bt4v8x.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-1bt4v8x20130106-25328-1sy8u4i'
|
8960
|
+
Completed 500 Internal Server Error in 75ms
|
8961
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
8962
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8963
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8964
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
8965
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
8966
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xc134258 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25328-a3n6in>>}
|
8967
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1xn72wr.png[0]'
|
8968
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25328-1xn72wr.png[0]' -resize "800>" '/tmp/rails20130106-25328-1xn72wr20130106-25328-1bv19ku'
|
8969
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1xn72wr.png[0]'
|
8970
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25328-1xn72wr.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-1xn72wr20130106-25328-1goc5at'
|
8971
|
+
Completed 500 Internal Server Error in 134ms
|
8972
|
+
[1m[35mCkeditor::Picture Load (0.5ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
8973
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8974
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8975
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
8976
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
8977
|
+
Parameters: {"qqfile"=>"rails.png"}
|
8978
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-10zwifz.png[0]'
|
8979
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25328-10zwifz.png[0]' -resize "800>" '/tmp/rails20130106-25328-10zwifz20130106-25328-z1gmlq'
|
8980
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-10zwifz.png[0]'
|
8981
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25328-10zwifz.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-10zwifz20130106-25328-113kyke'
|
8982
|
+
Completed 500 Internal Server Error in 95ms
|
8983
|
+
[1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
8984
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8985
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8986
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-17jr67p.png[0]'
|
8987
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25328-17jr67p.png[0]' -resize "800>" '/tmp/rails20130106-25328-17jr67p20130106-25328-1rmit85'
|
8988
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-17jr67p.png[0]'
|
8989
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25328-17jr67p.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-17jr67p20130106-25328-1e85sth'
|
8990
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
8991
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-17jr67p.png[0]'
|
8992
|
+
[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", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["width", 50]]
|
8993
|
+
[paperclip] Saving attachments.
|
8994
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8995
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
8996
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
8997
|
+
Parameters: {"id"=>"1"}
|
8998
|
+
[1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
8999
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9000
|
+
[paperclip] Scheduling attachments for deletion.
|
9001
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
9002
|
+
[paperclip] Deleting attachments.
|
9003
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9004
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9005
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9006
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9007
|
+
Redirected to http://test.host/ckeditor/pictures
|
9008
|
+
Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
|
9009
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9010
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9011
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9012
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9013
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
9014
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
|
9015
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
9016
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
|
9017
|
+
Completed 200 OK in 29ms (Views: 27.0ms | ActiveRecord: 0.3ms)
|
9018
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9019
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9020
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9021
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9022
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
9023
|
+
Parameters: {"qqfile"=>nil}
|
9024
|
+
Completed 500 Internal Server Error in 1ms
|
9025
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9026
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9027
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9028
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9029
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00]]
|
9030
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9031
|
+
Processing by PostsController#new as HTML
|
9032
|
+
Rendered posts/_form.html.erb (7.8ms)
|
9033
|
+
Completed 200 OK in 81ms (Views: 80.4ms | ActiveRecord: 0.0ms)
|
9034
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9035
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
9036
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9037
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9038
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9039
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9040
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00]]
|
9041
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9042
|
+
Processing by PostsController#index as HTML
|
9043
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
|
9044
|
+
Completed 200 OK in 76ms (Views: 74.3ms | ActiveRecord: 0.3ms)
|
9045
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9046
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
9047
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9048
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9049
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9050
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9051
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00]]
|
9052
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9053
|
+
Processing by PostsController#index as HTML
|
9054
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
9055
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.3ms)
|
9056
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9057
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
9058
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9059
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9060
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9061
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9062
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00]]
|
9063
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9064
|
+
Processing by PostsController#edit as HTML
|
9065
|
+
Parameters: {"id"=>"1"}
|
9066
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
9067
|
+
Rendered posts/_form.html.erb (5.6ms)
|
9068
|
+
Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.3ms)
|
9069
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9070
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
9071
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9072
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9073
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9074
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9075
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9076
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9077
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
9078
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
9079
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
9080
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
9081
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9082
|
+
Migrating to CreatePosts (20110623120047)
|
9083
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9084
|
+
[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
|
9085
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
9086
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
9087
|
+
[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)
|
9088
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
9089
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
9090
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
9091
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
9092
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
9093
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9094
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9095
|
+
[1m[35mSQL (56.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", nil], ["created_at", Sat, 05 Jan 2013 22:13:19 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", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
|
9096
|
+
[paperclip] Saving attachments.
|
9097
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9098
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9099
|
+
[paperclip] Scheduling attachments for deletion.
|
9100
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
9101
|
+
[paperclip] Deleting attachments.
|
9102
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9103
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9104
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9105
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9106
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9107
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
9108
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa31f240 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25413-1uz5lcz>>, "CKEditor"=>"ckeditor_field"}
|
9109
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9110
|
+
[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", Sat, 05 Jan 2013 22:13:19 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", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
|
9111
|
+
[paperclip] Saving attachments.
|
9112
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9113
|
+
Rendered text template (0.0ms)
|
9114
|
+
Completed 200 OK in 252ms (Views: 72.3ms | ActiveRecord: 0.7ms)
|
9115
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9116
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9117
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9118
|
+
[paperclip] Scheduling attachments for deletion.
|
9119
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9120
|
+
[paperclip] Deleting attachments.
|
9121
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9122
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9123
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9124
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9125
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9126
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
9127
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa42f1f8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25413-i2acl6>>}
|
9128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9129
|
+
[1m[35mSQL (0.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", false], ["created_at", Sat, 05 Jan 2013 22:13:19 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", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
|
9130
|
+
[paperclip] Saving attachments.
|
9131
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9132
|
+
Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
9133
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9134
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9135
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9136
|
+
[paperclip] Scheduling attachments for deletion.
|
9137
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
9138
|
+
[paperclip] Deleting attachments.
|
9139
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9140
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9141
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9142
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9143
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9144
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
9145
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
9146
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9147
|
+
[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", Sat, 05 Jan 2013 22:13:19 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", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
|
9148
|
+
[paperclip] Saving attachments.
|
9149
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9150
|
+
Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
9151
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9152
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9153
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9154
|
+
[paperclip] Scheduling attachments for deletion.
|
9155
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9156
|
+
[paperclip] Deleting attachments.
|
9157
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9158
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9159
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9160
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9161
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9162
|
+
[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", Sat, 05 Jan 2013 22:13:19 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", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
|
9163
|
+
[paperclip] Saving attachments.
|
9164
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9165
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9166
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
9167
|
+
Parameters: {"id"=>"1"}
|
9168
|
+
[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"]]
|
9169
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9170
|
+
[paperclip] Scheduling attachments for deletion.
|
9171
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9172
|
+
[paperclip] Deleting attachments.
|
9173
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9174
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9175
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
9176
|
+
Completed 302 Found in 71ms (ActiveRecord: 0.0ms)
|
9177
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9178
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9179
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9180
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9181
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
9182
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
|
9183
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
9184
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
|
9185
|
+
Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.3ms)
|
9186
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9187
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9188
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9189
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9190
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
9191
|
+
Parameters: {"qqfile"=>nil}
|
9192
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9193
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
9194
|
+
Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
9195
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9196
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9197
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9198
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9199
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9200
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9201
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9202
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9203
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9204
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9205
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9206
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9207
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9208
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9209
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9210
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9211
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9212
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9213
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9214
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9215
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9216
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9217
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9218
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9219
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-i5kld.png[0]'
|
9220
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25413-i5kld.png[0]' -resize "800>" '/tmp/rails20130106-25413-i5kld20130106-25413-mensfs'
|
9221
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-i5kld.png[0]'
|
9222
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25413-i5kld.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-i5kld20130106-25413-1irigvi'
|
9223
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9224
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-i5kld.png[0]'
|
9225
|
+
[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", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
|
9226
|
+
[paperclip] Saving attachments.
|
9227
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9228
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9229
|
+
[paperclip] Scheduling attachments for deletion.
|
9230
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
9231
|
+
[paperclip] Deleting attachments.
|
9232
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9233
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9234
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9235
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9236
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9237
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9238
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9239
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
9240
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb4abdd8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25413-vj2zu7>>, "CKEditor"=>"ckeditor_field"}
|
9241
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-4gedp9.png[0]'
|
9242
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25413-4gedp9.png[0]' -resize "800>" '/tmp/rails20130106-25413-4gedp920130106-25413-45sgrj'
|
9243
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-4gedp9.png[0]'
|
9244
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25413-4gedp9.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-4gedp920130106-25413-1y5uqc9'
|
9245
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
9246
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-4gedp9.png[0]'
|
9247
|
+
[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", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
|
9248
|
+
[paperclip] Saving attachments.
|
9249
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9250
|
+
Completed 200 OK in 162ms (Views: 1.3ms | ActiveRecord: 0.9ms)
|
9251
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9252
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9253
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9254
|
+
[paperclip] Scheduling attachments for deletion.
|
9255
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9256
|
+
[paperclip] Deleting attachments.
|
9257
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9258
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9259
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9260
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9261
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9262
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9263
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9264
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
9265
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9d81ba8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25413-16wj64h>>}
|
9266
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-1i6o7up.png[0]'
|
9267
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25413-1i6o7up.png[0]' -resize "800>" '/tmp/rails20130106-25413-1i6o7up20130106-25413-1lzoz9s'
|
9268
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-1i6o7up.png[0]'
|
9269
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25413-1i6o7up.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-1i6o7up20130106-25413-1iqui7q'
|
9270
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
9271
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-1i6o7up.png[0]'
|
9272
|
+
[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", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
|
9273
|
+
[paperclip] Saving attachments.
|
9274
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9275
|
+
Completed 200 OK in 100ms (Views: 0.8ms | ActiveRecord: 0.8ms)
|
9276
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9277
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9278
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9279
|
+
[paperclip] Scheduling attachments for deletion.
|
9280
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
9281
|
+
[paperclip] Deleting attachments.
|
9282
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9283
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9284
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9285
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9286
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9287
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9288
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9289
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
9290
|
+
Parameters: {"qqfile"=>"rails.png"}
|
9291
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-pi9btd.png[0]'
|
9292
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25413-pi9btd.png[0]' -resize "800>" '/tmp/rails20130106-25413-pi9btd20130106-25413-13m2xbe'
|
9293
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-pi9btd.png[0]'
|
9294
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25413-pi9btd.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-pi9btd20130106-25413-yji16a'
|
9295
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9296
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-pi9btd.png[0]'
|
9297
|
+
[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", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
|
9298
|
+
[paperclip] Saving attachments.
|
9299
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9300
|
+
Completed 200 OK in 101ms (Views: 0.7ms | ActiveRecord: 0.8ms)
|
9301
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9302
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9303
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9304
|
+
[paperclip] Scheduling attachments for deletion.
|
9305
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9306
|
+
[paperclip] Deleting attachments.
|
9307
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9308
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9309
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9310
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9311
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9313
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-7ip0cm.png[0]'
|
9314
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25413-7ip0cm.png[0]' -resize "800>" '/tmp/rails20130106-25413-7ip0cm20130106-25413-1wnvplj'
|
9315
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-7ip0cm.png[0]'
|
9316
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25413-7ip0cm.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-7ip0cm20130106-25413-15mfl1n'
|
9317
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
9318
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-7ip0cm.png[0]'
|
9319
|
+
[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", nil], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
|
9320
|
+
[paperclip] Saving attachments.
|
9321
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9322
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9323
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
9324
|
+
Parameters: {"id"=>"1"}
|
9325
|
+
[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"]]
|
9326
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9327
|
+
[paperclip] Scheduling attachments for deletion.
|
9328
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9329
|
+
[paperclip] Deleting attachments.
|
9330
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9331
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9332
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9333
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9334
|
+
Redirected to http://test.host/ckeditor/pictures
|
9335
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
|
9336
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9337
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9338
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9339
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9340
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
9341
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
|
9342
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
9343
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
|
9344
|
+
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
|
9345
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9346
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9347
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9348
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9349
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
9350
|
+
Parameters: {"qqfile"=>nil}
|
9351
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9352
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
9353
|
+
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
9354
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9355
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9356
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9357
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9358
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9359
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00]]
|
9360
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9361
|
+
Processing by PostsController#new as HTML
|
9362
|
+
Rendered posts/_form.html.erb (7.5ms)
|
9363
|
+
Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.0ms)
|
9364
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9365
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
9366
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9367
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9368
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9369
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9370
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00]]
|
9371
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9372
|
+
Processing by PostsController#index as HTML
|
9373
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
9374
|
+
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.2ms)
|
9375
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9376
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
9377
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9378
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9379
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9380
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9381
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00]]
|
9382
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9383
|
+
Processing by PostsController#index as HTML
|
9384
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
9385
|
+
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)
|
9386
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9387
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
9388
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9389
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9390
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9391
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9392
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00]]
|
9393
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9394
|
+
Processing by PostsController#edit as HTML
|
9395
|
+
Parameters: {"id"=>"1"}
|
9396
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
9397
|
+
Rendered posts/_form.html.erb (5.0ms)
|
9398
|
+
Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.3ms)
|
9399
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9400
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
9401
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9402
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9403
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9404
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9405
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9406
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9407
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
9408
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
9409
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
9410
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
9411
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9412
|
+
Migrating to CreatePosts (20110623120047)
|
9413
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9414
|
+
[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
|
9415
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
9416
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
9417
|
+
[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)
|
9418
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
9419
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
9420
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
9421
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
9422
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
9423
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9424
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9425
|
+
[1m[35mSQL (56.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", nil], ["created_at", Sat, 05 Jan 2013 22:14:51 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", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
|
9426
|
+
[paperclip] Saving attachments.
|
9427
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9428
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9429
|
+
[paperclip] Scheduling attachments for deletion.
|
9430
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
9431
|
+
[paperclip] Deleting attachments.
|
9432
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9433
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9434
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9435
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9436
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9437
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
9438
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa97291c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25520-nvjgj6>>, "CKEditor"=>"ckeditor_field"}
|
9439
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9440
|
+
[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", Sat, 05 Jan 2013 22:14:51 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", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
|
9441
|
+
[paperclip] Saving attachments.
|
9442
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9443
|
+
Rendered text template (0.0ms)
|
9444
|
+
Completed 200 OK in 192ms (Views: 66.8ms | ActiveRecord: 0.7ms)
|
9445
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9446
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9447
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9448
|
+
[paperclip] Scheduling attachments for deletion.
|
9449
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9450
|
+
[paperclip] Deleting attachments.
|
9451
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9452
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9453
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9454
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9455
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9456
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
9457
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa34c6b4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25520-dhrn3c>>}
|
9458
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9459
|
+
[1m[35mSQL (0.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", false], ["created_at", Sat, 05 Jan 2013 22:14:51 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", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
|
9460
|
+
[paperclip] Saving attachments.
|
9461
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9462
|
+
Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
9463
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9464
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9465
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9466
|
+
[paperclip] Scheduling attachments for deletion.
|
9467
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
9468
|
+
[paperclip] Deleting attachments.
|
9469
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9470
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9471
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9472
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9473
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9474
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
9475
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
9476
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9477
|
+
[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", Sat, 05 Jan 2013 22:14:51 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", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
|
9478
|
+
[paperclip] Saving attachments.
|
9479
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9480
|
+
Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
9481
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9482
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9483
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9484
|
+
[paperclip] Scheduling attachments for deletion.
|
9485
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9486
|
+
[paperclip] Deleting attachments.
|
9487
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9488
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9489
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9490
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9491
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9492
|
+
[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", Sat, 05 Jan 2013 22:14:51 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", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
|
9493
|
+
[paperclip] Saving attachments.
|
9494
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9495
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9496
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
9497
|
+
Parameters: {"id"=>"1"}
|
9498
|
+
[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"]]
|
9499
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9500
|
+
[paperclip] Scheduling attachments for deletion.
|
9501
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9502
|
+
[paperclip] Deleting attachments.
|
9503
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9504
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9505
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
9506
|
+
Completed 302 Found in 71ms (ActiveRecord: 0.0ms)
|
9507
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9508
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9509
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9510
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9511
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
9512
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
|
9513
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
9514
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
|
9515
|
+
Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.3ms)
|
9516
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9517
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9518
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9519
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9520
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
9521
|
+
Parameters: {"qqfile"=>nil}
|
9522
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9523
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
9524
|
+
Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
9525
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9526
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9527
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9528
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9529
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9530
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9531
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9532
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9533
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9535
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9536
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9537
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9538
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9539
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9540
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9541
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9542
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9543
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9544
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9545
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9546
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9547
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9548
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9549
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-8lfj91.png[0]'
|
9550
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25520-8lfj91.png[0]' -resize "800>" '/tmp/rails20130106-25520-8lfj9120130106-25520-1jnyj66'
|
9551
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-8lfj91.png[0]'
|
9552
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25520-8lfj91.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-8lfj9120130106-25520-ohw4wt'
|
9553
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9554
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-8lfj91.png[0]'
|
9555
|
+
[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", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
|
9556
|
+
[paperclip] Saving attachments.
|
9557
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9558
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9559
|
+
[paperclip] Scheduling attachments for deletion.
|
9560
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
9561
|
+
[paperclip] Deleting attachments.
|
9562
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9563
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9564
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9565
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9566
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9567
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9568
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9569
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
9570
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbc01858 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25520-frz57x>>, "CKEditor"=>"ckeditor_field"}
|
9571
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-15gphc1.png[0]'
|
9572
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25520-15gphc1.png[0]' -resize "800>" '/tmp/rails20130106-25520-15gphc120130106-25520-u5654w'
|
9573
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-15gphc1.png[0]'
|
9574
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25520-15gphc1.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-15gphc120130106-25520-pqait4'
|
9575
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
9576
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-15gphc1.png[0]'
|
9577
|
+
[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", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
|
9578
|
+
[paperclip] Saving attachments.
|
9579
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9580
|
+
Completed 200 OK in 163ms (Views: 1.4ms | ActiveRecord: 0.9ms)
|
9581
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9582
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9583
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9584
|
+
[paperclip] Scheduling attachments for deletion.
|
9585
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9586
|
+
[paperclip] Deleting attachments.
|
9587
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9588
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9589
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9590
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9591
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9592
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9593
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9594
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
9595
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa3f6cb8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25520-12ezie8>>}
|
9596
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-1ewmshb.png[0]'
|
9597
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25520-1ewmshb.png[0]' -resize "800>" '/tmp/rails20130106-25520-1ewmshb20130106-25520-1257myj'
|
9598
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-1ewmshb.png[0]'
|
9599
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25520-1ewmshb.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-1ewmshb20130106-25520-17xtgjs'
|
9600
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9601
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-1ewmshb.png[0]'
|
9602
|
+
[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", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
|
9603
|
+
[paperclip] Saving attachments.
|
9604
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9605
|
+
Completed 200 OK in 101ms (Views: 0.7ms | ActiveRecord: 0.8ms)
|
9606
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9607
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9608
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9609
|
+
[paperclip] Scheduling attachments for deletion.
|
9610
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
9611
|
+
[paperclip] Deleting attachments.
|
9612
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9613
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9614
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9615
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9616
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9617
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9618
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9619
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
9620
|
+
Parameters: {"qqfile"=>"rails.png"}
|
9621
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-mnkzds.png[0]'
|
9622
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25520-mnkzds.png[0]' -resize "800>" '/tmp/rails20130106-25520-mnkzds20130106-25520-1u6k9hw'
|
9623
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-mnkzds.png[0]'
|
9624
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25520-mnkzds.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-mnkzds20130106-25520-1uzgt79'
|
9625
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9626
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-mnkzds.png[0]'
|
9627
|
+
[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", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
|
9628
|
+
[paperclip] Saving attachments.
|
9629
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9630
|
+
Completed 200 OK in 102ms (Views: 0.7ms | ActiveRecord: 0.8ms)
|
9631
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9632
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9633
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9634
|
+
[paperclip] Scheduling attachments for deletion.
|
9635
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9636
|
+
[paperclip] Deleting attachments.
|
9637
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9638
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9639
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9640
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9641
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9642
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9643
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-nr6mqb.png[0]'
|
9644
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25520-nr6mqb.png[0]' -resize "800>" '/tmp/rails20130106-25520-nr6mqb20130106-25520-1xp7r77'
|
9645
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-nr6mqb.png[0]'
|
9646
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25520-nr6mqb.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-nr6mqb20130106-25520-awmcgo'
|
9647
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
9648
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-nr6mqb.png[0]'
|
9649
|
+
[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", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
|
9650
|
+
[paperclip] Saving attachments.
|
9651
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9652
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9653
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
9654
|
+
Parameters: {"id"=>"1"}
|
9655
|
+
[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"]]
|
9656
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9657
|
+
[paperclip] Scheduling attachments for deletion.
|
9658
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9659
|
+
[paperclip] Deleting attachments.
|
9660
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9661
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9662
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9663
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9664
|
+
Redirected to http://test.host/ckeditor/pictures
|
9665
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
|
9666
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9667
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9668
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9669
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9670
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
9671
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
|
9672
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
9673
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
|
9674
|
+
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
|
9675
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9676
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9677
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9678
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9679
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
9680
|
+
Parameters: {"qqfile"=>nil}
|
9681
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9682
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
9683
|
+
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
9684
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9685
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9686
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9687
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9688
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9689
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00]]
|
9690
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9691
|
+
Processing by PostsController#new as HTML
|
9692
|
+
Rendered posts/_form.html.erb (8.1ms)
|
9693
|
+
Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.0ms)
|
9694
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9695
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
9696
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9697
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9698
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9699
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9700
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00]]
|
9701
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9702
|
+
Processing by PostsController#index as HTML
|
9703
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
9704
|
+
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.2ms)
|
9705
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9706
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
9707
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9708
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9709
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9710
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9711
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00]]
|
9712
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9713
|
+
Processing by PostsController#index as HTML
|
9714
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
9715
|
+
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)
|
9716
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9717
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
9718
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9719
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9720
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9721
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9722
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00]]
|
9723
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9724
|
+
Processing by PostsController#edit as HTML
|
9725
|
+
Parameters: {"id"=>"1"}
|
9726
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
9727
|
+
Rendered posts/_form.html.erb (5.1ms)
|
9728
|
+
Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.3ms)
|
9729
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9730
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
9731
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9732
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9733
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9734
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9735
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9736
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9737
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
9738
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
9739
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
9740
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
9741
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9742
|
+
Migrating to CreatePosts (20110623120047)
|
9743
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9744
|
+
[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
|
9745
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
9746
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
9747
|
+
[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)
|
9748
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
9749
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
9750
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
9751
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
9752
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
9753
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9755
|
+
[1m[35mSQL (56.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", nil], ["created_at", Sat, 05 Jan 2013 22:16:26 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", Sat, 05 Jan 2013 22:16:26 UTC +00:00], ["width", nil]]
|
9756
|
+
[paperclip] Saving attachments.
|
9757
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9758
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9759
|
+
[paperclip] Scheduling attachments for deletion.
|
9760
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
9761
|
+
[paperclip] Deleting attachments.
|
9762
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9763
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9764
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9765
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9766
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9767
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
9768
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9a41a4c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25611-h7wf6z>>, "CKEditor"=>"ckeditor_field"}
|
9769
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9770
|
+
[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", Sat, 05 Jan 2013 22:16:27 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", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", nil]]
|
9771
|
+
[paperclip] Saving attachments.
|
9772
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9773
|
+
Rendered text template (0.0ms)
|
9774
|
+
Completed 200 OK in 193ms (Views: 67.0ms | ActiveRecord: 0.7ms)
|
9775
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9776
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9777
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9778
|
+
[paperclip] Scheduling attachments for deletion.
|
9779
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9780
|
+
[paperclip] Deleting attachments.
|
9781
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9782
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9783
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9784
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9785
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9786
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
9787
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x981bb50 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25611-cseptc>>}
|
9788
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9789
|
+
[1m[35mSQL (0.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", false], ["created_at", Sat, 05 Jan 2013 22:16:27 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", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", nil]]
|
9790
|
+
[paperclip] Saving attachments.
|
9791
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9792
|
+
Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
9793
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9794
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9795
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9796
|
+
[paperclip] Scheduling attachments for deletion.
|
9797
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
9798
|
+
[paperclip] Deleting attachments.
|
9799
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9800
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9801
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9802
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9803
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9804
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
9805
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
9806
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9807
|
+
[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", Sat, 05 Jan 2013 22:16:27 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", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", nil]]
|
9808
|
+
[paperclip] Saving attachments.
|
9809
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9810
|
+
Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
9811
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9812
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9813
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9814
|
+
[paperclip] Scheduling attachments for deletion.
|
9815
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9816
|
+
[paperclip] Deleting attachments.
|
9817
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9818
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9819
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9820
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9821
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9822
|
+
[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", Sat, 05 Jan 2013 22:16:27 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", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", nil]]
|
9823
|
+
[paperclip] Saving attachments.
|
9824
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9825
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9826
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
9827
|
+
Parameters: {"id"=>"1"}
|
9828
|
+
[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"]]
|
9829
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9830
|
+
[paperclip] Scheduling attachments for deletion.
|
9831
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9832
|
+
[paperclip] Deleting attachments.
|
9833
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
9834
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9835
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
9836
|
+
Completed 302 Found in 71ms (ActiveRecord: 0.0ms)
|
9837
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9838
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9839
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9840
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9841
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
9842
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
|
9843
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
9844
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
|
9845
|
+
Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.3ms)
|
9846
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9847
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9848
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9849
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9850
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
9851
|
+
Parameters: {"qqfile"=>nil}
|
9852
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9853
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
9854
|
+
Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
9855
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
9856
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
9857
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9858
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9859
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9860
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9861
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9862
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9863
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9864
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9865
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9866
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9867
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9868
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9869
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9870
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9871
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9872
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9873
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9874
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9875
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9876
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9877
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9878
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9879
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1xfr93y.png[0]'
|
9880
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25611-1xfr93y.png[0]' -resize "800>" '/tmp/rails20130106-25611-1xfr93y20130106-25611-2udqmf'
|
9881
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1xfr93y.png[0]'
|
9882
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25611-1xfr93y.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-1xfr93y20130106-25611-1aofw4h'
|
9883
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9884
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1xfr93y.png[0]'
|
9885
|
+
[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", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", 50]]
|
9886
|
+
[paperclip] Saving attachments.
|
9887
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9888
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9889
|
+
[paperclip] Scheduling attachments for deletion.
|
9890
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
9891
|
+
[paperclip] Deleting attachments.
|
9892
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9893
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9894
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9895
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9896
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9897
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9898
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9899
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
9900
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa6b7c04 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25611-167a7s7>>, "CKEditor"=>"ckeditor_field"}
|
9901
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-rudboq.png[0]'
|
9902
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25611-rudboq.png[0]' -resize "800>" '/tmp/rails20130106-25611-rudboq20130106-25611-oy65e0'
|
9903
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-rudboq.png[0]'
|
9904
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25611-rudboq.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-rudboq20130106-25611-1v0ttf7'
|
9905
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
9906
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-rudboq.png[0]'
|
9907
|
+
[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", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", 50]]
|
9908
|
+
[paperclip] Saving attachments.
|
9909
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9910
|
+
Completed 200 OK in 162ms (Views: 1.3ms | ActiveRecord: 1.0ms)
|
9911
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9912
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9913
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9914
|
+
[paperclip] Scheduling attachments for deletion.
|
9915
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9916
|
+
[paperclip] Deleting attachments.
|
9917
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9918
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9919
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9920
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9921
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9922
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9923
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9924
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
9925
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9d32300 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25611-1umvf4r>>}
|
9926
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1boq48u.png[0]'
|
9927
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25611-1boq48u.png[0]' -resize "800>" '/tmp/rails20130106-25611-1boq48u20130106-25611-1g2v21m'
|
9928
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1boq48u.png[0]'
|
9929
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25611-1boq48u.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-1boq48u20130106-25611-1nrxkto'
|
9930
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9931
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1boq48u.png[0]'
|
9932
|
+
[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", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", 50]]
|
9933
|
+
[paperclip] Saving attachments.
|
9934
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9935
|
+
Completed 200 OK in 100ms (Views: 0.7ms | ActiveRecord: 0.9ms)
|
9936
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9937
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9938
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9939
|
+
[paperclip] Scheduling attachments for deletion.
|
9940
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
9941
|
+
[paperclip] Deleting attachments.
|
9942
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9943
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9944
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9945
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9946
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9947
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9948
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9949
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
9950
|
+
Parameters: {"qqfile"=>"rails.png"}
|
9951
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1coo362.png[0]'
|
9952
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25611-1coo362.png[0]' -resize "800>" '/tmp/rails20130106-25611-1coo36220130106-25611-1y06lj8'
|
9953
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1coo362.png[0]'
|
9954
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25611-1coo362.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-1coo36220130106-25611-1k8abff'
|
9955
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9956
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1coo362.png[0]'
|
9957
|
+
[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", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["width", 50]]
|
9958
|
+
[paperclip] Saving attachments.
|
9959
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9960
|
+
Completed 200 OK in 100ms (Views: 0.7ms | ActiveRecord: 0.8ms)
|
9961
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9962
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9963
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9964
|
+
[paperclip] Scheduling attachments for deletion.
|
9965
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9966
|
+
[paperclip] Deleting attachments.
|
9967
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9968
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9969
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9970
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9971
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9972
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9973
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-cwzq2a.png[0]'
|
9974
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25611-cwzq2a.png[0]' -resize "800>" '/tmp/rails20130106-25611-cwzq2a20130106-25611-wse7ab'
|
9975
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-cwzq2a.png[0]'
|
9976
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25611-cwzq2a.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-cwzq2a20130106-25611-bqx6dw'
|
9977
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
9978
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-cwzq2a.png[0]'
|
9979
|
+
[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", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["width", 50]]
|
9980
|
+
[paperclip] Saving attachments.
|
9981
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9982
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9983
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
9984
|
+
Parameters: {"id"=>"1"}
|
9985
|
+
[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"]]
|
9986
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9987
|
+
[paperclip] Scheduling attachments for deletion.
|
9988
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
9989
|
+
[paperclip] Deleting attachments.
|
9990
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
9991
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
9992
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
9993
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9994
|
+
Redirected to http://test.host/ckeditor/pictures
|
9995
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
|
9996
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
9997
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
9998
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9999
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10000
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
10001
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
|
10002
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
10003
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
|
10004
|
+
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
|
10005
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10006
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10007
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10008
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10009
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
10010
|
+
Parameters: {"qqfile"=>nil}
|
10011
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10012
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
10013
|
+
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
10014
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10015
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10016
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10017
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10018
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10019
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00]]
|
10020
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10021
|
+
Processing by PostsController#new as HTML
|
10022
|
+
Rendered posts/_form.html.erb (8.0ms)
|
10023
|
+
Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.0ms)
|
10024
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10025
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
10026
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10027
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10028
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10029
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10030
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00]]
|
10031
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10032
|
+
Processing by PostsController#index as HTML
|
10033
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
|
10034
|
+
Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.3ms)
|
10035
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10036
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
10037
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10038
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10039
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10040
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10041
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00]]
|
10042
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10043
|
+
Processing by PostsController#index as HTML
|
10044
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
10045
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms)
|
10046
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10047
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
10048
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10049
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10050
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10051
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10052
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00]]
|
10053
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10054
|
+
Processing by PostsController#edit as HTML
|
10055
|
+
Parameters: {"id"=>"1"}
|
10056
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
10057
|
+
Rendered posts/_form.html.erb (5.0ms)
|
10058
|
+
Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.3ms)
|
10059
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10060
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
10061
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10062
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10063
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10064
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10065
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10066
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10067
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
10068
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
10069
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
10070
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
10071
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
10072
|
+
Migrating to CreatePosts (20110623120047)
|
10073
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10074
|
+
[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
|
10075
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
10076
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
10077
|
+
[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)
|
10078
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
10079
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
10080
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
10081
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
10082
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
10083
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10084
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10085
|
+
[1m[35mSQL (56.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", Sat, 05 Jan 2013 22:17:52 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", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
|
10086
|
+
[paperclip] Saving attachments.
|
10087
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10088
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10089
|
+
[paperclip] Scheduling attachments for deletion.
|
10090
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10091
|
+
[paperclip] Deleting attachments.
|
10092
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
10093
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10094
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10095
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10096
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10097
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10098
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa3c5e38 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25705-c0bgxz>>, "CKEditor"=>"ckeditor_field"}
|
10099
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10100
|
+
[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", Sat, 05 Jan 2013 22:17:52 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", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
|
10101
|
+
[paperclip] Saving attachments.
|
10102
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10103
|
+
Rendered text template (0.0ms)
|
10104
|
+
Completed 200 OK in 192ms (Views: 66.9ms | ActiveRecord: 0.7ms)
|
10105
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10106
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10107
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10108
|
+
[paperclip] Scheduling attachments for deletion.
|
10109
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10110
|
+
[paperclip] Deleting attachments.
|
10111
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
10112
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10113
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10114
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10115
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10116
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10117
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa0b0220 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25705-h7e44r>>}
|
10118
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10119
|
+
[1m[35mSQL (0.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", false], ["created_at", Sat, 05 Jan 2013 22:17:52 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", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
|
10120
|
+
[paperclip] Saving attachments.
|
10121
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10122
|
+
Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 0.6ms)
|
10123
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10124
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10125
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10126
|
+
[paperclip] Scheduling attachments for deletion.
|
10127
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10128
|
+
[paperclip] Deleting attachments.
|
10129
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
10130
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10131
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10132
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10133
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10134
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10135
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
10136
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10137
|
+
[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", Sat, 05 Jan 2013 22:17:52 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", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
|
10138
|
+
[paperclip] Saving attachments.
|
10139
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10140
|
+
Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
10141
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10142
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10143
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10144
|
+
[paperclip] Scheduling attachments for deletion.
|
10145
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10146
|
+
[paperclip] Deleting attachments.
|
10147
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
10148
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10149
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10150
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10151
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10152
|
+
[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", Sat, 05 Jan 2013 22:17:52 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", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
|
10153
|
+
[paperclip] Saving attachments.
|
10154
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10155
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10156
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
10157
|
+
Parameters: {"id"=>"1"}
|
10158
|
+
[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"]]
|
10159
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10160
|
+
[paperclip] Scheduling attachments for deletion.
|
10161
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10162
|
+
[paperclip] Deleting attachments.
|
10163
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
|
10164
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10165
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
10166
|
+
Completed 302 Found in 71ms (ActiveRecord: 0.0ms)
|
10167
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10168
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10169
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10170
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10171
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
10172
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
|
10173
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
10174
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
|
10175
|
+
Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.3ms)
|
10176
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10177
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10178
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10179
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10180
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10181
|
+
Parameters: {"qqfile"=>nil}
|
10182
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
10183
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
10184
|
+
Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
10185
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10186
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10187
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10188
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10189
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10190
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10191
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10192
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10193
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10194
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10195
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10196
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10197
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10198
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10199
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10200
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10201
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10202
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10203
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10204
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10205
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10206
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10207
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10208
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10209
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-ft5jvw.png[0]'
|
10210
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25705-ft5jvw.png[0]' -resize "800>" '/tmp/rails20130106-25705-ft5jvw20130106-25705-ngjr6a'
|
10211
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-ft5jvw.png[0]'
|
10212
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25705-ft5jvw.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-ft5jvw20130106-25705-2r58i'
|
10213
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10214
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-ft5jvw.png[0]'
|
10215
|
+
[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", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
|
10216
|
+
[paperclip] Saving attachments.
|
10217
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10218
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10219
|
+
[paperclip] Scheduling attachments for deletion.
|
10220
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10221
|
+
[paperclip] Deleting attachments.
|
10222
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
10223
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
10224
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
10225
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10226
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10227
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10228
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10229
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
10230
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb0b4c48 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25705-yxoqs6>>, "CKEditor"=>"ckeditor_field"}
|
10231
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-xlkxn7.png[0]'
|
10232
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25705-xlkxn7.png[0]' -resize "800>" '/tmp/rails20130106-25705-xlkxn720130106-25705-1256bcw'
|
10233
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-xlkxn7.png[0]'
|
10234
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25705-xlkxn7.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-xlkxn720130106-25705-1qdcpgr'
|
10235
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
10236
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-xlkxn7.png[0]'
|
10237
|
+
[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", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
|
10238
|
+
[paperclip] Saving attachments.
|
10239
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10240
|
+
Completed 200 OK in 162ms (Views: 1.3ms | ActiveRecord: 0.9ms)
|
10241
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10242
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10243
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10244
|
+
[paperclip] Scheduling attachments for deletion.
|
10245
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10246
|
+
[paperclip] Deleting attachments.
|
10247
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
10248
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
10249
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
10250
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10251
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10253
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10254
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
10255
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa1fc354 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25705-rsd99r>>}
|
10256
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-10dnm2s.png[0]'
|
10257
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25705-10dnm2s.png[0]' -resize "800>" '/tmp/rails20130106-25705-10dnm2s20130106-25705-1nji2g'
|
10258
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-10dnm2s.png[0]'
|
10259
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25705-10dnm2s.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-10dnm2s20130106-25705-1esoqci'
|
10260
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
10261
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-10dnm2s.png[0]'
|
10262
|
+
[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", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
|
10263
|
+
[paperclip] Saving attachments.
|
10264
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10265
|
+
Completed 200 OK in 101ms (Views: 0.7ms | ActiveRecord: 0.8ms)
|
10266
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10267
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10268
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10269
|
+
[paperclip] Scheduling attachments for deletion.
|
10270
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10271
|
+
[paperclip] Deleting attachments.
|
10272
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
10273
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
10274
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
10275
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10276
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10277
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10278
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10279
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
10280
|
+
Parameters: {"qqfile"=>"rails.png"}
|
10281
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-1wr0wkr.png[0]'
|
10282
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25705-1wr0wkr.png[0]' -resize "800>" '/tmp/rails20130106-25705-1wr0wkr20130106-25705-uxaepq'
|
10283
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-1wr0wkr.png[0]'
|
10284
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25705-1wr0wkr.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-1wr0wkr20130106-25705-odn9lu'
|
10285
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10286
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-1wr0wkr.png[0]'
|
10287
|
+
[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", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
|
10288
|
+
[paperclip] Saving attachments.
|
10289
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10290
|
+
Completed 200 OK in 101ms (Views: 0.8ms | ActiveRecord: 0.8ms)
|
10291
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10292
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10293
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10294
|
+
[paperclip] Scheduling attachments for deletion.
|
10295
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10296
|
+
[paperclip] Deleting attachments.
|
10297
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
10298
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
10299
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
10300
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10301
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10302
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10303
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-15lm7j4.png[0]'
|
10304
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25705-15lm7j4.png[0]' -resize "800>" '/tmp/rails20130106-25705-15lm7j420130106-25705-1dcjhij'
|
10305
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-15lm7j4.png[0]'
|
10306
|
+
[32mCommand[0m :: convert '/tmp/rails20130106-25705-15lm7j4.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-15lm7j420130106-25705-14cma1x'
|
10307
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
10308
|
+
[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-15lm7j4.png[0]'
|
10309
|
+
[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", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
|
10310
|
+
[paperclip] Saving attachments.
|
10311
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10312
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10313
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
10314
|
+
Parameters: {"id"=>"1"}
|
10315
|
+
[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"]]
|
10316
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10317
|
+
[paperclip] Scheduling attachments for deletion.
|
10318
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10319
|
+
[paperclip] Deleting attachments.
|
10320
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
|
10321
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
|
10322
|
+
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
|
10323
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10324
|
+
Redirected to http://test.host/ckeditor/pictures
|
10325
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
|
10326
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10327
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10328
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10329
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10330
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
10331
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
|
10332
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
10333
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
|
10334
|
+
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
|
10335
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10336
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10337
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10338
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10339
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
10340
|
+
Parameters: {"qqfile"=>nil}
|
10341
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10342
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
10343
|
+
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
10344
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10345
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10346
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10347
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10348
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10349
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00]]
|
10350
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10351
|
+
Processing by PostsController#new as HTML
|
10352
|
+
Rendered posts/_form.html.erb (8.0ms)
|
10353
|
+
Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.0ms)
|
10354
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10355
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
10356
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10357
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10358
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10359
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10360
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00]]
|
10361
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10362
|
+
Processing by PostsController#index as HTML
|
10363
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
10364
|
+
Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms)
|
10365
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10366
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
10367
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10368
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10369
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10370
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10371
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00]]
|
10372
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10373
|
+
Processing by PostsController#index as HTML
|
10374
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
10375
|
+
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)
|
10376
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10377
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
10378
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10379
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10380
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10381
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10382
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00]]
|
10383
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10384
|
+
Processing by PostsController#edit as HTML
|
10385
|
+
Parameters: {"id"=>"1"}
|
10386
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
10387
|
+
Rendered posts/_form.html.erb (5.2ms)
|
10388
|
+
Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.3ms)
|
10389
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10390
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
10391
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10392
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10393
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10394
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10395
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10396
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10397
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
10398
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
10399
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
10400
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
10401
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
10402
|
+
Migrating to CreatePosts (20110623120047)
|
10403
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10404
|
+
[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
|
10405
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
10406
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
10407
|
+
[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)
|
10408
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
10409
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
10410
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
10411
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
10412
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
10413
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10414
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10415
|
+
[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", Sat, 05 Jan 2013 22:18:24 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", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
|
10416
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10417
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10418
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10419
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10420
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10421
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10422
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10423
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10424
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x8c19e74 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25792-wu2hoh>>, "CKEditor"=>"ckeditor_field"}
|
10425
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10426
|
+
[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", Sat, 05 Jan 2013 22:18:24 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", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
|
10427
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10428
|
+
Rendered text template (0.0ms)
|
10429
|
+
Completed 200 OK in 134ms (Views: 63.9ms | ActiveRecord: 0.6ms)
|
10430
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10431
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10432
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10433
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10434
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10435
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10436
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10437
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10438
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10439
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x8f658a8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25792-9v2j1h>>}
|
10440
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10441
|
+
[1m[35mSQL (0.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", false], ["created_at", Sat, 05 Jan 2013 22:18:24 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", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
|
10442
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10443
|
+
Completed 200 OK in 54ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
10444
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10445
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10446
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10447
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10448
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10449
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10450
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10451
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10452
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10453
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
10454
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10455
|
+
[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", Sat, 05 Jan 2013 22:18:24 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", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
|
10456
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10457
|
+
Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.6ms)
|
10458
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10459
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10460
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10461
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10462
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10463
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10464
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10465
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10466
|
+
[1m[36mSQL (0.3ms)[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", Sat, 05 Jan 2013 22:18:24 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", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
|
10467
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10468
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10469
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
10470
|
+
Parameters: {"id"=>"1"}
|
10471
|
+
[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"]]
|
10472
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10473
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10474
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10475
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
10476
|
+
Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
|
10477
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10478
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10479
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10480
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10481
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
10482
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
|
10483
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
10484
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
|
10485
|
+
Completed 200 OK in 82ms (Views: 79.4ms | ActiveRecord: 0.3ms)
|
10486
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10487
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10488
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10489
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10490
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10491
|
+
Parameters: {"qqfile"=>nil}
|
10492
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10493
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
10494
|
+
Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
10495
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10496
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10497
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10498
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10499
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10500
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10501
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10502
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10503
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10504
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10505
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10506
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10507
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10508
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10509
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10510
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10511
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10512
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10513
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10514
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10515
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10516
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10517
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10518
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10519
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10520
|
+
[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", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", 50]]
|
10521
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10522
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10523
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10524
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10525
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10526
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10527
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10528
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
10529
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x8f58edc @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25792-1nksio0>>, "CKEditor"=>"ckeditor_field"}
|
10530
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
10531
|
+
[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", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["width", 50]]
|
10532
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10533
|
+
Completed 200 OK in 216ms (Views: 1.3ms | ActiveRecord: 0.8ms)
|
10534
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10535
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10536
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10537
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10538
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10539
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10540
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10541
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10542
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
10543
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x926e590 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25792-500cs>>}
|
10544
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10545
|
+
[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", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["width", 50]]
|
10546
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10547
|
+
Completed 200 OK in 162ms (Views: 0.7ms | ActiveRecord: 0.8ms)
|
10548
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10549
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10550
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10551
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10552
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10553
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10554
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10555
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10556
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
10557
|
+
Parameters: {"qqfile"=>"rails.png"}
|
10558
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
10559
|
+
[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", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["width", 50]]
|
10560
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10561
|
+
Completed 200 OK in 213ms (Views: 0.7ms | ActiveRecord: 0.8ms)
|
10562
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10563
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10564
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10565
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10566
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10567
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10568
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10569
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10570
|
+
[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", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["width", 50]]
|
10571
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10572
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10573
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
10574
|
+
Parameters: {"id"=>"1"}
|
10575
|
+
[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"]]
|
10576
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10577
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10578
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10579
|
+
Redirected to http://test.host/ckeditor/pictures
|
10580
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
10581
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10582
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10583
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10584
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10585
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
10586
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
|
10587
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
10588
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
|
10589
|
+
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
|
10590
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10591
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10592
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10593
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10594
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
10595
|
+
Parameters: {"qqfile"=>nil}
|
10596
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10597
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
10598
|
+
Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
10599
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10600
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10601
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10602
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10603
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10604
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00]]
|
10605
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10606
|
+
Processing by PostsController#new as HTML
|
10607
|
+
Rendered posts/_form.html.erb (7.8ms)
|
10608
|
+
Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
|
10609
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10610
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
10611
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10612
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10613
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10614
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10615
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00]]
|
10616
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10617
|
+
Processing by PostsController#index as HTML
|
10618
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
|
10619
|
+
Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.3ms)
|
10620
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10621
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
10622
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10623
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10624
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10625
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10626
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00]]
|
10627
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10628
|
+
Processing by PostsController#index as HTML
|
10629
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
10630
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms)
|
10631
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10632
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
10633
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10634
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10635
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10636
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10637
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00]]
|
10638
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10639
|
+
Processing by PostsController#edit as HTML
|
10640
|
+
Parameters: {"id"=>"1"}
|
10641
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
10642
|
+
Rendered posts/_form.html.erb (5.0ms)
|
10643
|
+
Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.3ms)
|
10644
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10645
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
10646
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10647
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10648
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10649
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10650
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10651
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10652
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
10653
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
10654
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
10655
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
10656
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
10657
|
+
Migrating to CreatePosts (20110623120047)
|
10658
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10659
|
+
[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
|
10660
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
10661
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
10662
|
+
[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)
|
10663
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
10664
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
10665
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
10666
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
10667
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
10668
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10669
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10670
|
+
[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", Sat, 05 Jan 2013 22:30:00 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", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
|
10671
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10672
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10673
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10674
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10675
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10676
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10677
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10678
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10679
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb07cd34 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26007-1fu2r6i>>, "CKEditor"=>"ckeditor_field"}
|
10680
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10681
|
+
[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", Sat, 05 Jan 2013 22:30:00 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", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
|
10682
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10683
|
+
Rendered text template (0.0ms)
|
10684
|
+
Completed 200 OK in 134ms (Views: 63.9ms | ActiveRecord: 0.6ms)
|
10685
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10686
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10687
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10688
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10689
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10690
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10691
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10692
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10693
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10694
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xaf4f204 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26007-160w2qv>>}
|
10695
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10696
|
+
[1m[35mSQL (0.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", false], ["created_at", Sat, 05 Jan 2013 22:30:00 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", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
|
10697
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10698
|
+
Completed 200 OK in 54ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
10699
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10700
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10701
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10702
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10703
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10704
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10705
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10706
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10707
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10708
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
10709
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10710
|
+
[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", Sat, 05 Jan 2013 22:30:00 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", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
|
10711
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10712
|
+
Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
10713
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10714
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10715
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10716
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10717
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10718
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10719
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10720
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10721
|
+
[1m[36mSQL (0.3ms)[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", Sat, 05 Jan 2013 22:30:00 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", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
|
10722
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10723
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10724
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
10725
|
+
Parameters: {"id"=>"1"}
|
10726
|
+
[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"]]
|
10727
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10728
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10729
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10730
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
10731
|
+
Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
|
10732
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10733
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10734
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10735
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10736
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
10737
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
|
10738
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
10739
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
|
10740
|
+
Completed 200 OK in 82ms (Views: 79.6ms | ActiveRecord: 0.3ms)
|
10741
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10742
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10743
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10744
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10745
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10746
|
+
Parameters: {"qqfile"=>nil}
|
10747
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10748
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
10749
|
+
Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
10750
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10751
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10752
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10753
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10754
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10755
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10756
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10757
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10758
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10759
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10760
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10761
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10762
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10763
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10764
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10765
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10766
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10767
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10768
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10769
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10770
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10771
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10772
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10773
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10774
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10775
|
+
[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", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["width", 50]]
|
10776
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10777
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10778
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10779
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10780
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10781
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10782
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10783
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
10784
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb67af4c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26007-49ib3c>>, "CKEditor"=>"ckeditor_field"}
|
10785
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
10786
|
+
[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", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["width", 50]]
|
10787
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10788
|
+
Completed 200 OK in 214ms (Views: 1.4ms | ActiveRecord: 0.8ms)
|
10789
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10790
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10791
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10792
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10793
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10794
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10795
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10796
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10797
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
10798
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa99b394 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26007-whaelg>>}
|
10799
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10800
|
+
[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", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["width", 50]]
|
10801
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10802
|
+
Completed 200 OK in 160ms (Views: 0.7ms | ActiveRecord: 0.7ms)
|
10803
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10804
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10805
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10806
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10807
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10808
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10809
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10810
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10811
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
10812
|
+
Parameters: {"qqfile"=>"rails.png"}
|
10813
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
10814
|
+
[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", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["width", 50]]
|
10815
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10816
|
+
Completed 200 OK in 210ms (Views: 0.7ms | ActiveRecord: 0.8ms)
|
10817
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10818
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10819
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10820
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10821
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10822
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10824
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10825
|
+
[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", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["width", 50]]
|
10826
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10827
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10828
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
10829
|
+
Parameters: {"id"=>"1"}
|
10830
|
+
[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"]]
|
10831
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10832
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10833
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10834
|
+
Redirected to http://test.host/ckeditor/pictures
|
10835
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
10836
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10837
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10838
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10839
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10840
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
10841
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
|
10842
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
10843
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
|
10844
|
+
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
|
10845
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10846
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10847
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10848
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10849
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
10850
|
+
Parameters: {"qqfile"=>nil}
|
10851
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10852
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
10853
|
+
Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
10854
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
10855
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
10856
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10857
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10858
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10859
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00]]
|
10860
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10861
|
+
Processing by PostsController#new as HTML
|
10862
|
+
Rendered posts/_form.html.erb (7.8ms)
|
10863
|
+
Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
|
10864
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10865
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
10866
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10867
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10868
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10869
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10870
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00]]
|
10871
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10872
|
+
Processing by PostsController#index as HTML
|
10873
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
10874
|
+
Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)
|
10875
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10876
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
10877
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10878
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10879
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10880
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10881
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00]]
|
10882
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10883
|
+
Processing by PostsController#index as HTML
|
10884
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
10885
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms)
|
10886
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10887
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
10888
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10889
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10890
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10891
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10892
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00]]
|
10893
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10894
|
+
Processing by PostsController#edit as HTML
|
10895
|
+
Parameters: {"id"=>"1"}
|
10896
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
10897
|
+
Rendered posts/_form.html.erb (5.0ms)
|
10898
|
+
Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.3ms)
|
10899
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10900
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
10901
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10902
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10903
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10904
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10905
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10906
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10907
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
10908
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
10909
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
10910
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
10911
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
10912
|
+
Migrating to CreatePosts (20110623120047)
|
10913
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10914
|
+
[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
|
10915
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
10916
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
10917
|
+
[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)
|
10918
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
10919
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
10920
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
10921
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
10922
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
10923
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10924
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10925
|
+
[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", Sat, 05 Jan 2013 22:35:56 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", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
|
10926
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10927
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10928
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10929
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10930
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10931
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10932
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10933
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10934
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa599854 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26200-1p6rtl2>>, "CKEditor"=>"ckeditor_field"}
|
10935
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10936
|
+
[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", Sat, 05 Jan 2013 22:35:56 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", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
|
10937
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10938
|
+
Rendered text template (0.0ms)
|
10939
|
+
Completed 200 OK in 134ms (Views: 63.6ms | ActiveRecord: 0.6ms)
|
10940
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10941
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10942
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10943
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10944
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10945
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10946
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10947
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10948
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10949
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9a1c01c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26200-1xy98vi>>}
|
10950
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10951
|
+
[1m[35mSQL (0.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", false], ["created_at", Sat, 05 Jan 2013 22:35:56 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", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
|
10952
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10953
|
+
Completed 200 OK in 54ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
10954
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10955
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10956
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10957
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
10958
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10959
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10960
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10961
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10962
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
10963
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
10964
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10965
|
+
[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", Sat, 05 Jan 2013 22:35:56 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", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
|
10966
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10967
|
+
Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
10968
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10969
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10970
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10971
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10972
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10973
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10974
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10975
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10976
|
+
[1m[36mSQL (0.3ms)[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", Sat, 05 Jan 2013 22:35:56 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", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
|
10977
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10978
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10979
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
10980
|
+
Parameters: {"id"=>"1"}
|
10981
|
+
[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"]]
|
10982
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10983
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
10984
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10985
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
10986
|
+
Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
|
10987
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
10988
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10989
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10990
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10991
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
10992
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
|
10993
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
10994
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
|
10995
|
+
Completed 200 OK in 82ms (Views: 79.5ms | ActiveRecord: 0.3ms)
|
10996
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
10997
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10998
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10999
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11000
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11001
|
+
Parameters: {"qqfile"=>nil}
|
11002
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11003
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
11004
|
+
Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
11005
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11006
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11007
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11008
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11009
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11010
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11011
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11012
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11013
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11014
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11015
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11016
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11017
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11018
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11019
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11020
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11021
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11022
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11023
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11024
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11025
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11026
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11027
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11028
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11029
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11030
|
+
[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", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
|
11031
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11032
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11033
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
11034
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11035
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11036
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11037
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11038
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11039
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa303374 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26200-1pb927p>>, "CKEditor"=>"ckeditor_field"}
|
11040
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
11041
|
+
[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", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
|
11042
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11043
|
+
Completed 200 OK in 218ms (Views: 1.3ms | ActiveRecord: 0.8ms)
|
11044
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11045
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11046
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11047
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11048
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11049
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11050
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11051
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11052
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11053
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa3aba9c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26200-1k7d22v>>}
|
11054
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11055
|
+
[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", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
|
11056
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11057
|
+
Completed 200 OK in 166ms (Views: 0.6ms | ActiveRecord: 0.7ms)
|
11058
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11059
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11060
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11061
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
11062
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11063
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11064
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11065
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11066
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11067
|
+
Parameters: {"qqfile"=>"rails.png"}
|
11068
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
11069
|
+
[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", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
|
11070
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11071
|
+
Completed 200 OK in 219ms (Views: 0.7ms | ActiveRecord: 0.8ms)
|
11072
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11073
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11074
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11075
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11076
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11077
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11078
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11079
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11080
|
+
[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", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
|
11081
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11082
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11083
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
11084
|
+
Parameters: {"id"=>"1"}
|
11085
|
+
[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"]]
|
11086
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11087
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11088
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11089
|
+
Redirected to http://test.host/ckeditor/pictures
|
11090
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
11091
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11092
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11093
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11094
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11095
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
11096
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
|
11097
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
11098
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
|
11099
|
+
Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
|
11100
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11101
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11102
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11103
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11104
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11105
|
+
Parameters: {"qqfile"=>nil}
|
11106
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11107
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
11108
|
+
Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
11109
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11110
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11111
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11112
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11113
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11114
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00]]
|
11115
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11116
|
+
Processing by PostsController#new as HTML
|
11117
|
+
Rendered posts/_form.html.erb (7.7ms)
|
11118
|
+
Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms)
|
11119
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11120
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
11121
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11122
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11123
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11124
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11125
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00]]
|
11126
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11127
|
+
Processing by PostsController#index as HTML
|
11128
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
11129
|
+
Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)
|
11130
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11131
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
11132
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11133
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11134
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11135
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11136
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00]]
|
11137
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11138
|
+
Processing by PostsController#index as HTML
|
11139
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
11140
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms)
|
11141
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11142
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
11143
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11144
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11145
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11146
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11147
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00]]
|
11148
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11149
|
+
Processing by PostsController#edit as HTML
|
11150
|
+
Parameters: {"id"=>"1"}
|
11151
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
11152
|
+
Rendered posts/_form.html.erb (4.9ms)
|
11153
|
+
Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.3ms)
|
11154
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11155
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
11156
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11157
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11158
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11159
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11160
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11161
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11162
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
11163
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
11164
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
11165
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11166
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
11167
|
+
Migrating to CreatePosts (20110623120047)
|
11168
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11169
|
+
[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
|
11170
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
11171
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
11172
|
+
[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)
|
11173
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
11174
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
11175
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
11176
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
11177
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
11178
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11179
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11180
|
+
[1m[35mSQL (2.3ms)[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", Sat, 05 Jan 2013 22:42:38 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", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
|
11181
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11182
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11183
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
11184
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11185
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11186
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11187
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11188
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11189
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9a60320 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26420-w0xd4k>>, "CKEditor"=>"ckeditor_field"}
|
11190
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11191
|
+
[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", Sat, 05 Jan 2013 22:42:38 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", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
|
11192
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11193
|
+
Rendered text template (0.0ms)
|
11194
|
+
Completed 200 OK in 135ms (Views: 63.8ms | ActiveRecord: 0.6ms)
|
11195
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11196
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11197
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11198
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11199
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11200
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11201
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11202
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11203
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11204
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9c791e8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26420-metqyc>>}
|
11205
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11206
|
+
[1m[35mSQL (0.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", false], ["created_at", Sat, 05 Jan 2013 22:42:38 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", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
|
11207
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11208
|
+
Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 0.6ms)
|
11209
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11210
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11211
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11212
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
11213
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11214
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11215
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11216
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11217
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11218
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
11219
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11220
|
+
[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", Sat, 05 Jan 2013 22:42:38 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", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
|
11221
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11222
|
+
Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
11223
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11224
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11225
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11226
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11227
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11228
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11230
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11231
|
+
[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", Sat, 05 Jan 2013 22:42:38 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", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
|
11232
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11233
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11234
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
11235
|
+
Parameters: {"id"=>"1"}
|
11236
|
+
[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"]]
|
11237
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11238
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11239
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11240
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
11241
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
|
11242
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11243
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11244
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11245
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11246
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
11247
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
|
11248
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
11249
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.4ms)
|
11250
|
+
Completed 200 OK in 82ms (Views: 79.4ms | ActiveRecord: 0.3ms)
|
11251
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11252
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11253
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11254
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11255
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11256
|
+
Parameters: {"qqfile"=>nil}
|
11257
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11258
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
11259
|
+
Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
11260
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11261
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11262
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11263
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11264
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11265
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11266
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11267
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11268
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11269
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11270
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11271
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11272
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11273
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11274
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11275
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11276
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11277
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11278
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11279
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11280
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11281
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11282
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11283
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11284
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11285
|
+
[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", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", 50]]
|
11286
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11287
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11288
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
11289
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11290
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11291
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11292
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11293
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11294
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9a5eca0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26420-1l1ty45>>, "CKEditor"=>"ckeditor_field"}
|
11295
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11296
|
+
[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", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", 50]]
|
11297
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11298
|
+
Completed 200 OK in 216ms (Views: 1.3ms | ActiveRecord: 0.7ms)
|
11299
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11300
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11301
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11302
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11303
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11304
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11305
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11306
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11307
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11308
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x90caea0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26420-okuxp2>>}
|
11309
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
11310
|
+
[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", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["width", 50]]
|
11311
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11312
|
+
Completed 200 OK in 168ms (Views: 0.6ms | ActiveRecord: 0.8ms)
|
11313
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11314
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11315
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11316
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
11317
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11318
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11319
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11320
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11321
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11322
|
+
Parameters: {"qqfile"=>"rails.png"}
|
11323
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11324
|
+
[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", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["width", 50]]
|
11325
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11326
|
+
Completed 200 OK in 162ms (Views: 0.5ms | ActiveRecord: 0.6ms)
|
11327
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11328
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11329
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11330
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11331
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11332
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11333
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11334
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
11335
|
+
[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", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["width", 50]]
|
11336
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11337
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11338
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
11339
|
+
Parameters: {"id"=>"1"}
|
11340
|
+
[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"]]
|
11341
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11342
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11343
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11344
|
+
Redirected to http://test.host/ckeditor/pictures
|
11345
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
11346
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11347
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11348
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11349
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11350
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
11351
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
|
11352
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
11353
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
|
11354
|
+
Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.3ms)
|
11355
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11356
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11357
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11358
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11359
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11360
|
+
Parameters: {"qqfile"=>nil}
|
11361
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11362
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
11363
|
+
Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
11364
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11365
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11366
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11367
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11368
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11369
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00]]
|
11370
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11371
|
+
Processing by PostsController#new as HTML
|
11372
|
+
Rendered posts/_form.html.erb (7.4ms)
|
11373
|
+
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms)
|
11374
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11375
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
11376
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11377
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11378
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11379
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11380
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00]]
|
11381
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11382
|
+
Processing by PostsController#index as HTML
|
11383
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
11384
|
+
Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)
|
11385
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11386
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
11387
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11388
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11389
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11390
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11391
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00]]
|
11392
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11393
|
+
Processing by PostsController#index as HTML
|
11394
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
11395
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
11396
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11397
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
11398
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11399
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11400
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11401
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11402
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00]]
|
11403
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11404
|
+
Processing by PostsController#edit as HTML
|
11405
|
+
Parameters: {"id"=>"1"}
|
11406
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
11407
|
+
Rendered posts/_form.html.erb (4.9ms)
|
11408
|
+
Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.3ms)
|
11409
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11410
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
11411
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11412
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11413
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11414
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11415
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11416
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11417
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
11418
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
11419
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
11420
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11421
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
11422
|
+
Migrating to CreatePosts (20110623120047)
|
11423
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11424
|
+
[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
|
11425
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
|
11426
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
11427
|
+
[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)
|
11428
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
11429
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
11430
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
|
11431
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
|
11432
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
11433
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11434
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11435
|
+
[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", Sat, 05 Jan 2013 22:56:54 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", Sat, 05 Jan 2013 22:56:54 UTC +00:00], ["width", nil]]
|
11436
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11437
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11438
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
11439
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11440
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11441
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11442
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11443
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11444
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9ad7484 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26931-b27p91>>, "CKEditor"=>"ckeditor_field"}
|
11445
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11446
|
+
[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", Sat, 05 Jan 2013 22:56:55 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", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", nil]]
|
11447
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11448
|
+
Rendered text template (0.0ms)
|
11449
|
+
Completed 200 OK in 134ms (Views: 63.0ms | ActiveRecord: 0.6ms)
|
11450
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11451
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11452
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11453
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11454
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11455
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11456
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11457
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11458
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11459
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa2be3f0 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26931-kgq8j>>}
|
11460
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11461
|
+
[1m[35mSQL (0.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", false], ["created_at", Sat, 05 Jan 2013 22:56:55 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", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", nil]]
|
11462
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11463
|
+
Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 0.6ms)
|
11464
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11465
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11466
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11467
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
11468
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11469
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11470
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11471
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11472
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11473
|
+
Parameters: {"qqfile"=>"rails.tar.gz"}
|
11474
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11475
|
+
[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", Sat, 05 Jan 2013 22:56:55 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", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", nil]]
|
11476
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11477
|
+
Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
11478
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11479
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11480
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11481
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11482
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11483
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11484
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11485
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11486
|
+
[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", Sat, 05 Jan 2013 22:56:55 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", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", nil]]
|
11487
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11488
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11489
|
+
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
|
11490
|
+
Parameters: {"id"=>"1"}
|
11491
|
+
[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"]]
|
11492
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11493
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11494
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11495
|
+
Redirected to http://test.host/ckeditor/attachment_files
|
11496
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
|
11497
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11498
|
+
[1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11499
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11500
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11501
|
+
Processing by Ckeditor::AttachmentFilesController#index as HTML
|
11502
|
+
[1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
|
11503
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
11504
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
|
11505
|
+
Completed 200 OK in 81ms (Views: 79.1ms | ActiveRecord: 0.3ms)
|
11506
|
+
[1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11507
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11508
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11509
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11510
|
+
Processing by Ckeditor::AttachmentFilesController#create as HTML
|
11511
|
+
Parameters: {"qqfile"=>nil}
|
11512
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11513
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
11514
|
+
Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
11515
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
|
11516
|
+
[1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
|
11517
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11518
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11519
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11520
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11521
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11522
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11523
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11524
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11525
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11526
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11527
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11528
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11529
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11530
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11531
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11532
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11533
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11535
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11536
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11537
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11538
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11539
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
11540
|
+
[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", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", 50]]
|
11541
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11542
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11543
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
11544
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11545
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11546
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11547
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11548
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11549
|
+
Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9ad3bb8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26931-a94cw0>>, "CKEditor"=>"ckeditor_field"}
|
11550
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11551
|
+
[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", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", 50]]
|
11552
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11553
|
+
Completed 200 OK in 212ms (Views: 1.3ms | ActiveRecord: 0.8ms)
|
11554
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11555
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11556
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11557
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11558
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11559
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11560
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11561
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11562
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11563
|
+
Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9d5ba0c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26931-14b2p9o>>}
|
11564
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11565
|
+
[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", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["width", 50]]
|
11566
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11567
|
+
Completed 200 OK in 160ms (Views: 0.7ms | ActiveRecord: 0.7ms)
|
11568
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11569
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11570
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11571
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
|
11572
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11573
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11574
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11575
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11576
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11577
|
+
Parameters: {"qqfile"=>"rails.png"}
|
11578
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11579
|
+
[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", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["width", 50]]
|
11580
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11581
|
+
Completed 200 OK in 156ms (Views: 0.5ms | ActiveRecord: 0.6ms)
|
11582
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11583
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11584
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11585
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11586
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11587
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11588
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11589
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
11590
|
+
[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", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["width", 50]]
|
11591
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11592
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11593
|
+
Processing by Ckeditor::PicturesController#destroy as HTML
|
11594
|
+
Parameters: {"id"=>"1"}
|
11595
|
+
[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"]]
|
11596
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11597
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
|
11598
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11599
|
+
Redirected to http://test.host/ckeditor/pictures
|
11600
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
11601
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11602
|
+
[1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11603
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
11604
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11605
|
+
Processing by Ckeditor::PicturesController#index as HTML
|
11606
|
+
[1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
|
11607
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
|
11608
|
+
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
|
11609
|
+
Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
|
11610
|
+
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11611
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11612
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11613
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11614
|
+
Processing by Ckeditor::PicturesController#create as HTML
|
11615
|
+
Parameters: {"qqfile"=>nil}
|
11616
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11617
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
11618
|
+
Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
11619
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
|
11620
|
+
[1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
|
11621
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11622
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11623
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11624
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00]]
|
11625
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11626
|
+
Processing by PostsController#new as HTML
|
11627
|
+
Rendered posts/_form.html.erb (7.8ms)
|
11628
|
+
Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms)
|
11629
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11630
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
11631
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11632
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11633
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11634
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11635
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00]]
|
11636
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11637
|
+
Processing by PostsController#index as HTML
|
11638
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
11639
|
+
Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)
|
11640
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11641
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
11642
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11643
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11644
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11645
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11646
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00]]
|
11647
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11648
|
+
Processing by PostsController#index as HTML
|
11649
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
11650
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms)
|
11651
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11652
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
|
11653
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11654
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11655
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11656
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11657
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00]]
|
11658
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11659
|
+
Processing by PostsController#edit as HTML
|
11660
|
+
Parameters: {"id"=>"1"}
|
11661
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
11662
|
+
Rendered posts/_form.html.erb (5.0ms)
|
11663
|
+
Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.3ms)
|
11664
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11665
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
|
11666
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11667
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11668
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11669
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11670
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11671
|
+
[1m[35m (0.1ms)[0m rollback transaction
|