Advertisement
Guest User

122324

a guest
May 24th, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.08 KB | None | 0 0
  1. Started POST "/promotion_texts" for 178.93.232.146 at 2015-05-24 12:59:15 +0400
  2. Processing by PromotionTextsController#create as HTML
  3. Parameters: {"utf8"=>"✓", "authenticity_token"=>"plpj8EoCmuYMKPzylMp5TJUA7W0ivIiXa0eemjwpjFo=", "promotion_text"=>{"promo_text"=>"тест 6 блаблабла картинка с ошибкой"}, "images"=>[#<ActionDispatch::Http::UploadedFile:0xb5352770 @tempfile=#<Tempfile:/tmp/RackMultipart20150524-9923-1xzssv9>, @original_filename="блок карт1.xml", @content_type="text/xml", @headers="Content-Disposition: form-data; name=\"images[]\"; filename=\"\xD0\xB1\xD0\xBB\xD0\xBE\xD0\xBA \xD0\xBA\xD0\xB0\xD1\x80\xD1\x821.xml\"\r\nContent-Type: text/xml\r\n">]}
  4. User Load (2.0ms) SELECT `users`.* FROM `users` WHERE `users`.`is_deleted` = 0 AND `users`.`id` = 10733 LIMIT 1
  5. (0.3ms) BEGIN
  6. SQL (1.2ms) UPDATE `users` SET `last_request_at` = '2015-05-24 08:59:15', `perishable_token` = 'ECKik5H1M8FhvCktcHNT', `updated_at` = '2015-05-24 08:59:15' WHERE `users`.`id` = 10733
  7. (4.0ms) COMMIT
  8. (2.2ms) SELECT COUNT(*) FROM `access_rules` WHERE (permission = 'promotion_texts#create' and user_id = 10733)
  9. (0.2ms) BEGIN
  10. SQL (1.0ms) INSERT INTO `promotion_texts` (`created_at`, `promo_text`, `updated_at`) VALUES ('2015-05-24 08:59:15', 'тест 6 блаблабла картинка с ошибкой', '2015-05-24 08:59:15')
  11. (2.4ms) COMMIT
  12. Pharmacy Load (0.8ms) SELECT `pharmacies`.* FROM `pharmacies` WHERE `pharmacies`.`id` IS NULL
  13. Pharmacy Load (1.5ms) SELECT `pharmacies`.* FROM `pharmacies` INNER JOIN `pharmacies_promotion_texts` ON `pharmacies`.`id` = `pharmacies_promotion_texts`.`pharmacy_id` WHERE `pharmacies_promotion_texts`.`promotion_text_id` = 1042
  14. (0.2ms) BEGIN
  15. (0.2ms) COMMIT
  16. (0.4ms) BEGIN
  17. (0.5ms) COMMIT
  18. (0.3ms) BEGIN
  19. (0.5ms) ROLLBACK
  20. PharmacyCategory Load (0.5ms) SELECT `pharmacy_categories`.* FROM `pharmacy_categories` WHERE `pharmacy_categories`.`name` = 'Без категории' LIMIT 1
  21. Pharmacy Load (12.1ms) SELECT `pharmacies`.* FROM `pharmacies` WHERE `pharmacies`.`is_deleted` = 0 ORDER BY `pharmacies`.`pharmacy_chain_id` ASC, `pharmacies`.`number` ASC
  22. HABTM_PromotionTexts Load (0.7ms) SELECT `pharmacies_promotion_texts`.* FROM `pharmacies_promotion_texts` WHERE `pharmacies_promotion_texts`.`pharmacy_id` IN (5055, 4945, 5154, 5155, 5156, 5157, 4925, 4904, 5158, 5159, 5160, 5161, 4862, 4857, 5080, 5163, 5034, 5164, 4943, 4842, 5165, 5166, 4942, 5167, 4868, 5074, 4960, 5100, 4957, 4822, 4823, 4935, 4828, 29, 4924, 5102, 4982, 4930, 42, 4738, 4820, 5024, 46, 4934, 4821, 4837, 4955, 5032, 54, 4742, 4858, 5035, 4853, 5049, 5051, 5033, 4971, 4918, 4883, 64, 5037, 5041, 4836, 4932, 4859, 70, 5036, 4825, 4938, 4941, 4917, 77, 4835, 4741, 4865, 4838, 5039, 5057, 4900, 4867, 4887, 4915, 5066, 4734, 4966, 4856, 5105, 4878, 4847, 4875, 4931, 4923, 4922, 4736, 4895, 5072, 4956, 5065, 5210, 5219, 5042, 4743, 117, 112, 4967, 4939, 5085, 4864, 4927, 4890, 4946, 4926, 4839, 5067, 4863, 5126, 5188, 5217, 5220, 5186, 4869, 5193, 5053, 5052, 5179, 5050, 4861, 4824, 5092, 5091, 5087, 4947, 5096, 4969, 5090, 5097, 5088, 5089, 5098, 5093, 5099, 5048, 5175, 5044, 5192, 4829, 4735, 4914, 5040, 4940, 157, 5079, 5084, 5083, 4896, 4892, 4919, 4880, 5209, 5213, 5221, 5218, 5216, 5202, 5070, 5082, 4921, 4843, 4833, 5114, 5130, 4827, 5169, 5117, 5170, 223, 5200, 5122, 5121, 5113, 5119, 5110, 4855, 5135, 5173, 5123, 5128, 5112, 4850, 5120, 5199, 5189, 5185, 5111, 5211, 5212, 5222, 5142, 5149, 5129, 5131, 4831, 4832, 5127, 4920, 5047, 5132, 5171, 5027, 4911, 4844, 5174, 4944, 5141, 4870, 5143, 5150, 5043, 4899, 4834, 4888, 4958, 4854, 4936, 4928, 4916, 4894, 5068, 5045, 4733, 4791, 4902, 5071, 5700, 5760, 5761, 5775, 5811, 5861, 5875, 5046, 1251, 4860, 5152, 5502, 5518, 5038, 4968, 4730, 5552, 5645, 5650, 5679, 5681, 5054, 5215, 5230, 5232, 5235, 5525, 5453, 5463, 5481, 5517, 5898, 48091, 5485, 602, 5056, 334, 318, 323, 324, 296, 293, 321, 292, 652, 327, 338, 366, 294, 680, 331, 314, 329, 319, 367, 332, 289, 283, 295, 320, 288, 287, 290, 341, 337, 322, 282, 316, 281, 654, 328, 335, 325, 285, 333, 315, 702, 696, 642, 657, 309, 632, 700, 656, 276, 368, 286, 284, 298, 297, 305, 304, 301, 311, 302, 306, 339, 336, 300, 303, 308, 291, 356, 724, 719, 723, 720, 721, 722, 631, 330, 313, 307, 643, 644, 645, 279, 641, 630, 725, 340, 278, 633, 280, 636, 634, 635, 646, 637, 647, 677, 648, 649, 650, 651, 655, 663, 660, 659, 653, 684, 661, 667, 669, 658, 671, 673, 662, 383, 668, 666, 674, 672, 675, 375, 343, 344, 679, 676, 678, 681, 682, 714, 697, 342, 345, 683, 686, 5304, 353, 687, 346, 347, 690, 689, 350, 370, 369, 351, 703, 706, 348, 692, 691, 694, 693, 705, 708, 699, 698, 352, 707, 354, 712, 709, 710, 711, 716, 737, 715, 718, 727, 728, 729, 726, 733, 731, 730, 732, 745, 734, 735, 743, 738, 736, 739, 742, 358, 746, 361, 360, 359, 357, 362, 365, 363, 364, 373, 439, 421, 371, 381, 376, 374, 377, 378, 379, 380, 382, 388, 386, 384, 385, 387, 389, 390, 391, 394, 395, 396, 398, 397, 401, 402, 403, 399, 400, 405, 406, 407, 408, 410, 409, 411, 412, 417, 416, 415, 418, 451, 420, 419, 423, 424, 422, 425, 426, 427, 428, 429, 430, 431, 435, 432, 433, 442, 438, 437, 440, 443, 463, 444, 447, 446, 448, 449, 445, 456, 453, 458, 459, 460, 462, 464, 468, 465, 486, 466, 467, 470, 473, 475, 476, 478, 479, 480, 481, 482, 487, 488, 489, 490, 492, 493, 494, 497, 500, 496, 499, 501, 503, 506, 505, 504, 508, 507, 511, 510, 512, 517, 515, 516, 521, 520, 514, 522, 519, 518, 523, 524, 525, 527, 530, 531, 528, 583, 533, 534, 532, 552, 574, 538, 541, 535, 539, 557, 542, 536, 558, 544, 537, 540, 549, 556, 554, 553, 567, 550, 555, 560, 561, 563, 547, 559, 568, 566, 562, 565, 570, 572, 573, 575, 579, 580, 581, 582, 584, 586, 587, 588, 590, 589, 591, 593, 594, 595, 592, 596, 599, 600, 601, 604, 5385, 607, 609, 610, 615, 613, 614, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 803, 628, 804, 805, 1183, 1214, 1217, 2616, 639, 4818, 4819, 4952, 4973, 5031, 5776, 5828, 5831, 5423, 5872, 5893, 5228, 2617, 5615, 5643, 5644, 5646, 5647, 5448, 5059, 5058, 5062, 5073, 5077, 5177, 5180, 5182, 5184, 5194, 5195, 5196, 5197, 5198, 5201, 5203, 5227, 5720, 5241, 5446, 5484, 5028, 5029, 5030, 704, 5424, 5570, 5571, 5569, 5572, 5573, 5594, 5590, 5581, 5575, 5576, 5577, 5579, 5580, 5578, 5582, 5583, 5574, 5592, 5584, 5586, 5587, 5595, 5588, 5585, 5593, 5591, 5589, 5903, 10797, 10798, 10799, 10800, 10801, 11911, 13595, 18189, 21088, 24088, 50092, 5455, 1148, 1149, 1150, 1151, 1152, 1153, 1154, 1155, 1156, 1157, 3625, 3626, 3629, 3631, 3632, 4676, 4677, 4686, 4937, 5176, 4845, 4866, 4949, 4981, 4984, 4985, 5183, 1158, 5187, 5204, 5239, 5840, 4687, 5178, 5013, 5021, 4987, 5018, 5015, 5020, 5019, 5004, 5005, 5007, 5008, 5009, 5011, 5010, 5014, 5012, 5635, 4998, 5016, 5017, 4996, 5003, 4995, 4994, 5002, 5526, 5701, 5733, 5847, 5000, 4997, 5023, 5001, 4988, 4989, 5636, 5549, 5648, 4999, 5229, 5242, 5425, 5426, 5427, 5428, 5429, 5430, 5431, 5432, 5433, 5460, 5461, 5462, 5474, 7519, 7520, 7521, 7522, 17246, 22087, 28086, 39089, 39090, 5885, 5191, 4792, 4793, 4794, 4795, 4796, 4797, 4798, 4799, 4800, 4801, 4802, 4803, 4804, 4805, 4806, 4807, 4808, 4809, 4810, 4811, 4812, 5721, 5722, 5729, 5734, 5815, 5838, 5867, 5868, 5894, 8061, 10245, 45090, 5884, 5064, 5237, 3160, 3161, 3167, 3172, 3163, 3164, 3166, 3178, 3181, 3190, 3192, 3194, 3169, 3170, 3171, 3197, 3200, 4886, 4815, 4817, 3173, 3174, 3177, 3179, 3206, 3203, 3208, 3212, 3183, 3184, 3185, 3186, 3187, 3189, 3213, 3215, 3219, 3221, 3227, 3191, 3196, 3233, 3198, 3236, 3199, 3238, 3240, 3241, 3244, 3201, 3202, 3246, 3248, 3204, 3324, 3332, 3325, 3326, 3327, 3328, 3329, 3331, 3333, 3214, 3218, 3220, 3225, 3231, 3334, 3335, 3337, 3339, 3342, 3343, 3345, 3347, 3348, 3349, 3350, 3351, 3239, 3242, 3245, 3352, 3353, 3354, 3355, 3247, 3251, 3254, 3255, 3356, 3257, 3261, 3357, 3359, 3360, 3361, 3362, 3363, 3364, 3366, 3367, 3263, 3368, 3369, 3267, 3370, 3371, 3372, 3373, 3374, 3375, 3377, 3269, 3270, 3275, 3378, 3380, 3382, 3383, 3384, 3277, 3279, 3282, 3283, 3389, 3391, 3392, 3394, 3397, 3284, 3286, 3398, 3399, 3400, 3401, 3402, 3288, 3289, 3290, 3405, 3407, 3408, 3409, 3291, 3410, 3411, 3292, 3293, 3294, 3412, 3296, 3413, 3298, 3415, 3416, 3417, 3418, 3421, 3423, 3424, 3300, 3426, 3301, 3302, 3303, 3305, 3306, 3427, 3429, 3430, 3431, 3432, 3434, 3435, 3436, 3437, 3439, 3440, 3441, 3442, 3444, 3446, 3448, 3450, 3159, 3083, 3455, 3313, 3316, 3456, 3317, 3318, 3319, 3457, 3458, 3459, 3460, 3461, 3462, 3463, 3464, 3465, 3542, 3541, 3561, 3563, 3466, 3540, 3468, 3469, 3560, 3553, 3543, 3470, 3472, 3473, 3474, 3475, 4816, 3544, 3545, 3555, 3547, 3575, 3577, 3579, 3580, 3582, 3548, 3476, 3477, 3478, 3479, 3480, 3568, 3569, 3583, 3584, 3481, 3482, 3586, 3593, 3594, 3597, 3483, 3484, 3487, 3490, 3491, 3550, 3598, 3578, 3601, 3549, 3492, 3493, 3494, 3570, 3495, 3498, 3499, 3500, 3502, 3503, 3504, 3506, 3587, 3589, 3507, 3508, 3509, 3510, 3511, 3512, 3603, 3604, 3605, 5640, 3608, 3609, 3611, 3612, 3514, 3515, 3516, 3613, 3615, 3616, 3617, 3618, 3619, 3518, 3520, 3521, 3590, 3591, 3592, 3523, 3524, 3554, 3551, 3526, 3527, 3528, 3529, 3530, 3531, 3532, 3534, 3536, 3539, 3552, 3571, 3131, 3585, 5561, 5562, 5559, 5560, 5727, 5565, 5563, 5728, 5777, 5564, 5567, 5548, 5547, 5692, 5558, 5568, 5608, 5566, 5659, 5779, 5780, 5778, 5611, 5612, 5667, 5813, 5658, 5660, 5609, 5610, 5557, 5550, 5596, 5687, 5691, 5695, 5696, 5697, 5798, 5809, 5829, 5842, 5843, 5858, 5863, 5870, 5879, 5882, 5886, 9696, 9697, 10246, 19135, 20083, 26086, 29088, 35089, 45089, 50093, 5896, 5528, 5475, 5181, 4099, 4102, 4103, 4105, 4109, 4110, 4112, 4114, 4115, 4119, 4121, 4122, 4123, 4127, 4128, 4129, 4131, 4132, 4134, 4138, 37089, 5464, 5371, 5205, 5206, 5207, 5208, 5214, 5225, 5236, 5439, 5465, 5694, 5702, 5707, 5710, 5711, 5713, 5718, 5719, 5717, 5723, 5724, 5725, 5726, 5732, 5735, 5737, 5738, 5742, 5743, 5744, 5759, 5762, 5763, 5764, 5765, 5766, 5767, 5768, 5769, 5770, 5771, 5772, 5773, 5774, 5791, 5794, 5795, 5793, 5796, 5792, 5797, 5810, 5812, 5814, 5816, 5825, 5826, 5827, 5830, 5846, 5854, 5855, 5860, 5859, 5865, 5874, 5878, 5891, 5499, 5500, 5505, 5506, 5508, 5510, 5511, 5512, 5521, 5522, 5524, 5531, 5530, 5537, 5540, 5541, 5551, 5630, 5554, 5555, 5598, 5600, 5601, 5602, 5604, 5605, 5606, 5607, 5616, 5618, 5619, 5620, 5621, 5623, 5626, 5627, 5637, 5638, 5639, 5642, 5649, 5657, 5666, 5669, 5683, 5684, 5234, 5243, 5420, 5421, 5422, 5435, 5436, 5437, 5438, 5440, 5441, 5442, 5443, 5444, 5445, 5447, 5449, 5450, 5456, 5457, 5458, 5459, 5467, 5468, 5469, 5470, 5472, 5473, 5478, 5479, 5480, 5483, 5486, 5487, 5488, 5498, 6980, 6442, 10796, 13032, 13594, 13596, 13597, 13598, 14162, 17247, 19137, 19136, 19138, 19134, 19133, 21087, 21086, 20086, 22086, 23086, 30089, 29087, 30090, 31089, 31090, 36089, 40089, 40090, 44089, 48092, 48093, 48094, 49090, 49091, 5664, 5466, 5730, 5821, 5869, 5501, 5503, 5539, 5693, 5651, 5653, 5654, 5652, 5238, 5476, 43090, 51090, 5849, 5520, 5746, 5490, 5491, 5492, 5493, 5495, 5496, 5497, 5504, 5509, 5513, 5519, 5523, 5527, 5535, 5536, 5543, 5544, 5545, 5546, 5597, 5613, 5625, 5628, 5629, 5631, 5632, 5633, 5634, 5641, 5670, 5671, 5672, 5673, 5674, 5675, 5676, 5677, 5678, 5688, 5689, 5698, 5715, 5716, 5736, 5745, 5747, 5748, 5749, 5750, 5751, 5786, 5787, 5788, 5790, 5789, 5799, 5800, 5801, 5802, 5803, 5804, 5805, 5806, 5807, 5808, 5832, 5833, 5834, 5835, 5836, 5848, 5876, 5877, 5881, 5880, 8604, 8605, 9149, 9150, 16305, 16306, 16307, 20085, 20084, 24087, 24086, 23087, 29086, 40091, 41089, 43089, 5714, 5703, 5704, 5705, 5706, 5708, 5709, 5739, 5740, 5741, 5841, 5844, 5845, 5873, 5532, 5533, 5534, 5542, 5599, 5655, 5656, 5668, 5680, 5690, 5899, 5900, 5901, 5902, 29089, 30091, 27086, 5752, 5753, 5754, 5755, 5781, 5782, 5783, 5784, 5785, 5822, 5823, 5824, 5852, 5853, 5892, 5665, 5662, 5663, 5685, 47090, 48090, 50090, 50091, 11353, 5817, 5818, 5819, 5820, 5851, 5857, 5856, 5862, 5866, 5895, 5897, 5904, 12470, 12471, 13599, 46090, 46091, 33089, 5850, 5864, 5871, 25086, 23088, 52090, 5883, 5890, 5889, 5888, 5887)
  23. PromotionText Load (0.9ms) SELECT `promotion_texts`.* FROM `promotion_texts` WHERE `promotion_texts`.`id` IN (873, 903, 1035, 874, 875, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, 899, 900, 901, 902, 904, 905)
  24. PharmacyChain Load (0.5ms) SELECT `pharmacy_chains`.* FROM `pharmacy_chains` WHERE `pharmacy_chains`.`id` IN (1, 2, 3, 4, 5, 6, 7, 12, 14, 15, 16, 17, 18, 20, 21, 22, 23)
  25. PharmacyCategory Load (0.5ms) SELECT `pharmacy_categories`.* FROM `pharmacy_categories` WHERE `pharmacy_categories`.`id` IN (10, 30, 15, 42, 21, 28, 34, 25, 33, 22, 23, 18, 37, 20, 38, 31, 16, 29, 19, 35, 26, 27, 17, 24, 44, 32, 36, 39, 40, 41, 43)
  26. Completed 500 Internal Server Error in 3641ms
  27.  
  28. NameError (undefined local variable or method `promotion_text_saved' for #<PromotionTextsController:0xb5353148>):
  29. app/controllers/promotion_texts_controller.rb:32:in `create'
  30. lib/compressed_requests.rb:22:in `call'
  31.  
  32.  
  33. Started GET "/favicon.ico" for 178.93.232.146 at 2015-05-24 12:59:20 +0400
  34.  
  35. ActionController::RoutingError (No route matches [GET] "/favicon.ico"):
  36. vendor/bundle/ruby/2.2.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  37. vendor/bundle/ruby/2.2.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  38. vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/rack/logger.rb:38:in `call_app'
  39. vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/rack/logger.rb:20:in `block in call'
  40. vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.6/lib/active_support/tagged_logging.rb:68:in `block in tagged'
  41. vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.6/lib/active_support/tagged_logging.rb:26:in `tagged'
  42. vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.6/lib/active_support/tagged_logging.rb:68:in `tagged'
  43. vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/rack/logger.rb:20:in `call'
  44. vendor/bundle/ruby/2.2.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/request_id.rb:21:in `call'
  45. vendor/bundle/ruby/2.2.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
  46. vendor/bundle/ruby/2.2.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
  47. vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.6/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
  48. vendor/bundle/ruby/2.2.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
  49. vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/engine.rb:514:in `call'
  50. vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/application.rb:144:in `call'
  51. vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/railtie.rb:194:in `public_send'
  52. vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/railtie.rb:194:in `method_missing'
  53. vendor/bundle/ruby/2.2.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
  54. vendor/bundle/ruby/2.2.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
  55. vendor/bundle/ruby/2.2.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
  56. vendor/bundle/ruby/2.2.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
  57. vendor/bundle/ruby/2.2.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
  58. vendor/bundle/ruby/2.2.0/bin/unicorn:23:in `load'
  59. vendor/bundle/ruby/2.2.0/bin/unicorn:23:in `<main>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement