Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started GET "/invoices/manually_added_invoices/new" for 37.229.65.246 at 2014-08-01 01:38:03 +0400
- Processing by ManuallyAddedInvoicesController#new as HTML
- User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`is_deleted` = 0 AND `users`.`id` = 15549 LIMIT 1
- (0.2ms) BEGIN
- SQL (0.5ms) UPDATE `users` SET `last_request_at` = '2014-07-31 21:38:03', `perishable_token` = 'dUuTsfzReBXVoLy9sDCC', `updated_at` = '2014-07-31 21:38:03' WHERE `users`.`id` = 15549
- (1.5ms) COMMIT
- (0.2ms) SELECT COUNT(*) FROM `access_rules` WHERE (permission = 'manually_added_invoices#new' and user_id = 15549)
- Pharmacy Load (6.0ms) SELECT `pharmacies`.* FROM `pharmacies` WHERE `pharmacies`.`is_configured` = 1 ORDER BY pharmacies.last_request_at DESC
- PharmacyChain Load (0.2ms) SELECT `pharmacy_chains`.* FROM `pharmacy_chains` WHERE `pharmacy_chains`.`id` IN (6, 14, 2, 4, 1, 5, 7, 18, 17, 15, 20, 3, 12, 9, 10, 8, 11)
- Supplier Load (4.9ms) SELECT `suppliers`.* FROM `suppliers` WHERE `suppliers`.`pharmacy_chain_id` IS NULL
- Rendered manually_added_invoices/_form.html.erb (1310.7ms)
- Rendered manually_added_invoices/new.html.erb within layouts/application (1314.2ms)
- Completed 500 Internal Server Error in 1340ms
- ActionView::Template::Error (wrong number of arguments (1 for 0)):
- 53: <div class="input-append">
- 54: <%= label :date, "От", :class => "control-label" %>
- 55: <div class="controls">
- 56: <%= f.text_field :date, :required => true, :value => @invoice.date.to_s(:dotted_dmY) %>
- 57: </div>
- 58: </div>
- 59: </div>
- app/views/manually_added_invoices/_form.html.erb:56:in `to_s'
- app/views/manually_added_invoices/_form.html.erb:56:in `block in _app_views_manually_added_invoices__form_html_erb__487893519__552011918'
- app/views/manually_added_invoices/_form.html.erb:13:in `_app_views_manually_added_invoices__form_html_erb__487893519__552011918'
- app/views/manually_added_invoices/new.html.erb:9:in `_app_views_manually_added_invoices_new_html_erb__432947842__551971628'
- config/initializers/flash_for_rendering.rb:21:in `render'
- app/controllers/manually_added_invoices_controller.rb:14:in `new'
- lib/compressed_requests.rb:22:in `call'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement