博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
客服系统 rails 日志文件
阅读量:5047 次
发布时间:2019-06-12

本文共 34144 字,大约阅读时间需要 113 分钟。

客服系统 rails 日志文件   1 caopu@caopu-ThinkPad-X1:~$ cd demo/  2 caopu@caopu-ThinkPad-X1:~/demo$ ls  3 app  config     db       Gemfile.lock  log     Rakefile   test  vendor  4 bin  config.ru  Gemfile  lib           public  README.md  tmp  5 caopu@caopu-ThinkPad-X1:~/demo$ cd bin/  6 caopu@caopu-ThinkPad-X1:~/demo/bin$ rails s  7 => Booting Puma  8 => Rails 5.0.2 application starting in development on http://localhost:3000  9 => Run `rails server -h` for more startup options 10 Puma starting in single mode... 11 * Version 3.8.2 (ruby 2.2.6-p396), codename: Sassy Salamander 12 * Min threads: 5, max threads: 5 13 * Environment: development 14 * Listening on tcp://localhost:3000 15 Use Ctrl-C to stop 16 Started GET "/" for 127.0.0.1 at 2017-04-13 00:27:10 +0800 17 Started GET "/" for 127.0.0.1 at 2017-04-13 00:27:10 +0800 18   ActiveRecord::SchemaMigration Load (0.5ms)  SELECT `schema_migrations`.* FROM `schema_migrations` 19   ActiveRecord::SchemaMigration Load (1.1ms)  SELECT `schema_migrations`.* FROM `schema_migrations` 20 Processing by SessionsController#new as HTML 21 Processing by SessionsController#new as HTML 22   Rendering sessions/new.html.erb within layouts/application 23   Rendering sessions/new.html.erb within layouts/application 24   Rendered sessions/new.html.erb within layouts/application (133.9ms) 25   Rendered sessions/new.html.erb within layouts/application (133.9ms) 26 Completed 200 OK in 2932ms (Views: 2883.1ms | ActiveRecord: 0.0ms) 27  28  29 Completed 200 OK in 2938ms (Views: 2893.2ms | ActiveRecord: 0.0ms) 30  31  32 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:27:24 +0800 33 Processing by SessionsController#create as HTML 34   Parameters: {
"utf8"=>"✓", "authenticity_token"=>"vlOQEJ/9G/BmGREqzxvGfEndqBho8dQ3gKZ9iIXWvAP/RcL+lbnFDf2dii0RmVxhvuaCrwpF4p0D7GpgWNIamg==", "session"=>{
"user_id"=>"root", "password"=>"[FILTERED]"}, "button"=>""} 35 WARNING: Active Record does not support composite primary key. 36 37 users has composite primary key. Composite primary key is ignored. 38 User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`name` = 'root' AND `users`.`password_digest` = '123' LIMIT 1 39
"✓", "authenticity_token"=>"vlOQEJ/9G/BmGREqzxvGfEndqBho8dQ3gKZ9iIXWvAP/RcL+lbnFDf2dii0RmVxhvuaCrwpF4p0D7GpgWNIamg==", "session"=>
"root", "password"=>"123"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false> 40 #
41 (0.4ms) SELECT COUNT(*) FROM `users` 42 User Load (0.4ms) SELECT `users`.* FROM `users` LIMIT 1 43 8,#
44 Redirected to http://localhost:3000/articles 45 Completed 302 Found in 160ms (ActiveRecord: 2.8ms) 46 47 48 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:27:24 +0800 49 Processing by ArticlesController#index as HTML 50 Rendering articles/index.html.erb within layouts/application 51 Article Load (1.0ms) SELECT `articles`.* FROM `articles` 52 Rendered articles/index.html.erb within layouts/application (17.8ms) 53 Completed 200 OK in 157ms (Views: 63.1ms | ActiveRecord: 2.2ms) 54 55 56 Started GET "/" for 127.0.0.1 at 2017-04-13 00:27:35 +0800 57 Processing by SessionsController#new as HTML 58 Rendering sessions/new.html.erb within layouts/application 59 Rendered sessions/new.html.erb within layouts/application (2.1ms) 60 Completed 200 OK in 46ms (Views: 45.0ms | ActiveRecord: 0.0ms) 61 62 63 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:27:40 +0800 64 Processing by SessionsController#create as HTML 65 Parameters: {
"utf8"=>"✓", "authenticity_token"=>"mZ1Z1dKTWPkrSAvLvqtCXxIvFQ/z/c+UGOwA2IlBjZ/i10HOInXe6X2rYBIFWyvqg+O6mU9BjbBYDNzgT3pCbA==", "session"=>{
"user_id"=>"jack", "password"=>"[FILTERED]"}, "button"=>""} 66 User Load (1.0ms) SELECT `users`.* FROM `users` WHERE `users`.`name` = 'jack' AND `users`.`password_digest` = '456' LIMIT 1 67
"✓", "authenticity_token"=>"mZ1Z1dKTWPkrSAvLvqtCXxIvFQ/z/c+UGOwA2IlBjZ/i10HOInXe6X2rYBIFWyvqg+O6mU9BjbBYDNzgT3pCbA==", "session"=>
"jack", "password"=>"456"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false> 68 #
69 (0.6ms) SELECT COUNT(*) FROM `users` 70 User Load (0.6ms) SELECT `users`.* FROM `users` LIMIT 1 71 8,#
72 Redirected to http://localhost:3000/welcome/index 73 Completed 302 Found in 11ms (ActiveRecord: 2.1ms) 74 75 76 Started GET "/welcome/index" for 127.0.0.1 at 2017-04-13 00:27:40 +0800 77 Processing by WelcomeController#index as HTML 78 Rendering welcome/index.html.erb within layouts/application 79 Rendered welcome/index.html.erb within layouts/application (0.8ms) 80 Completed 200 OK in 90ms (Views: 43.1ms | ActiveRecord: 0.0ms) 81 82 83 Started GET "/users/new" for 127.0.0.1 at 2017-04-13 00:30:24 +0800 84 Processing by UsersController#new as HTML 85 Rendering users/new.html.erb within layouts/application 86 Rendered users/new.html.erb within layouts/application (5.1ms) 87 Completed 200 OK in 61ms (Views: 50.9ms | ActiveRecord: 0.0ms) 88 89 90 Started POST "/users" for 127.0.0.1 at 2017-04-13 00:31:01 +0800 91 Processing by UsersController#create as HTML 92 Parameters: { "utf8"=>"✓", "authenticity_token"=>"gq1m66NcDkMYgOO4Iv9xgkb9kluWtvklpAXruyRihmNe5JX99gTjmdGyz5fFq0hvHGCQa9QBUbQBJi4K3WZ22w==", "user"=>{ "name"=>"water", "admin"=>"0", "password_digest"=>"[FILTERED]", "password_digest_confirmation"=>"[FILTERED]"}, "commit"=>"提交"} 93 Unpermitted parameter: password_digest_confirmation 94 (0.4ms) BEGIN 95 SQL (28.3ms) INSERT INTO `users` (`name`, `password_digest`, `created_at`, `updated_at`, `admin`) VALUES ('water', '123', '2017-04-12 16:31:01', '2017-04-12 16:31:01', 0) 96 (89.8ms) COMMIT 97 (0.3ms) BEGIN 98 (0.3ms) COMMIT 99 Redirected to http://localhost:3000/sessions/new100 Completed 302 Found in 128ms (ActiveRecord: 119.0ms)101 102 103 Started GET "/sessions/new" for 127.0.0.1 at 2017-04-13 00:31:01 +0800104 Processing by SessionsController#new as HTML105 Rendering sessions/new.html.erb within layouts/application106 Rendered sessions/new.html.erb within layouts/application (2.2ms)107 Completed 200 OK in 41ms (Views: 39.8ms | ActiveRecord: 0.0ms)108 109 110 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:31:23 +0800111 Processing by SessionsController#create as HTML112 Parameters: { "utf8"=>"✓", "authenticity_token"=>"QHMCed1zhiyOSbV0fv3xgXcIep6d3VANy1b+BQiD3e4BZVCX1zdY0RXNLnOgf2ucgDNQKf9pZqdIHOnt1Yd7dw==", "session"=>{ "user_id"=>"water", "password"=>"[FILTERED]"}, "button"=>""}113 User Load (1.1ms) SELECT `users`.* FROM `users` WHERE `users`.`name` = 'water' AND `users`.`password_digest` = '123' LIMIT 1114
"✓", "authenticity_token"=>"QHMCed1zhiyOSbV0fv3xgXcIep6d3VANy1b+BQiD3e4BZVCX1zdY0RXNLnOgf2ucgDNQKf9pZqdIHOnt1Yd7dw==", "session"=>
"water", "password"=>"123"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>115 #
116 (0.5ms) SELECT COUNT(*) FROM `users`117 User Load (0.4ms) SELECT `users`.* FROM `users` LIMIT 1118 9,#
119 Redirected to http://localhost:3000/articles120 Completed 302 Found in 10ms (ActiveRecord: 2.0ms)121 122 123 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:31:23 +0800124 Processing by ArticlesController#index as HTML125 Rendering articles/index.html.erb within layouts/application126 Article Load (1.6ms) SELECT `articles`.* FROM `articles`127 Rendered articles/index.html.erb within layouts/application (9.9ms)128 Completed 200 OK in 64ms (Views: 60.6ms | ActiveRecord: 1.6ms)129 130 131 Started DELETE "/articles/14" for 127.0.0.1 at 2017-04-13 00:31:41 +0800132 Processing by ArticlesController#destroy as HTML133 Parameters: { "authenticity_token"=>"noMknPbK0U+iV3Hn+gs5IVnh5k55kih55zVTeIONFynflXZy/I4PsjnT6uAkiaM8rtrM+RsmHtNkf0SQXomxsA==", "id"=>"14"}134 Article Load (0.7ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 14 LIMIT 1135 (0.8ms) BEGIN136 Comment Load (1.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 14137 SQL (18.2ms) DELETE FROM `articles` WHERE `articles`.`id` = 14138 (35.2ms) COMMIT139 Redirected to http://localhost:3000/articles140 Completed 302 Found in 132ms (ActiveRecord: 57.9ms)141 142 143 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:31:41 +0800144 Processing by ArticlesController#index as HTML145 Rendering articles/index.html.erb within layouts/application146 Article Load (0.5ms) SELECT `articles`.* FROM `articles`147 Rendered articles/index.html.erb within layouts/application (5.3ms)148 Completed 200 OK in 48ms (Views: 44.6ms | ActiveRecord: 0.5ms)149 150 151 Started GET "/articles/15" for 127.0.0.1 at 2017-04-13 00:31:50 +0800152 Processing by ArticlesController#show as HTML153 Parameters: { "id"=>"15"}154 Article Load (0.7ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 15 LIMIT 1155 Rendering articles/show.html.erb within layouts/application156 Comment Load (0.6ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 15157 Rendered collection of templates [0 times] (0.1ms)158 Rendered comments/_form.html.erb (45.9ms)159 Rendered articles/show.html.erb within layouts/application (73.3ms)160 Completed 200 OK in 127ms (Views: 114.8ms | ActiveRecord: 2.0ms)161 162 163 Started GET "/" for 127.0.0.1 at 2017-04-13 00:32:35 +0800164 Processing by SessionsController#new as HTML165 Rendering sessions/new.html.erb within layouts/application166 Rendered sessions/new.html.erb within layouts/application (2.3ms)167 Completed 200 OK in 46ms (Views: 44.0ms | ActiveRecord: 0.0ms)168 169 170 Started GET "/users/new" for 127.0.0.1 at 2017-04-13 00:32:54 +0800171 Processing by UsersController#new as HTML172 Rendering users/new.html.erb within layouts/application173 Rendered users/new.html.erb within layouts/application (3.7ms)174 Completed 200 OK in 49ms (Views: 47.8ms | ActiveRecord: 0.0ms)175 176 177 Started POST "/users" for 127.0.0.1 at 2017-04-13 00:33:32 +0800178 Processing by UsersController#create as HTML179 Parameters: { "utf8"=>"✓", "authenticity_token"=>"WAyPQNF7GewKuM/xVrRXXEUmm0mBD7jdDNcYbLkoyXiwK7h+KxmRUhZv7WZcb7Kc77XqPyN/AwTBZQBpfPyrMw==", "user"=>{ "name"=>"game", "admin"=>"1", "password_digest"=>"[FILTERED]", "password_digest_confirmation"=>"[FILTERED]"}, "commit"=>"提交"}180 Unpermitted parameter: password_digest_confirmation181 (0.2ms) BEGIN182 SQL (0.7ms) INSERT INTO `users` (`name`, `password_digest`, `created_at`, `updated_at`) VALUES ('game', '123', '2017-04-12 16:33:32', '2017-04-12 16:33:32')183 (110.7ms) COMMIT184 (0.2ms) BEGIN185 (0.2ms) COMMIT186 Redirected to http://localhost:3000/sessions/new187 Completed 302 Found in 118ms (ActiveRecord: 112.0ms)188 189 190 Started GET "/sessions/new" for 127.0.0.1 at 2017-04-13 00:33:32 +0800191 Processing by SessionsController#new as HTML192 Rendering sessions/new.html.erb within layouts/application193 Rendered sessions/new.html.erb within layouts/application (2.0ms)194 Completed 200 OK in 42ms (Views: 41.3ms | ActiveRecord: 0.0ms)195 196 197 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:34:47 +0800198 Processing by SessionsController#create as HTML199 Parameters: { "utf8"=>"✓", "authenticity_token"=>"3yxAczvctv9R6jr5ekgO+CidGIWlmuky63C8Og+PBJCkZlhoyzow7wcJUSDBuGdNuVG3ExkmqxarkGACybTLYw==", "session"=>{ "user_id"=>"game", "password"=>"[FILTERED]"}, "button"=>""}200 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`name` = 'game' AND `users`.`password_digest` = '123' LIMIT 1201
"✓", "authenticity_token"=>"3yxAczvctv9R6jr5ekgO+CidGIWlmuky63C8Og+PBJCkZlhoyzow7wcJUSDBuGdNuVG3ExkmqxarkGACybTLYw==", "session"=>
"game", "password"=>"123"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>202 #
203 (0.4ms) SELECT COUNT(*) FROM `users`204 User Load (0.5ms) SELECT `users`.* FROM `users` LIMIT 1205 10,#
206 Redirected to http://localhost:3000/welcome/index207 Completed 302 Found in 8ms (ActiveRecord: 1.4ms)208 209 210 Started GET "/welcome/index" for 127.0.0.1 at 2017-04-13 00:34:47 +0800211 Processing by WelcomeController#index as HTML212 Rendering welcome/index.html.erb within layouts/application213 Rendered welcome/index.html.erb within layouts/application (0.7ms)214 Completed 200 OK in 41ms (Views: 40.2ms | ActiveRecord: 0.0ms)215 216 217 Started GET "/articles/new" for 127.0.0.1 at 2017-04-13 00:34:58 +0800218 Processing by ArticlesController#new as HTML219 Rendering articles/new.html.erb within layouts/application220 Rendered articles/_form.html.erb (3.0ms)221 Rendered articles/new.html.erb within layouts/application (62.2ms)222 Completed 200 OK in 132ms (Views: 117.0ms | ActiveRecord: 0.0ms)223 224 225 Started POST "/articles" for 127.0.0.1 at 2017-04-13 00:36:34 +0800226 Processing by ArticlesController#create as HTML227 Parameters: { "utf8"=>"✓", "authenticity_token"=>"gluyVj0n+cWqIBA2gK0/wHhKDXcJ/2lKmEorGX5DfvKGFefdc9/G4riYWYyr/ffcF9f4DqZXMPS2W+jSOI3kkA==", "article"=>{ "text"=>"请问猫猫为啥不爱狗??"}, "commit"=>"Create Article"}228 (0.2ms) BEGIN229 SQL (0.4ms) INSERT INTO `articles` (`text`, `created_at`, `updated_at`, `user_id`, `name`) VALUES ('请问猫猫为啥不爱狗??', '2017-04-12 16:36:34', '2017-04-12 16:36:34', 0, 'game')230 (66.1ms) COMMIT231 Redirected to http://localhost:3000/articles/52232 Completed 302 Found in 73ms (ActiveRecord: 66.8ms)233 234 235 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:36:34 +0800236 Processing by ArticlesController#show as HTML237 Parameters: { "id"=>"52"}238 Article Load (0.6ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1239 Rendering articles/show.html.erb within layouts/application240 Comment Load (0.7ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52241 Rendered collection of templates [0 times] (0.0ms)242 Rendered articles/show.html.erb within layouts/application (5.3ms)243 Completed 200 OK in 53ms (Views: 49.3ms | ActiveRecord: 1.3ms)244 245 246 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:36:48 +0800247 Processing by ArticlesController#index as HTML248 Rendering articles/index.html.erb within layouts/application249 Article Load (0.9ms) SELECT `articles`.* FROM `articles`250 Rendered articles/index.html.erb within layouts/application (5.7ms)251 Completed 200 OK in 56ms (Views: 53.5ms | ActiveRecord: 0.9ms)252 253 254 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:36:56 +0800255 Processing by ArticlesController#show as HTML256 Parameters: { "id"=>"52"}257 Article Load (0.5ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1258 Rendering articles/show.html.erb within layouts/application259 Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52260 Rendered collection of templates [0 times] (0.0ms)261 Rendered articles/show.html.erb within layouts/application (4.7ms)262 Completed 200 OK in 56ms (Views: 51.9ms | ActiveRecord: 1.1ms)263 264 265 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:36:58 +0800266 Processing by ArticlesController#index as HTML267 Rendering articles/index.html.erb within layouts/application268 Article Load (0.9ms) SELECT `articles`.* FROM `articles`269 Rendered articles/index.html.erb within layouts/application (6.4ms)270 Completed 200 OK in 59ms (Views: 55.0ms | ActiveRecord: 0.9ms)271 272 273 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:37:31 +0800274 Processing by SessionsController#create as HTML275 Parameters: { "utf8"=>"✓", "authenticity_token"=>"s1Asxu+hqARxf9vRms9uxw5DjvoAmVc5/58xv1c9hFHyRn4o5eV2+er7QNZETfTa+XikTWItYZN81SZXijkiyA==", "session"=>{ "user_id"=>"root", "password"=>"[FILTERED]"}, "button"=>""}276 User Load (0.8ms) SELECT `users`.* FROM `users` WHERE `users`.`name` = 'root' AND `users`.`password_digest` = '123' LIMIT 1277
"✓", "authenticity_token"=>"s1Asxu+hqARxf9vRms9uxw5DjvoAmVc5/58xv1c9hFHyRn4o5eV2+er7QNZETfTa+XikTWItYZN81SZXijkiyA==", "session"=>
"root", "password"=>"123"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>278 #
279 (0.3ms) SELECT COUNT(*) FROM `users`280 User Load (0.2ms) SELECT `users`.* FROM `users` LIMIT 1281 10,#
282 Redirected to http://localhost:3000/articles283 Completed 302 Found in 7ms (ActiveRecord: 1.4ms)284 285 286 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:37:31 +0800287 Processing by ArticlesController#index as HTML288 Rendering articles/index.html.erb within layouts/application289 Article Load (0.4ms) SELECT `articles`.* FROM `articles`290 Rendered articles/index.html.erb within layouts/application (5.2ms)291 Completed 200 OK in 52ms (Views: 50.1ms | ActiveRecord: 0.4ms)292 293 294 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:37:39 +0800295 Processing by ArticlesController#show as HTML296 Parameters: { "id"=>"52"}297 Article Load (0.5ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1298 Rendering articles/show.html.erb within layouts/application299 Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52300 Rendered collection of templates [0 times] (0.0ms)301 Rendered comments/_form.html.erb (6.4ms)302 Rendered articles/show.html.erb within layouts/application (11.3ms)303 Completed 200 OK in 52ms (Views: 48.6ms | ActiveRecord: 1.0ms)304 305 306 Started POST "/articles/52/comments" for 127.0.0.1 at 2017-04-13 00:38:43 +0800307 Processing by CommentsController#create as HTML308 Parameters: { "utf8"=>"✓", "authenticity_token"=>"sGS4gNPXG/wn7BqC0qaLZp7lBBj4yBu//QjW1kb+zz25dtu+lHutOy+ypwgwWR1zB2IU0eXIipY7oueEAp4OZg==", "comment"=>{ "body"=>"你不是猫猫,怎么知道她是否心中已有人啦"}, "commit"=>"Create Comment", "article_id"=>"52"}309 Article Load (0.5ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1310 (0.6ms) BEGIN311 SQL (0.5ms) INSERT INTO `comments` (`body`, `article_id`, `created_at`, `updated_at`) VALUES ('你不是猫猫,怎么知道她是否心中已有人啦', 52, '2017-04-12 16:38:43', '2017-04-12 16:38:43')312 (33.4ms) COMMIT313 (0.2ms) BEGIN314 SQL (17.3ms) UPDATE `comments` SET `commenter` = 'root', `user_id` = 1 WHERE `comments`.`id` = 54315 (79.6ms) COMMIT316 Redirected to http://localhost:3000/articles/52317 Completed 302 Found in 144ms (ActiveRecord: 132.2ms)318 319 320 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:38:43 +0800321 Processing by ArticlesController#show as HTML322 Parameters: { "id"=>"52"}323 Article Load (0.5ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1324 Rendering articles/show.html.erb within layouts/application325 Comment Load (0.6ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52326 Rendered collection of comments/_comment.html.erb [1 times] (1.8ms)327 Rendered comments/_form.html.erb (4.8ms)328 Rendered articles/show.html.erb within layouts/application (33.5ms)329 Completed 200 OK in 79ms (Views: 76.2ms | ActiveRecord: 1.1ms)330 331 332 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:38:57 +0800333 Processing by ArticlesController#index as HTML334 Rendering articles/index.html.erb within layouts/application335 Article Load (0.5ms) SELECT `articles`.* FROM `articles`336 Rendered articles/index.html.erb within layouts/application (6.8ms)337 Completed 200 OK in 49ms (Views: 46.4ms | ActiveRecord: 0.5ms)338 339 340 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:38:59 +0800341 Processing by ArticlesController#show as HTML342 Parameters: { "id"=>"52"}343 Article Load (0.6ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1344 Rendering articles/show.html.erb within layouts/application345 Comment Load (0.7ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52346 Rendered collection of comments/_comment.html.erb [1 times] (2.1ms)347 Rendered comments/_form.html.erb (4.5ms)348 Rendered articles/show.html.erb within layouts/application (15.0ms)349 Completed 200 OK in 56ms (Views: 52.2ms | ActiveRecord: 1.3ms)350 351 352 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:39:13 +0800353 Processing by ArticlesController#index as HTML354 Rendering articles/index.html.erb within layouts/application355 Article Load (0.4ms) SELECT `articles`.* FROM `articles`356 Rendered articles/index.html.erb within layouts/application (3.6ms)357 Completed 200 OK in 41ms (Views: 38.6ms | ActiveRecord: 0.4ms)358 359 360 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:39:15 +0800361 Processing by ArticlesController#show as HTML362 Parameters: { "id"=>"52"}363 Article Load (0.6ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1364 Rendering articles/show.html.erb within layouts/application365 Comment Load (0.6ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52366 Rendered collection of comments/_comment.html.erb [1 times] (1.4ms)367 Rendered articles/show.html.erb within layouts/application (7.4ms)368 Completed 200 OK in 49ms (Views: 45.9ms | ActiveRecord: 1.3ms)369 370 371 Started GET "/" for 127.0.0.1 at 2017-04-13 00:40:39 +0800372 Processing by SessionsController#new as HTML373 Rendering sessions/new.html.erb within layouts/application374 Rendered sessions/new.html.erb within layouts/application (2.9ms)375 Completed 200 OK in 43ms (Views: 42.2ms | ActiveRecord: 0.0ms)376 377 378 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:40:56 +0800379 Processing by SessionsController#create as HTML380 Parameters: { "utf8"=>"✓", "authenticity_token"=>"ilKqUe8HlckjmurLfPvg4MyI/IM6xhDDO8w23+RFzvDxGLJKH+ET2XV5gRLHC4lVXURTFYZ6Uud7LOrnIn4BAw==", "session"=>{ "user_id"=>"admin", "password"=>"[FILTERED]"}, "button"=>""}381 User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`name` = 'admin' AND `users`.`password_digest` = '111' LIMIT 1382
"✓", "authenticity_token"=>"ilKqUe8HlckjmurLfPvg4MyI/IM6xhDDO8w23+RFzvDxGLJKH+ET2XV5gRLHC4lVXURTFYZ6Uud7LOrnIn4BAw==", "session"=>
"admin", "password"=>"111"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>383 nil384 (0.4ms) SELECT COUNT(*) FROM `users`385 User Load (0.3ms) SELECT `users`.* FROM `users` LIMIT 1386 10,#
387 Rendering sessions/new.html.erb within layouts/application388 Rendered sessions/new.html.erb within layouts/application (3.1ms)389 Completed 200 OK in 46ms (Views: 40.0ms | ActiveRecord: 1.2ms)390 391 392 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:41:03 +0800393 Processing by SessionsController#create as HTML394 Parameters: { "utf8"=>"✓", "authenticity_token"=>"Eh4sZzmbylOtzHBXXRT/8fLTECyGpU3qIWXP5N8oZEtpVDR8yX1MQ/svG47m5JZEYx+/ujoZD85hhRPcGROruA==", "session"=>{ "user_id"=>"admin", "password"=>"[FILTERED]"}, "button"=>""}395 User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`name` = 'admin' AND `users`.`password_digest` = '123' LIMIT 1396
"✓", "authenticity_token"=>"Eh4sZzmbylOtzHBXXRT/8fLTECyGpU3qIWXP5N8oZEtpVDR8yX1MQ/svG47m5JZEYx+/ujoZD85hhRPcGROruA==", "session"=>
"admin", "password"=>"123"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>397 nil398 (0.3ms) SELECT COUNT(*) FROM `users`399 User Load (0.5ms) SELECT `users`.* FROM `users` LIMIT 1400 10,#
401 Rendering sessions/new.html.erb within layouts/application402 Rendered sessions/new.html.erb within layouts/application (3.5ms)403 Completed 200 OK in 48ms (Views: 41.4ms | ActiveRecord: 1.4ms)404 405 406 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:41:11 +0800407 Processing by SessionsController#create as HTML408 Parameters: { "utf8"=>"✓", "authenticity_token"=>"+VB8psuBLq5i4Ce9l9ZKUlKSECeq+5jXO9ZnPTvLUkGCGmS9O2eovjQDTGQsJiPnw16/sRZH2vN7NrsF/fCdsg==", "session"=>{ "user_id"=>"admin", "password"=>"[FILTERED]"}, "button"=>""}409 User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`name` = 'admin' AND `users`.`password_digest` = '000' LIMIT 1410
"✓", "authenticity_token"=>"+VB8psuBLq5i4Ce9l9ZKUlKSECeq+5jXO9ZnPTvLUkGCGmS9O2eovjQDTGQsJiPnw16/sRZH2vN7NrsF/fCdsg==", "session"=>
"admin", "password"=>"000"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>411 #
412 (0.5ms) SELECT COUNT(*) FROM `users`413 User Load (0.4ms) SELECT `users`.* FROM `users` LIMIT 1414 10,#
415 Redirected to http://localhost:3000/articles416 Completed 302 Found in 7ms (ActiveRecord: 1.5ms)417 418 419 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:41:11 +0800420 Processing by ArticlesController#index as HTML421 Rendering articles/index.html.erb within layouts/application422 Article Load (0.5ms) SELECT `articles`.* FROM `articles`423 Rendered articles/index.html.erb within layouts/application (6.3ms)424 Completed 200 OK in 60ms (Views: 57.7ms | ActiveRecord: 0.5ms)425 426 427 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:41:19 +0800428 Processing by ArticlesController#show as HTML429 Parameters: { "id"=>"52"}430 Article Load (0.5ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1431 Rendering articles/show.html.erb within layouts/application432 Comment Load (1.8ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52433 Rendered collection of comments/_comment.html.erb [1 times] (2.1ms)434 Rendered comments/_form.html.erb (3.4ms)435 Rendered articles/show.html.erb within layouts/application (13.4ms)436 Completed 200 OK in 62ms (Views: 57.6ms | ActiveRecord: 2.3ms)437 438 439 Started POST "/articles/52/comments" for 127.0.0.1 at 2017-04-13 00:42:05 +0800440 Processing by CommentsController#create as HTML441 Parameters: { "utf8"=>"✓", "authenticity_token"=>"sbiirzqJquwasJ13HHbyvP6ffLWrLsEcZdgeSdrVwFBxkRbkeDatZvOfPsqp6EDLY2MIUzT3gESAsryMvP9X+A==", "comment"=>{ "body"=>"猫猫或许是个自恋的物种"}, "commit"=>"Create Comment", "article_id"=>"52"}442 Article Load (1.2ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1443 (0.3ms) BEGIN444 SQL (0.5ms) INSERT INTO `comments` (`body`, `article_id`, `created_at`, `updated_at`) VALUES ('猫猫或许是个自恋的物种', 52, '2017-04-12 16:42:05', '2017-04-12 16:42:05')445 (68.8ms) COMMIT446 (0.3ms) BEGIN447 SQL (0.7ms) UPDATE `comments` SET `commenter` = 'admin', `user_id` = 4 WHERE `comments`.`id` = 55448 (63.1ms) COMMIT449 Redirected to http://localhost:3000/articles/52450 Completed 302 Found in 146ms (ActiveRecord: 134.9ms)451 452 453 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:42:05 +0800454 Processing by ArticlesController#show as HTML455 Parameters: { "id"=>"52"}456 Article Load (0.5ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1457 Rendering articles/show.html.erb within layouts/application458 Comment Load (0.6ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52459 Rendered collection of comments/_comment.html.erb [2 times] (3.0ms)460 Rendered comments/_form.html.erb (3.8ms)461 Rendered articles/show.html.erb within layouts/application (12.6ms)462 Completed 200 OK in 63ms (Views: 59.6ms | ActiveRecord: 1.1ms)463 464 465 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:42:37 +0800466 Processing by ArticlesController#index as HTML467 Rendering articles/index.html.erb within layouts/application468 Article Load (0.5ms) SELECT `articles`.* FROM `articles`469 Rendered articles/index.html.erb within layouts/application (7.0ms)470 Completed 200 OK in 56ms (Views: 52.0ms | ActiveRecord: 0.5ms)471 472 473 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:42:38 +0800474 Processing by ArticlesController#show as HTML475 Parameters: { "id"=>"52"}476 Article Load (0.5ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1477 Rendering articles/show.html.erb within layouts/application478 Comment Load (0.6ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52479 Rendered collection of comments/_comment.html.erb [2 times] (1.7ms)480 Rendered comments/_form.html.erb (5.5ms)481 Rendered articles/show.html.erb within layouts/application (14.1ms)482 Completed 200 OK in 59ms (Views: 54.9ms | ActiveRecord: 1.0ms)483 484 485 Started GET "/" for 127.0.0.1 at 2017-04-13 00:42:44 +0800486 Processing by SessionsController#new as HTML487 Rendering sessions/new.html.erb within layouts/application488 Rendered sessions/new.html.erb within layouts/application (5.1ms)489 Completed 200 OK in 48ms (Views: 45.9ms | ActiveRecord: 0.0ms)490 491 492 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:42:48 +0800493 Processing by SessionsController#create as HTML494 Parameters: { "utf8"=>"✓", "authenticity_token"=>"k07cg3/QJcqw008pd556B+Ru2GZQ91BHuZX4n7wCYPboBMSYjzaj2uYwJPDMbhOydaJ38OxLEmP5dSSnejmvBQ==", "session"=>{ "user_id"=>"jack", "password"=>"[FILTERED]"}, "button"=>""}495 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`name` = 'jack' AND `users`.`password_digest` = '456' LIMIT 1496
"✓", "authenticity_token"=>"k07cg3/QJcqw008pd556B+Ru2GZQ91BHuZX4n7wCYPboBMSYjzaj2uYwJPDMbhOydaJ38OxLEmP5dSSnejmvBQ==", "session"=>
"jack", "password"=>"456"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>497 #
498 (0.9ms) SELECT COUNT(*) FROM `users`499 User Load (0.5ms) SELECT `users`.* FROM `users` LIMIT 1500 10,#
501 Redirected to http://localhost:3000/welcome/index502 Completed 302 Found in 15ms (ActiveRecord: 1.8ms)503 504 505 Started GET "/welcome/index" for 127.0.0.1 at 2017-04-13 00:42:48 +0800506 Processing by WelcomeController#index as HTML507 Rendering welcome/index.html.erb within layouts/application508 Rendered welcome/index.html.erb within layouts/application (0.6ms)509 Completed 200 OK in 41ms (Views: 40.2ms | ActiveRecord: 0.0ms)510 511 512 Started GET "/articles/new" for 127.0.0.1 at 2017-04-13 00:42:50 +0800513 Processing by ArticlesController#new as HTML514 Rendering articles/new.html.erb within layouts/application515 Rendered articles/_form.html.erb (2.1ms)516 Rendered articles/new.html.erb within layouts/application (3.3ms)517 Completed 200 OK in 43ms (Views: 42.0ms | ActiveRecord: 0.0ms)518 519 520 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:42:51 +0800521 Processing by ArticlesController#index as HTML522 Rendering articles/index.html.erb within layouts/application523 Article Load (0.5ms) SELECT `articles`.* FROM `articles`524 Rendered articles/index.html.erb within layouts/application (6.8ms)525 Completed 200 OK in 54ms (Views: 51.6ms | ActiveRecord: 0.5ms)526 527 528 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:42:53 +0800529 Processing by ArticlesController#show as HTML530 Parameters: { "id"=>"52"}531 Article Load (0.6ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1532 Rendering articles/show.html.erb within layouts/application533 Comment Load (0.8ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52534 Rendered collection of comments/_comment.html.erb [2 times] (1.7ms)535 Rendered articles/show.html.erb within layouts/application (7.1ms)536 Completed 200 OK in 51ms (Views: 47.8ms | ActiveRecord: 1.3ms)537 538 539 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:43:31 +0800540 Processing by ArticlesController#index as HTML541 Rendering articles/index.html.erb within layouts/application542 Article Load (0.6ms) SELECT `articles`.* FROM `articles`543 Rendered articles/index.html.erb within layouts/application (7.5ms)544 Completed 200 OK in 60ms (Views: 56.3ms | ActiveRecord: 0.6ms)545 546 547 Started DELETE "/articles/52/comments/54" for 127.0.0.1 at 2017-04-13 00:45:25 +0800548 Processing by CommentsController#destroy as HTML549 Parameters: { "authenticity_token"=>"hpjbO/YHFfNdYS6S39n+/GZpfWP5gTs4ZjSw0Aza9a790sMgBuGT4wuCRUtkKZdJ96XS9UU9eRwm1GzoyuE6XQ==", "article_id"=>"52", "id"=>"54"}550 Article Load (1.5ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1551 Comment Load (0.7ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52 AND `comments`.`id` = 54 LIMIT 1552 (0.2ms) BEGIN553 SQL (0.9ms) DELETE FROM `comments` WHERE `comments`.`id` = 54554 (73.2ms) COMMIT555 Redirected to http://localhost:3000/articles/52556 Completed 302 Found in 85ms (ActiveRecord: 76.4ms)557 558 559 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:45:25 +0800560 Processing by ArticlesController#show as HTML561 Parameters: { "id"=>"52"}562 Article Load (0.4ms) SELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1563 Rendering articles/show.html.erb within layouts/application564 Comment Load (0.7ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52565 Rendered collection of comments/_comment.html.erb [1 times] (1.3ms)566 Rendered articles/show.html.erb within layouts/application (7.0ms)567 Completed 200 OK in 44ms (Views: 41.1ms | ActiveRecord: 1.1ms)568 569 570 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:45:28 +0800571 Processing by ArticlesController#index as HTML572 Rendering articles/index.html.erb within layouts/application573 Article Load (0.7ms) SELECT `articles`.* FROM `articles`574 Rendered articles/index.html.erb within layouts/application (5.7ms)575 Completed 200 OK in 49ms (Views: 46.6ms | ActiveRecord: 0.7ms)

工程位置

1 caopu@caopu-ThinkPad-X1:~$ cd demo/2 caopu@caopu-ThinkPad-X1:~/demo$ ls3 app  config     db       Gemfile.lock  log     Rakefile   test  vendor4 bin  config.ru  Gemfile  lib           public  README.md  tmp5 caopu@caopu-ThinkPad-X1:~/demo$
 
navicat_mysql 位置及其启动
1 caopu@caopu-ThinkPad-X1:~$ cd /opt/ 2 caopu@caopu-ThinkPad-X1:/opt$ ls 3 apache-maven-3.3.9  hadoop-1.2.1.tar.gz     nginx         sublime_text 4 click.ubuntu.com    idea                    ruby-2.2.6    vim64 5 eclipse             ideaIC-2016.3.4.tar.gz  sbt           vim-6.4-src1.tar.gz 6 google              java                    scala 7 hadoop-1.2.1        navicat_mysql           spark-hadoop 8 caopu@caopu-ThinkPad-X1:/opt$ cd navicat_mysql/ 9 caopu@caopu-ThinkPad-X1:/opt/navicat_mysql$ ls10 LGPLV2  Navicat  start_navicat  wine11 caopu@caopu-ThinkPad-X1:/opt/navicat_mysql$ ./start_navicat 12 caopu@caopu-ThinkPad-X1:/opt/navicat_mysql$

 

转载于:https://www.cnblogs.com/lanboy/p/6702109.html

你可能感兴趣的文章
C语言键盘按键列表
查看>>
Codeforces Round #374 (Div. 2)
查看>>
oracle数据类型
查看>>
socket
查看>>
Vue中使用key的作用
查看>>
二叉索引树 树状数组
查看>>
日志框架--(一)基础篇
查看>>
Java设计模式之原型模式
查看>>
Spring学习(四)-----Spring Bean引用同xml和不同xml bean的例子
查看>>
哲理故事与管理之道(20)-用危机激励下属
查看>>
关于源程序到可运行程序的过程
查看>>
wepy的使用
查看>>
转载:mysql数据库密码忘记找回方法
查看>>
scratch少儿编程第一季——06、人在江湖混,没有背景怎么行。
查看>>
面向对象1
查看>>
在ns2.35中添加myevalvid框架
查看>>
【贪心+DFS】D. Field expansion
查看>>
为什么要使用href=”javascript:void(0);”
查看>>
二进制文件的查看和编辑
查看>>
Openstack neutron:SDN现状
查看>>