ueditor_rails 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/README.markdown +2 -2
  2. data/app/assets/images/ueditor_rails/dialogs/scrawl/addimg.png +0 -0
  3. data/app/assets/images/ueditor_rails/dialogs/scrawl/brush.png +0 -0
  4. data/app/assets/images/ueditor_rails/dialogs/scrawl/delimg.png +0 -0
  5. data/app/assets/images/ueditor_rails/dialogs/scrawl/delimgH.png +0 -0
  6. data/app/assets/images/ueditor_rails/dialogs/scrawl/empty.png +0 -0
  7. data/app/assets/images/ueditor_rails/dialogs/scrawl/emptyH.png +0 -0
  8. data/app/assets/images/ueditor_rails/dialogs/scrawl/eraser.png +0 -0
  9. data/app/assets/images/ueditor_rails/dialogs/scrawl/redo.png +0 -0
  10. data/app/assets/images/ueditor_rails/dialogs/scrawl/redoH.png +0 -0
  11. data/app/assets/images/ueditor_rails/dialogs/scrawl/scale.png +0 -0
  12. data/app/assets/images/ueditor_rails/dialogs/scrawl/scaleH.png +0 -0
  13. data/app/assets/images/ueditor_rails/dialogs/scrawl/size.png +0 -0
  14. data/app/assets/images/ueditor_rails/dialogs/scrawl/undo.png +0 -0
  15. data/app/assets/images/ueditor_rails/dialogs/scrawl/undoH.png +0 -0
  16. data/app/assets/javascripts/ueditor_rails/_config.js.erb +28 -24
  17. data/app/assets/javascripts/ueditor_rails/dialogs/scrawl.js +655 -0
  18. data/app/assets/javascripts/ueditor_rails/dialogs/wordimage.js +154 -0
  19. data/app/assets/stylesheets/ueditor_rails/dialogs/scrawl.css.erb +72 -0
  20. data/app/controllers/ueditor_rails/dialogs_controller.rb +8 -0
  21. data/app/controllers/ueditor_rails/libs_controller.rb +14 -1
  22. data/app/helpers/ueditor_rails/application_helper.rb +23 -0
  23. data/app/views/ueditor_rails/dialogs/attachment.html.erb +3 -3
  24. data/app/views/ueditor_rails/dialogs/image.html.erb +2 -2
  25. data/app/views/ueditor_rails/dialogs/scrawl.html.erb +96 -0
  26. data/app/views/ueditor_rails/dialogs/wordimage.html.erb +155 -0
  27. data/config/routes.rb +2 -2
  28. data/lib/generators/ueditor_rails/templates/ueditor_config.js.erb +33 -21
  29. data/lib/ueditor_rails.rb +7 -0
  30. data/lib/ueditor_rails/util.rb +1 -1
  31. data/lib/ueditor_rails/version.rb +1 -1
  32. data/test/dummy/config/application.rb +2 -0
  33. data/test/dummy/log/development.log +594 -0
  34. data/test/dummy/tmp/cache/assets/C81/610/sprockets%2F74551592340adfb31d564a6f0780986a +0 -0
  35. data/test/dummy/tmp/cache/assets/C81/680/sprockets%2F05f48503b0539542bae58cd42890287d +0 -0
  36. data/test/dummy/tmp/cache/assets/C92/A50/sprockets%2Fb8ab434fa9743f8545988223229ef813 +0 -0
  37. data/test/dummy/tmp/cache/assets/CA9/8D0/sprockets%2F430c458f24b93f37143e610b7af710d8 +0 -0
  38. data/test/dummy/tmp/cache/assets/CDD/110/sprockets%2F201786630fb75920fef0b95a7ba8e404 +0 -0
  39. data/test/dummy/tmp/cache/assets/CF8/FC0/sprockets%2Fe181c7f625e3797eaa44e044c77e9688 +0 -0
  40. data/test/dummy/tmp/cache/assets/CFC/560/sprockets%2Fbc63d027b162a565426fdbb4611619ab +0 -0
  41. data/test/dummy/tmp/cache/assets/D05/3A0/sprockets%2F8362a0d2c101ef1148d5efcb53e34893 +0 -0
  42. data/test/dummy/tmp/cache/assets/D05/570/sprockets%2Fca8368b2f01a1645dfe894d41152f2c0 +0 -0
  43. data/test/dummy/tmp/cache/assets/D16/E70/sprockets%2Ffcc7289ae3530fcff4500f35990533f4 +0 -0
  44. data/test/dummy/tmp/cache/assets/D2D/F70/sprockets%2F1db6dd5b1f0887b130386d6bc20d13e2 +0 -0
  45. data/test/dummy/tmp/cache/assets/D31/7D0/sprockets%2Fe9f71394f8e86a70e9431c3d83fb86f9 +0 -0
  46. data/test/dummy/tmp/cache/assets/D39/B00/sprockets%2F84ac6151984303fcaec0d48651b6d7ca +0 -0
  47. data/test/dummy/tmp/cache/assets/D40/280/sprockets%2Fc564b6fa3f835a246df0355a83058fcd +0 -0
  48. data/test/dummy/tmp/cache/assets/D41/C00/sprockets%2F0f88cb64779d212943bbab3f5ac483d4 +0 -0
  49. data/test/dummy/tmp/cache/assets/D4A/CF0/sprockets%2F78a5eda44e97ab212ce37b889470c4d7 +0 -0
  50. data/test/dummy/tmp/cache/assets/D4D/060/sprockets%2Fdf8071fd9e383d72ba1f17b5d5e98516 +0 -0
  51. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  52. data/test/dummy/tmp/cache/assets/D55/1F0/sprockets%2F978d1a29569eb1c8ca9883b64ffb91b3 +0 -0
  53. data/test/dummy/tmp/cache/assets/D70/B70/sprockets%2F6ebaed371aa715b95667e416378cba4d +0 -0
  54. data/test/dummy/tmp/cache/assets/D75/2B0/sprockets%2F7a4cbc3862aa0d6f1ec9e7518fa55838 +0 -0
  55. data/test/dummy/tmp/cache/assets/DCD/870/sprockets%2Fd5daf18cb49181ab0ba896acfd8c8334 +0 -0
  56. data/test/dummy/tmp/cache/assets/DD7/600/sprockets%2F0cec2cc545e1d3bd889d195f68dea4b7 +0 -0
  57. data/test/dummy/tmp/cache/assets/DDB/C20/sprockets%2F46613f4acf7d7cc09f5190f2d8bbdf9f +0 -0
  58. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  59. data/test/dummy/tmp/cache/assets/DFE/FF0/sprockets%2F9d2bcad3ae0c53ee9a4685b5aac1887f +0 -0
  60. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  61. data/test/dummy/tmp/cache/assets/E34/9F0/sprockets%2F2dbdbaffe3f466f85cee37cee4331f34 +0 -0
  62. data/test/dummy/tmp/cache/assets/E3A/DA0/sprockets%2Ffd736ded1575dfbcf2d45ad5eb4e28d9 +0 -0
  63. data/vendor/assets/javascripts/ueditor/dialogs/anchor/anchor.html.erb +57 -0
  64. data/vendor/assets/javascripts/ueditor/dialogs/background/background.css +24 -0
  65. data/vendor/assets/javascripts/ueditor/dialogs/background/background.html.erb +55 -0
  66. data/vendor/assets/javascripts/ueditor/dialogs/background/background.js +348 -0
  67. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.css.erb +0 -1
  68. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.html.erb +41 -41
  69. data/vendor/assets/javascripts/ueditor/dialogs/gmap/gmap.html.erb +89 -0
  70. data/vendor/assets/javascripts/ueditor/dialogs/help/help.html.erb +72 -70
  71. data/vendor/assets/javascripts/ueditor/dialogs/highlightcode/highlightcode.html.erb +131 -0
  72. data/vendor/assets/javascripts/ueditor/dialogs/insertframe/insertframe.html.erb +98 -0
  73. data/vendor/assets/javascripts/ueditor/dialogs/link/link.html.erb +122 -107
  74. data/vendor/assets/javascripts/ueditor/dialogs/map/map.html.erb +105 -0
  75. data/vendor/assets/javascripts/ueditor/dialogs/music/music.css +30 -0
  76. data/vendor/assets/javascripts/ueditor/dialogs/music/music.html.erb +32 -0
  77. data/vendor/assets/javascripts/ueditor/dialogs/music/music.js +192 -0
  78. data/vendor/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.html.erb +74 -0
  79. data/vendor/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.js +160 -0
  80. data/vendor/assets/javascripts/ueditor/dialogs/snapscreen/snapscreen.html.erb +91 -0
  81. data/vendor/assets/javascripts/ueditor/dialogs/spechars/spechars.html.erb +2 -2
  82. data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.html.erb +46 -45
  83. data/vendor/assets/javascripts/ueditor/dialogs/table/edittd.html.erb +40 -39
  84. data/vendor/assets/javascripts/ueditor/dialogs/table/edittip.html.erb +21 -21
  85. data/vendor/assets/javascripts/ueditor/dialogs/template/config.js +42 -0
  86. data/vendor/assets/javascripts/ueditor/dialogs/template/images/bg.gif +0 -0
  87. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre0.png +0 -0
  88. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre1.png +0 -0
  89. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre2.png +0 -0
  90. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre3.png +0 -0
  91. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre4.png +0 -0
  92. data/vendor/assets/javascripts/ueditor/dialogs/template/template.css +18 -0
  93. data/vendor/assets/javascripts/ueditor/dialogs/template/template.html.erb +26 -0
  94. data/vendor/assets/javascripts/ueditor/dialogs/template/template.js +53 -0
  95. data/vendor/assets/javascripts/ueditor/dialogs/video/video.html.erb +64 -53
  96. data/vendor/assets/javascripts/ueditor/dialogs/video/video.js.erb +409 -0
  97. data/vendor/assets/javascripts/ueditor/dialogs/webapp/webapp.html.erb +64 -0
  98. data/vendor/assets/javascripts/ueditor/editor_all.js.erb +17209 -15783
  99. data/vendor/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCore.js +3655 -0
  100. data/vendor/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css +316 -0
  101. data/vendor/assets/javascripts/ueditor/third-party/fClipboard_ueditor.swf +0 -0
  102. data/vendor/assets/javascripts/ueditor/third-party/snapscreen/UEditorSnapscreen.exe +0 -0
  103. data/vendor/assets/javascripts/ueditor/uparse.js +3 -13
  104. metadata +77 -3
  105. data/vendor/assets/javascripts/ueditor/dialogs/video/video.js +0 -402
@@ -1,10 +1,10 @@
1
1
  UeditorRails::Engine.routes.draw do
2
2
 
3
- %w(swf_image_uploader swf_upload swf_upload_fp9).each do |lib|
3
+ %w(swf_image_uploader swf_upload swf_upload_fp9 fclipboard_ueditor).each do |lib|
4
4
  get "libs/#{lib}"
5
5
  end
6
6
 
7
- %w(attachment image).each do |dialog|
7
+ %w(attachment image wordimage scrawl).each do |dialog|
8
8
  get "dialogs/#{dialog}"
9
9
  end
10
10
 
@@ -2,56 +2,68 @@
2
2
  //= require ueditor_rails/init
3
3
 
4
4
  window.MY_UEDITOR_CONFIG = {
5
- imageUrl: "" //图片上传提交地址
6
- ,imagePath: "" //图片修正地址,引用了fixedImagePath,如有特殊需求,可自行配置
5
+ imageUrl: "" //图片上传提交地址
6
+ , imagePath: "" //图片修正地址,引用了fixedImagePath,如有特殊需求,可自行配置
7
7
  //,imageFieldName:"upfile" //图片数据的key,若此处修改,需要在后台对应文件修改对应参数
8
8
  //,compressSide:0 //等比压缩的基准,确定maxImageSideLength参数的参照对象。0为按照最长边,1为按照宽度,2为按照高度
9
9
  //,maxImageSideLength:900 //上传图片最大允许的边长,超过会自动等比缩放,不缩放就设置一个比较大的值,更多设置在image.html中
10
10
 
11
11
  //涂鸦图片配置区
12
- ,scrawlUrl: "" //涂鸦上传地址
13
- ,scrawlPath: "" //图片修正地址,同imagePath
12
+ , scrawlUrl: "" //涂鸦上传地址
13
+ , scrawlPath: "" //图片修正地址,同imagePath
14
14
 
15
15
  //附件上传配置区
16
- ,fileUrl: "" //附件上传提交地址
17
- ,filePath: "" //附件修正地址,同imagePath
16
+ , fileUrl: "" //附件上传提交地址
17
+ , filePath: "" //附件修正地址,同imagePath
18
18
  //,fileFieldName:"upfile" //附件提交的表单名,若此处修改,需要在后台对应文件修改对应参数
19
19
  //远程抓取配置区
20
20
  //,catchRemoteImageEnable:true //是否开启远程图片抓取,默认开启
21
- ,catcherUrl: "" //处理远程图片抓取的地址
22
- ,catcherPath: "" //图片修正地址,同imagePath
21
+ , catcherUrl: "" //处理远程图片抓取的地址
22
+ , catcherPath: "" //图片修正地址,同imagePath
23
23
  //,catchFieldName:"upfile" //提交到后台远程图片uri合集,若此处修改,需要在后台对应文件修改对应参数
24
24
  //,separater:'ue_separate_ue' //提交至后台的远程图片地址字符串分隔符
25
25
  //,localDomain:[] //本地顶级域名,当开启远程图片抓取时,除此之外的所有其它域名下的图片都将被抓取到本地,默认不抓取127.0.0.1和localhost
26
26
 
27
27
  //图片在线管理配置区
28
- ,imageManagerUrl: "" //图片在线管理的处理地址
29
- ,imageManagerPath: "" //图片修正地址,同imagePath
28
+ , imageManagerUrl: "" //图片在线管理的处理地址
29
+ , imageManagerPath: "" //图片修正地址,同imagePath
30
30
 
31
31
  //屏幕截图配置区
32
- ,snapscreenHost: "" //屏幕截图的server端文件所在的网站地址或者ip,请不要加http://
33
- ,snapscreenServerUrl: "" //屏幕截图的server端保存程序,UEditor的范例代码为“URL +"server/upload/php/snapImgUp.php"”
34
- ,snapscreenPath: ""
32
+ , snapscreenHost: "" //屏幕截图的server端文件所在的网站地址或者ip,请不要加http://
33
+ , snapscreenServerUrl: "" //屏幕截图的server端保存程序,UEditor的范例代码为“URL +"server/upload/php/snapImgUp.php"”
34
+ , snapscreenPath: ""
35
35
  //,snapscreenServerPort: 80 //屏幕截图的server端端口
36
36
  //,snapscreenImgAlign: 'center' //截图的图片默认的排版方式
37
37
 
38
38
  //word转存配置区
39
- ,wordImageUrl: "" //word转存提交地址
40
- ,wordImagePath: "" //
39
+ , wordImageUrl: "" //word转存提交地址
40
+ , wordImagePath: "" //
41
41
  //,wordImageFieldName:"upfile" //word转存表单名若此处修改,需要在后台对应文件修改对应参数
42
42
 
43
43
  //获取视频数据的地址
44
- ,getMovieUrl: "" //视频数据获取地址
44
+ , getMovieUrl: "" //视频数据获取地址
45
45
 
46
46
  //工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的从新定义
47
- ,toolbars:[["bold","italic","underline","strikethrough","forecolor","backcolor","justifyleft","justifycenter","justifyright","justifyjustify","indent","removeformat","formatmatch","autotypeset","pasteplain","customstyle","insertunorderedlist","insertorderedlist","source","fullscreen","preview","help"],["insertimage","emotion","insertvideo","attachment","blockquote","spechars","link","unlink"],["inserttable","deletetable","mergedown","mergeright","splittorows","splittocols","splittocells","mergecells"],[]]
47
+ , toolbars: [
48
+ ['fullscreen', 'source', '|', 'undo', 'redo', '|',
49
+ 'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',
50
+ 'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
51
+ 'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
52
+ 'directionalityltr', 'directionalityrtl', 'indent', '|',
53
+ 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
54
+ 'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
55
+ 'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe', 'highlightcode', 'webapp', 'pagebreak', 'template', 'background', '|',
56
+ 'horizontal', 'date', 'time', 'spechars', 'snapscreen', 'wordimage', '|',
57
+ 'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', '|',
58
+ 'print', 'preview', 'searchreplace', 'help']
59
+ ]
48
60
  //当鼠标放在工具栏上时显示的tooltip提示,留空支持自动多语言配置,否则以配置值为准
49
- ,labelMap:{
50
- 'anchor':'', 'undo':''
61
+ , labelMap: {
62
+ 'anchor': '', 'undo': ''
51
63
  }
52
64
  //webAppKey
53
65
  //百度应用的APIkey,每个站长必须首先去百度官网注册一个key后方能正常使用app功能
54
- ,webAppKey:""
66
+ , webAppKey: ""
55
67
 
56
68
 
57
69
  //语言配置项,默认是zh-cn。有需要的话也可以使用如下这样的方式来自动多语言切换,当然,前提条件是lang文件夹下存在对应的语言文件:
@@ -74,7 +86,7 @@ window.MY_UEDITOR_CONFIG = {
74
86
  //常用配置项目
75
87
  //,isShow : true //默认显示编辑器
76
88
 
77
- ,initialContent:'' //初始化编辑器的内容,也可以通过textarea/script给值,看官网例子
89
+ , initialContent: '' //初始化编辑器的内容,也可以通过textarea/script给值,看官网例子
78
90
 
79
91
  //,initialFrameWidth:1000 //初始化编辑器宽度,默认1000
80
92
  //,initialFrameHeight:320 //初始化编辑器高度,默认320
@@ -9,7 +9,14 @@ module UeditorRails
9
9
  autoload :FormBuilder, 'ueditor_rails/helpers/form_builder'
10
10
  end
11
11
 
12
+ mattr_accessor :enable_cross_domain
13
+
12
14
  class<< self
15
+
16
+ def enable_cross_domain
17
+ @@enable_cross_domain ||= false
18
+ end
19
+
13
20
  def root_path
14
21
  @root_path ||= Pathname.new(File.dirname(File.expand_path('../', __FILE__)))
15
22
  end
@@ -4,7 +4,7 @@ require 'active_support/json/encoding'
4
4
  module UeditorRails
5
5
  module Util
6
6
  class << self
7
- ASSET_FORMAT = '*.{coffee,scss,sass,png,jpeg,jpg,gif,js,css,erb,swf}'
7
+ ASSET_FORMAT = '*.{coffee,scss,sass,png,jpeg,jpg,gif,js,css,erb,swf,exe}'
8
8
  NEED_TO_COMPILE_STYLESHEET_EXT = %w(.scss .sass .coffee .erb)
9
9
 
10
10
  def js_replace(dom_id, options = nil)
@@ -1,3 +1,3 @@
1
1
  module UeditorRails
2
- VERSION = "0.0.2"
2
+ VERSION = '0.0.4'
3
3
  end
@@ -5,6 +5,8 @@ require 'rails/all'
5
5
  Bundler.require(*Rails.groups)
6
6
  require "ueditor_rails"
7
7
 
8
+ UeditorRails.enable_cross_domain = true
9
+
8
10
  module Dummy
9
11
  class Application < Rails::Application
10
12
  # Settings in config/environments/* take precedence over those specified here.
@@ -14313,3 +14313,597 @@ Served asset /ueditor/themes/default/unhighlighted.gif - 200 OK (6ms)
14313
14313
  Started GET "/assets/ueditor/themes/default/highlighted.gif" for 127.0.0.1 at 2013-04-01 18:03:46 +0800
14314
14314
  Served asset /ueditor/themes/default/highlighted.gif - 200 OK (3ms)
14315
14315
  Connecting to database specified by database.yml
14316
+ Connecting to database specified by database.yml
14317
+ Connecting to database specified by database.yml
14318
+ Connecting to database specified by database.yml
14319
+ Connecting to database specified by database.yml
14320
+ Connecting to database specified by database.yml
14321
+
14322
+
14323
+ Started GET "/" for 127.0.0.1 at 2013-04-12 23:05:32 +0800
14324
+ Processing by PostsController#index as HTML
14325
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" 
14326
+ Rendered posts/index.html.erb within layouts/application (3.9ms)
14327
+ Compiled ueditor/editor_all.js (352ms) (pid 14979)
14328
+ Compiled ueditor_rails/_config.js (4ms) (pid 14979)
14329
+ Compiled ueditor_rails/init.js (11ms) (pid 14979)
14330
+ Compiled application.js (2ms) (pid 14979)
14331
+ Completed 200 OK in 508ms (Views: 477.7ms | ActiveRecord: 1.7ms)
14332
+
14333
+
14334
+ Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14335
+ Served asset /posts.css - 200 OK (2ms)
14336
+
14337
+
14338
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14339
+ Served asset /scaffold.css - 200 OK (1ms)
14340
+
14341
+
14342
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14343
+ Served asset /application.css - 200 OK (2ms)
14344
+
14345
+
14346
+ Started GET "/assets/ueditor_rails/_config.js?body=1" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14347
+ Served asset /ueditor_rails/_config.js - 200 OK (1ms)
14348
+
14349
+
14350
+ Started GET "/assets/ueditor_config.js?body=1" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14351
+ Served asset /ueditor_config.js - 200 OK (2ms)
14352
+
14353
+
14354
+ Started GET "/assets/ueditor/editor_all.js?body=1" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14355
+ Served asset /ueditor/editor_all.js - 200 OK (3ms)
14356
+
14357
+
14358
+ Started GET "/assets/ueditor_rails/init.js?body=1" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14359
+ Served asset /ueditor_rails/init.js - 200 OK (26ms)
14360
+
14361
+
14362
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14363
+ Served asset /jquery.js - 200 OK (2ms)
14364
+
14365
+
14366
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14367
+ Served asset /jquery_ujs.js - 200 OK (1ms)
14368
+
14369
+
14370
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14371
+ Served asset /application.js - 200 OK (6ms)
14372
+
14373
+
14374
+ Started GET "/assets/ueditor/themes/default/css/ueditor.css" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14375
+ Served asset /ueditor/themes/default/css/ueditor.css - 404 Not Found (2ms)
14376
+
14377
+ ActionController::RoutingError (No route matches [GET] "/assets/ueditor/themes/default/css/ueditor.css"):
14378
+ actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
14379
+ actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
14380
+ railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
14381
+ railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
14382
+ activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
14383
+ railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
14384
+ actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
14385
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
14386
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
14387
+ activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
14388
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
14389
+ actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
14390
+ railties (3.2.13) lib/rails/engine.rb:479:in `call'
14391
+ railties (3.2.13) lib/rails/application.rb:223:in `call'
14392
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
14393
+ railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
14394
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
14395
+ /Users/jasl/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
14396
+ /Users/jasl/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
14397
+ /Users/jasl/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
14398
+
14399
+
14400
+ Rendered /Users/jasl/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
14401
+
14402
+
14403
+ Started GET "/assets/ueditor/lang/zh-cn/zh-cn.js" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14404
+ Served asset /ueditor/lang/zh-cn/zh-cn.js - 200 OK (7ms)
14405
+
14406
+
14407
+ Started GET "/assets/ueditor/themes/iframe.css" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14408
+ Served asset /ueditor/themes/iframe.css - 200 OK (3ms)
14409
+
14410
+
14411
+ Started GET "/assets/ueditor/third-party/codemirror/codemirror.css" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14412
+ Served asset /ueditor/third-party/codemirror/codemirror.css - 200 OK (3ms)
14413
+
14414
+
14415
+ Started GET "/assets/ueditor/third-party/codemirror/codemirror.js" for 127.0.0.1 at 2013-04-12 23:05:33 +0800
14416
+ Served asset /ueditor/third-party/codemirror/codemirror.js - 200 OK (6ms)
14417
+ Connecting to database specified by database.yml
14418
+
14419
+
14420
+ Started GET "/" for 127.0.0.1 at 2013-04-12 23:08:29 +0800
14421
+ Processing by PostsController#index as HTML
14422
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" 
14423
+ Rendered posts/index.html.erb within layouts/application (3.8ms)
14424
+ Compiled ueditor/editor_all.js (352ms) (pid 15079)
14425
+ Compiled ueditor_rails/init.js (3ms) (pid 15079)
14426
+ Compiled application.js (3ms) (pid 15079)
14427
+ Completed 200 OK in 488ms (Views: 458.5ms | ActiveRecord: 1.3ms)
14428
+
14429
+
14430
+ Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14431
+ Served asset /posts.css - 304 Not Modified (3ms)
14432
+
14433
+
14434
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14435
+ Served asset /application.css - 304 Not Modified (5ms)
14436
+
14437
+
14438
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14439
+ Served asset /scaffold.css - 304 Not Modified (1ms)
14440
+
14441
+
14442
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14443
+ Served asset /jquery.js - 304 Not Modified (5ms)
14444
+
14445
+
14446
+ Started GET "/assets/ueditor_config.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14447
+ Served asset /ueditor_config.js - 304 Not Modified (1ms)
14448
+
14449
+
14450
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14451
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
14452
+
14453
+
14454
+ Started GET "/assets/ueditor_rails/_config.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14455
+ Served asset /ueditor_rails/_config.js - 304 Not Modified (2ms)
14456
+
14457
+
14458
+ Started GET "/assets/ueditor/editor_all.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14459
+ Served asset /ueditor/editor_all.js - 200 OK (2ms)
14460
+
14461
+
14462
+ Started GET "/assets/ueditor_rails/init.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14463
+ Served asset /ueditor_rails/init.js - 304 Not Modified (27ms)
14464
+
14465
+
14466
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14467
+ Served asset /application.js - 304 Not Modified (10ms)
14468
+
14469
+
14470
+ Started GET "/assets/ueditor/themes/default/ueditor.css" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14471
+ Served asset /ueditor/themes/default/ueditor.css - 200 OK (5ms)
14472
+
14473
+
14474
+ Started GET "/assets/ueditor/lang/zh-cn/zh-cn.js" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14475
+ Served asset /ueditor/lang/zh-cn/zh-cn.js - 304 Not Modified (2ms)
14476
+
14477
+
14478
+ Started GET "/assets/ueditor/themes/default/toolbar_bg.png" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14479
+ Served asset /ueditor/themes/default/toolbar_bg.png - 200 OK (1ms)
14480
+
14481
+
14482
+ Started GET "/assets/ueditor/themes/default/icons.png" for 127.0.0.1 at 2013-04-12 23:08:30 +0800
14483
+ Served asset /ueditor/themes/default/icons.png - 200 OK (3ms)
14484
+
14485
+
14486
+ Started GET "/" for 127.0.0.1 at 2013-04-12 23:08:35 +0800
14487
+ Processing by PostsController#index as HTML
14488
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
14489
+ Rendered posts/index.html.erb within layouts/application (1.7ms)
14490
+ Completed 200 OK in 35ms (Views: 33.8ms | ActiveRecord: 0.1ms)
14491
+
14492
+
14493
+ Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2013-04-12 23:08:36 +0800
14494
+ Served asset /posts.css - 304 Not Modified (0ms)
14495
+
14496
+
14497
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-12 23:08:36 +0800
14498
+ Served asset /application.css - 304 Not Modified (0ms)
14499
+
14500
+
14501
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-12 23:08:36 +0800
14502
+ Served asset /scaffold.css - 304 Not Modified (0ms)
14503
+
14504
+
14505
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:36 +0800
14506
+ Served asset /jquery.js - 304 Not Modified (3ms)
14507
+
14508
+
14509
+ Started GET "/assets/ueditor_config.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:36 +0800
14510
+ Served asset /ueditor_config.js - 304 Not Modified (0ms)
14511
+
14512
+
14513
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:36 +0800
14514
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
14515
+
14516
+
14517
+ Started GET "/assets/ueditor_rails/_config.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:36 +0800
14518
+ Served asset /ueditor_rails/_config.js - 304 Not Modified (0ms)
14519
+
14520
+
14521
+ Started GET "/assets/ueditor/editor_all.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:36 +0800
14522
+ Served asset /ueditor/editor_all.js - 304 Not Modified (0ms)
14523
+
14524
+
14525
+ Started GET "/assets/ueditor_rails/init.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:36 +0800
14526
+ Served asset /ueditor_rails/init.js - 304 Not Modified (0ms)
14527
+
14528
+
14529
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:36 +0800
14530
+ Served asset /application.js - 304 Not Modified (0ms)
14531
+
14532
+
14533
+ Started GET "/assets/ueditor/themes/default/ueditor.css" for 127.0.0.1 at 2013-04-12 23:08:36 +0800
14534
+ Served asset /ueditor/themes/default/ueditor.css - 304 Not Modified (0ms)
14535
+
14536
+
14537
+ Started GET "/assets/ueditor/lang/zh-cn/zh-cn.js" for 127.0.0.1 at 2013-04-12 23:08:36 +0800
14538
+ Served asset /ueditor/lang/zh-cn/zh-cn.js - 304 Not Modified (0ms)
14539
+
14540
+
14541
+ Started GET "/ueditor/dialogs/image" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14542
+ Processing by UeditorRails::DialogsController#image as HTML
14543
+ Compiled ueditor_rails/dialogs/image.css (2ms) (pid 15079)
14544
+ Compiled ueditor_rails/dialogs/image.js (52ms) (pid 15079)
14545
+ Rendered /Users/jasl/workspace/ruby/ueditor_rails/app/views/ueditor_rails/dialogs/image.html.erb (91.3ms)
14546
+ Completed 200 OK in 93ms (Views: 92.7ms | ActiveRecord: 0.0ms)
14547
+
14548
+
14549
+ Started GET "/assets/ueditor/themes/default/dialog-title-bg.png" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14550
+ Served asset /ueditor/themes/default/dialog-title-bg.png - 200 OK (2ms)
14551
+
14552
+
14553
+ Started GET "/assets/ueditor/themes/default/icons-all.gif" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14554
+ Served asset /ueditor/themes/default/icons-all.gif - 200 OK (1ms)
14555
+
14556
+
14557
+ Started GET "/assets/ueditor/dialogs/internal.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14558
+ Served asset /ueditor/dialogs/internal.js - 200 OK (2ms)
14559
+
14560
+
14561
+ Started GET "/assets/ueditor/dialogs/tangram.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14562
+ Served asset /ueditor/dialogs/tangram.js - 200 OK (2ms)
14563
+
14564
+
14565
+ Started GET "/assets/ueditor_rails/dialogs/image.css?body=1" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14566
+ Served asset /ueditor_rails/dialogs/image.css - 200 OK (1ms)
14567
+
14568
+
14569
+ Started GET "/assets/ueditor_rails/dialogs/image.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14570
+ Served asset /ueditor_rails/dialogs/image.js - 200 OK (4ms)
14571
+
14572
+
14573
+ Started GET "/assets/ueditor/themes/default/dialogbase.css?cache=0.33623087615706027" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14574
+ Served asset /ueditor/themes/default/dialogbase.css - 200 OK (5ms)
14575
+
14576
+
14577
+ Started GET "/assets/ueditor_rails/dialogs/image/none_focus.jpg" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14578
+ Served asset /ueditor_rails/dialogs/image/none_focus.jpg - 200 OK (2ms)
14579
+
14580
+
14581
+ Started GET "/assets/ueditor/themes/default/lock.gif" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14582
+ Served asset /ueditor/themes/default/lock.gif - 200 OK (4ms)
14583
+
14584
+
14585
+ Started GET "/assets/ueditor_rails/dialogs/image/left_focus.jpg" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14586
+ Served asset /ueditor_rails/dialogs/image/left_focus.jpg - 200 OK (2ms)
14587
+
14588
+
14589
+ Started GET "/assets/ueditor_rails/dialogs/image/center_focus.jpg" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14590
+ Served asset /ueditor_rails/dialogs/image/center_focus.jpg - 200 OK (1ms)
14591
+
14592
+
14593
+ Started GET "/assets/ueditor_rails/dialogs/image/right_focus.jpg" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14594
+ Served asset /ueditor_rails/dialogs/image/right_focus.jpg - 200 OK (2ms)
14595
+
14596
+
14597
+ Started GET "/assets/ueditor/third-party/imageUploader.swf" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14598
+ Served asset /ueditor/third-party/imageUploader.swf - 200 OK (3ms)
14599
+
14600
+
14601
+ Started GET "/assets/ueditor/lang/zh-cn/images/upload.png" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14602
+ Served asset /ueditor/lang/zh-cn/images/upload.png - 200 OK (2ms)
14603
+
14604
+
14605
+ Started GET "/assets/ueditor/lang/zh-cn/images/imglabel.png" for 127.0.0.1 at 2013-04-12 23:08:37 +0800
14606
+ Served asset /ueditor/lang/zh-cn/images/imglabel.png - 200 OK (2ms)
14607
+
14608
+
14609
+ Started GET "/ueditor/dialogs/attachment" for 127.0.0.1 at 2013-04-12 23:08:46 +0800
14610
+ Processing by UeditorRails::DialogsController#attachment as HTML
14611
+ Compiled ueditor_rails/dialogs/attachment.css (3ms) (pid 15079)
14612
+ Compiled ueditor_rails/dialogs/attachment/_callbacks.js (0ms) (pid 15079)
14613
+ Compiled ueditor_rails/dialogs/attachment/_file_type_maps.js (1ms) (pid 15079)
14614
+ Compiled ueditor_rails/dialogs/attachment.js (38ms) (pid 15079)
14615
+ Rendered /Users/jasl/workspace/ruby/ueditor_rails/app/views/ueditor_rails/dialogs/attachment.html.erb (80.5ms)
14616
+ Completed 200 OK in 82ms (Views: 81.8ms | ActiveRecord: 0.0ms)
14617
+
14618
+
14619
+ Started GET "/assets/ueditor/themes/default/dialogbase.css?cache=0.857420157874003" for 127.0.0.1 at 2013-04-12 23:08:46 +0800
14620
+ Served asset /ueditor/themes/default/dialogbase.css - 200 OK (0ms)
14621
+
14622
+
14623
+ Started GET "/assets/ueditor/third-party/swfupload/fileprogress.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:46 +0800
14624
+ Served asset /ueditor/third-party/swfupload/fileprogress.js - 200 OK (1ms)
14625
+
14626
+
14627
+ Started GET "/assets/ueditor/third-party/swfupload/swfupload.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:46 +0800
14628
+ Served asset /ueditor/third-party/swfupload/swfupload.js - 200 OK (2ms)
14629
+
14630
+
14631
+ Started GET "/assets/ueditor_rails/dialogs/attachment.css?body=1" for 127.0.0.1 at 2013-04-12 23:08:46 +0800
14632
+ Served asset /ueditor_rails/dialogs/attachment.css - 200 OK (1ms)
14633
+
14634
+
14635
+ Started GET "/assets/ueditor/third-party/swfupload/swfupload.queue.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:46 +0800
14636
+ Served asset /ueditor/third-party/swfupload/swfupload.queue.js - 200 OK (2ms)
14637
+
14638
+
14639
+ Started GET "/assets/ueditor_rails/dialogs/attachment/_callbacks.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:46 +0800
14640
+ Served asset /ueditor_rails/dialogs/attachment/_callbacks.js - 200 OK (2ms)
14641
+
14642
+
14643
+ Started GET "/assets/ueditor_rails/dialogs/attachment/_file_type_maps.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:46 +0800
14644
+ Served asset /ueditor_rails/dialogs/attachment/_file_type_maps.js - 200 OK (2ms)
14645
+
14646
+
14647
+ Started GET "/assets/ueditor_rails/dialogs/attachment.js?body=1" for 127.0.0.1 at 2013-04-12 23:08:46 +0800
14648
+ Served asset /ueditor_rails/dialogs/attachment.js - 200 OK (5ms)
14649
+
14650
+
14651
+ Started GET "/assets/ueditor/third-party/swfupload/swfupload.swf?preventswfcaching=1365779326621" for 127.0.0.1 at 2013-04-12 23:08:46 +0800
14652
+ Served asset /ueditor/third-party/swfupload/swfupload.swf - 200 OK (2ms)
14653
+
14654
+
14655
+ Started GET "/assets/ueditor/themes/default/filescan.png" for 127.0.0.1 at 2013-04-12 23:08:46 +0800
14656
+ Served asset /ueditor/themes/default/filescan.png - 200 OK (4ms)
14657
+ Connecting to database specified by database.yml
14658
+
14659
+
14660
+ Started GET "/" for 127.0.0.1 at 2013-04-12 23:09:40 +0800
14661
+ Processing by PostsController#index as HTML
14662
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" 
14663
+ Rendered posts/index.html.erb within layouts/application (4.0ms)
14664
+ Completed 200 OK in 66ms (Views: 49.5ms | ActiveRecord: 1.2ms)
14665
+
14666
+
14667
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-12 23:09:40 +0800
14668
+ Served asset /application.css - 304 Not Modified (7ms)
14669
+
14670
+
14671
+ Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2013-04-12 23:09:40 +0800
14672
+ Served asset /posts.css - 304 Not Modified (1ms)
14673
+
14674
+
14675
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-12 23:09:40 +0800
14676
+ Served asset /scaffold.css - 304 Not Modified (2ms)
14677
+
14678
+
14679
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-12 23:09:40 +0800
14680
+ Served asset /jquery_ujs.js - 304 Not Modified (4ms)
14681
+
14682
+
14683
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-12 23:09:40 +0800
14684
+ Served asset /jquery.js - 304 Not Modified (4ms)
14685
+
14686
+
14687
+ Started GET "/assets/ueditor_config.js?body=1" for 127.0.0.1 at 2013-04-12 23:09:40 +0800
14688
+ Served asset /ueditor_config.js - 304 Not Modified (1ms)
14689
+
14690
+
14691
+ Started GET "/assets/ueditor_rails/_config.js?body=1" for 127.0.0.1 at 2013-04-12 23:09:40 +0800
14692
+ Served asset /ueditor_rails/_config.js - 304 Not Modified (2ms)
14693
+
14694
+
14695
+ Started GET "/assets/ueditor/editor_all.js?body=1" for 127.0.0.1 at 2013-04-12 23:09:40 +0800
14696
+ Served asset /ueditor/editor_all.js - 304 Not Modified (3ms)
14697
+
14698
+
14699
+ Started GET "/assets/ueditor_rails/init.js?body=1" for 127.0.0.1 at 2013-04-12 23:09:40 +0800
14700
+ Served asset /ueditor_rails/init.js - 304 Not Modified (6ms)
14701
+
14702
+
14703
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-12 23:09:40 +0800
14704
+ Served asset /application.js - 304 Not Modified (36ms)
14705
+
14706
+
14707
+ Started GET "/assets/ueditor/lang/zh-cn/zh-cn.js" for 127.0.0.1 at 2013-04-12 23:09:40 +0800
14708
+ Served asset /ueditor/lang/zh-cn/zh-cn.js - 304 Not Modified (2ms)
14709
+
14710
+
14711
+ Started GET "/assets/ueditor/themes/default/ueditor.css" for 127.0.0.1 at 2013-04-12 23:09:40 +0800
14712
+ Served asset /ueditor/themes/default/ueditor.css - 304 Not Modified (3ms)
14713
+
14714
+
14715
+ Started GET "/ueditor/dialogs/attachment" for 127.0.0.1 at 2013-04-12 23:09:42 +0800
14716
+ Processing by UeditorRails::DialogsController#attachment as HTML
14717
+ Rendered /Users/jasl/workspace/ruby/ueditor_rails/app/views/ueditor_rails/dialogs/attachment.html.erb (25.2ms)
14718
+ Completed 200 OK in 28ms (Views: 27.3ms | ActiveRecord: 0.0ms)
14719
+
14720
+
14721
+ Started GET "/assets/ueditor/themes/default/dialogbase.css?cache=0.5027675514575094" for 127.0.0.1 at 2013-04-12 23:09:42 +0800
14722
+ Served asset /ueditor/themes/default/dialogbase.css - 200 OK (3ms)
14723
+
14724
+
14725
+ Started GET "/ueditor/libs/swf_upload?preventswfcaching=1365779382823" for 127.0.0.1 at 2013-04-12 23:09:42 +0800
14726
+ Processing by UeditorRails::LibsController#swf_upload as */*
14727
+ Parameters: {"preventswfcaching"=>"1365779382823"}
14728
+ Sent file /Users/jasl/workspace/ruby/ueditor_rails/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload.swf (0.1ms)
14729
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
14730
+
14731
+
14732
+ Started GET "/assets/ueditor/themes/default/filescan.png" for 127.0.0.1 at 2013-04-12 23:09:42 +0800
14733
+ Served asset /ueditor/themes/default/filescan.png - 304 Not Modified (1ms)
14734
+
14735
+
14736
+ Started GET "/ueditor/dialogs/image" for 127.0.0.1 at 2013-04-12 23:09:51 +0800
14737
+ Processing by UeditorRails::DialogsController#image as HTML
14738
+ Rendered /Users/jasl/workspace/ruby/ueditor_rails/app/views/ueditor_rails/dialogs/image.html.erb (23.0ms)
14739
+ Completed 200 OK in 25ms (Views: 24.7ms | ActiveRecord: 0.0ms)
14740
+
14741
+
14742
+ Started GET "/assets/ueditor/themes/default/dialogbase.css?cache=0.37987384060397744" for 127.0.0.1 at 2013-04-12 23:09:51 +0800
14743
+ Served asset /ueditor/themes/default/dialogbase.css - 200 OK (0ms)
14744
+
14745
+
14746
+ Started GET "/ueditor/libs/swf_image_uploader" for 127.0.0.1 at 2013-04-12 23:09:51 +0800
14747
+ Processing by UeditorRails::LibsController#swf_image_uploader as */*
14748
+ Sent file /Users/jasl/workspace/ruby/ueditor_rails/vendor/assets/javascripts/ueditor/dialogs/image/imageUploader.swf (0.1ms)
14749
+ Completed 500 Internal Server Error in 0ms
14750
+
14751
+ ActionController::MissingFile (Cannot read file /Users/jasl/workspace/ruby/ueditor_rails/vendor/assets/javascripts/ueditor/dialogs/image/imageUploader.swf):
14752
+ actionpack (3.2.13) lib/action_controller/metal/data_streaming.rb:71:in `send_file'
14753
+ actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:48:in `block in send_file'
14754
+ activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
14755
+ activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
14756
+ activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
14757
+ actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:46:in `send_file'
14758
+ /Users/jasl/workspace/ruby/ueditor_rails/app/controllers/ueditor_rails/libs_controller.rb:6:in `swf_image_uploader'
14759
+ actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
14760
+ actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
14761
+ actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
14762
+ actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
14763
+ activesupport (3.2.13) lib/active_support/callbacks.rb:403:in `_run__3673517895750640260__process_action__1725751847069412371__callbacks'
14764
+ activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
14765
+ activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
14766
+ activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
14767
+ actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
14768
+ actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
14769
+ actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
14770
+ activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
14771
+ activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
14772
+ activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
14773
+ actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
14774
+ actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
14775
+ activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
14776
+ actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
14777
+ actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
14778
+ actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
14779
+ actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
14780
+ actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
14781
+ actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
14782
+ actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
14783
+ actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
14784
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
14785
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
14786
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
14787
+ actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
14788
+ railties (3.2.13) lib/rails/engine.rb:479:in `call'
14789
+ railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
14790
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
14791
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
14792
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
14793
+ actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
14794
+ actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
14795
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
14796
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
14797
+ actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
14798
+ actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
14799
+ actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
14800
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
14801
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
14802
+ actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
14803
+ activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
14804
+ activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
14805
+ actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
14806
+ activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2324613731199450691__call__1039122101505003815__callbacks'
14807
+ activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
14808
+ activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
14809
+ activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
14810
+ actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
14811
+ actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
14812
+ actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
14813
+ actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
14814
+ actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
14815
+ railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
14816
+ railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
14817
+ activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
14818
+ railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
14819
+ actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
14820
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
14821
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
14822
+ activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
14823
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
14824
+ actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
14825
+ railties (3.2.13) lib/rails/engine.rb:479:in `call'
14826
+ railties (3.2.13) lib/rails/application.rb:223:in `call'
14827
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
14828
+ railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
14829
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
14830
+ /Users/jasl/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
14831
+ /Users/jasl/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
14832
+ /Users/jasl/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
14833
+
14834
+
14835
+ Rendered /Users/jasl/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
14836
+ Rendered /Users/jasl/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
14837
+ Rendered /Users/jasl/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.2ms)
14838
+ Connecting to database specified by database.yml
14839
+
14840
+
14841
+ Started GET "/" for 127.0.0.1 at 2013-04-12 23:12:29 +0800
14842
+ Processing by PostsController#index as HTML
14843
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" 
14844
+ Rendered posts/index.html.erb within layouts/application (4.2ms)
14845
+ Completed 200 OK in 79ms (Views: 49.1ms | ActiveRecord: 1.3ms)
14846
+
14847
+
14848
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-12 23:12:30 +0800
14849
+ Served asset /application.css - 304 Not Modified (4ms)
14850
+
14851
+
14852
+ Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2013-04-12 23:12:30 +0800
14853
+ Served asset /posts.css - 304 Not Modified (1ms)
14854
+
14855
+
14856
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-12 23:12:30 +0800
14857
+ Served asset /scaffold.css - 304 Not Modified (1ms)
14858
+
14859
+
14860
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-12 23:12:30 +0800
14861
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
14862
+
14863
+
14864
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-12 23:12:30 +0800
14865
+ Served asset /jquery.js - 304 Not Modified (6ms)
14866
+
14867
+
14868
+ Started GET "/assets/ueditor_config.js?body=1" for 127.0.0.1 at 2013-04-12 23:12:30 +0800
14869
+ Served asset /ueditor_config.js - 304 Not Modified (1ms)
14870
+
14871
+
14872
+ Started GET "/assets/ueditor_rails/_config.js?body=1" for 127.0.0.1 at 2013-04-12 23:12:30 +0800
14873
+ Served asset /ueditor_rails/_config.js - 304 Not Modified (2ms)
14874
+
14875
+
14876
+ Started GET "/assets/ueditor/editor_all.js?body=1" for 127.0.0.1 at 2013-04-12 23:12:30 +0800
14877
+ Served asset /ueditor/editor_all.js - 304 Not Modified (3ms)
14878
+
14879
+
14880
+ Started GET "/assets/ueditor_rails/init.js?body=1" for 127.0.0.1 at 2013-04-12 23:12:30 +0800
14881
+ Served asset /ueditor_rails/init.js - 304 Not Modified (21ms)
14882
+
14883
+
14884
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-12 23:12:30 +0800
14885
+ Served asset /application.js - 304 Not Modified (8ms)
14886
+
14887
+
14888
+ Started GET "/assets/ueditor/themes/default/ueditor.css" for 127.0.0.1 at 2013-04-12 23:12:30 +0800
14889
+ Served asset /ueditor/themes/default/ueditor.css - 304 Not Modified (2ms)
14890
+
14891
+
14892
+ Started GET "/assets/ueditor/lang/zh-cn/zh-cn.js" for 127.0.0.1 at 2013-04-12 23:12:30 +0800
14893
+ Served asset /ueditor/lang/zh-cn/zh-cn.js - 304 Not Modified (2ms)
14894
+
14895
+
14896
+ Started GET "/ueditor/dialogs/image" for 127.0.0.1 at 2013-04-12 23:12:31 +0800
14897
+ Processing by UeditorRails::DialogsController#image as HTML
14898
+ Rendered /Users/jasl/workspace/ruby/ueditor_rails/app/views/ueditor_rails/dialogs/image.html.erb (47.4ms)
14899
+ Completed 200 OK in 50ms (Views: 49.7ms | ActiveRecord: 0.0ms)
14900
+
14901
+
14902
+ Started GET "/assets/ueditor/themes/default/dialogbase.css?cache=0.14907514839433134" for 127.0.0.1 at 2013-04-12 23:12:31 +0800
14903
+ Served asset /ueditor/themes/default/dialogbase.css - 200 OK (2ms)
14904
+
14905
+
14906
+ Started GET "/ueditor/libs/swf_image_uploader" for 127.0.0.1 at 2013-04-12 23:12:31 +0800
14907
+ Processing by UeditorRails::LibsController#swf_image_uploader as */*
14908
+ Sent file /Users/jasl/workspace/ruby/ueditor_rails/vendor/assets/javascripts/ueditor/third-party/imageUploader.swf (0.1ms)
14909
+ Completed 200 OK in 1ms (ActiveRecord: 0.0ms)