Advertisement
Guest User

Error log

a guest
Jul 23rd, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | None | 0 0
  1.  
  2. [2014-07-23 15:44:40 +0200] [INFO] [127.0.0.1] Started POST "/products" for 127.0.0.1 at 2014-07-23 15:44:40 +0200
  3. [2014-07-23 15:44:40 +0200] [INFO] [127.0.0.1] Processing by ProductsController#create as HTML
  4. [2014-07-23 15:44:40 +0200] [INFO] [127.0.0.1] Parameters: {"utf8"=>"✓", "authenticity_token"=>"R0s2GL9BCFxs6lpV5HPY1J5GNLemiSgDTOiQi4jOkIA=", "product"=>{"images"=>["[{\"public_id\":\"wxhlvg6isn04wrjlqutq\",\"version\":1406123053,\"signature\":\"cff8d8f0573838bbc74bc3132073401ef147f1b3\",\"width\":640,\"height\":587,\"format\":\"jpg\",\"resource_type\":\"image\",\"created_at\":\"2014-07-23T13:44:13Z\",\"tags\":[\"attachinary_tmp\",\"development_env\"],\"bytes\":71685,\"type\":\"upload\",\"etag\":\"61410adc6d522d76227b725faecd7a39\",\"url\":\"http://res.cloudinary.com/hipclosetsa/image/upload/v1406123053/wxhlvg6isn04wrjlqutq.jpg\",\"secure_url\":\"https://res.cloudinary.com/hipclosetsa/image/upload/v1406123053/wxhlvg6isn04wrjlqutq.jpg\"}]", "[{\"public_id\":\"rw0e1jpnjlgyuox90pic\",\"version\":1406123059,\"signature\":\"038607570da9bc3b347b4ab3982eec5e289d2484\",\"width\":640,\"height\":587,\"format\":\"jpg\",\"resource_type\":\"image\",\"created_at\":\"2014-07-23T13:44:19Z\",\"tags\":[\"attachinary_tmp\",\"development_env\"],\"bytes\":71685,\"type\":\"upload\",\"etag\":\"61410adc6d522d76227b725faecd7a39\",\"url\":\"http://res.cloudinary.com/hipclosetsa/image/upload/v1406123059/rw0e1jpnjlgyuox90pic.jpg\",\"secure_url\":\"https://res.cloudinary.com/hipclosetsa/image/upload/v1406123059/rw0e1jpnjlgyuox90pic.jpg\"}]"], "department_id"=>"", "category_id"=>"9", "title"=>"xccascs", "description"=>"csacsacsacsas", "tags"=>"", "size_id"=>"161", "brand"=>"csacsass", "condition_id"=>"1", "retails_price"=>"", "selling_price"=>"222222", "quantity_option"=>"1", "quantity"=>"1", "ship_method_ids"=>["8", ""], "shipping_cost"=>"", "handling_time"=>"1"}, "commit"=>"Sell Item"}
  5. [2014-07-23 15:44:40 +0200] [DEBUG] [127.0.0.1] User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 ORDER BY "users"."id" ASC LIMIT 1
  6. [2014-07-23 15:44:40 +0200] [DEBUG] [127.0.0.1] ShipMethod Load (0.4ms) SELECT "ship_methods".* FROM "ship_methods" WHERE "ship_methods"."id" = $1 LIMIT 1 [["id", 8]]
  7. [2014-07-23 15:44:40 +0200] [DEBUG] [127.0.0.1] Unpermitted parameters: signature, created_at, tags, bytes, type, etag, url, secure_url
  8. [2014-07-23 15:44:40 +0200] [DEBUG] [127.0.0.1] Unpermitted parameters: signature, created_at, tags, bytes, type, etag, url, secure_url
  9. [2014-07-23 15:44:40 +0200] [DEBUG] [127.0.0.1] State Load (0.6ms) SELECT "states".* FROM "states" WHERE (description = 'active') ORDER BY "states"."id" ASC LIMIT 1
  10. [2014-07-23 15:44:40 +0200] [DEBUG] [127.0.0.1] (0.4ms) BEGIN
  11. [2014-07-23 15:44:40 +0200] [DEBUG] [127.0.0.1] Product Exists (1.3ms) SELECT 1 AS one FROM "products" WHERE ("products"."id" IS NOT NULL) AND "products"."slug" = 'xccascs' LIMIT 1
  12. [2014-07-23 15:44:40 +0200] [DEBUG] [127.0.0.1] (0.6ms) ROLLBACK
  13. [2014-07-23 15:44:40 +0200] [INFO] [127.0.0.1] Rendered products/new.html.erb within layouts/application (4.7ms)
  14. [2014-07-23 15:44:40 +0200] [INFO] [127.0.0.1] Completed 500 Internal Server Error in 34ms
  15. [2014-07-23 15:44:40 +0200] [FATAL] [127.0.0.1]
  16. ActionView::Template::Error (private method `select' called for nil:NilClass):
  17. 40: <br><br>
  18. 41:
  19. 42: <div class = "row next-block2">
  20. 43: <% @department.select("name, id").each do |department| %>
  21. 44: <%= content_tag :div, class: "col-sm-3" do %>
  22. 45: <%= link_to "#", class: "signup-btn department", id: department.id do %>
  23. 46: <%= content_tag :div, class: "intended-choose-box", id: department_selec(department.name)[:type] do %>
  24. app/views/products/new.html.erb:43:in `block in _app_views_products_new_html_erb__1433640673625747142_70152121148220'
  25. app/views/products/new.html.erb:1:in `_app_views_products_new_html_erb__1433640673625747142_70152121148220'
  26. app/controllers/products_controller.rb:85:in `block (2 levels) in create'
  27. app/controllers/products_controller.rb:80:in `create'
  28.  
  29.  
  30. [2014-07-23 15:44:40 +0200] [INFO] [127.0.0.1] Rendered /Users/davidfranciscus/.rvm/gems/ruby-2.1.1@hipcloset/gems/actionpack-4.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
  31. [2014-07-23 15:44:40 +0200] [INFO] [127.0.0.1] Rendered /Users/davidfranciscus/.rvm/gems/ruby-2.1.1@hipcloset/gems/actionpack-4.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms)
  32. [2014-07-23 15:44:40 +0200] [INFO] [127.0.0.1] Rendered /Users/davidfranciscus/.rvm/gems/ruby-2.1.1@hipcloset/gems/actionpack-4.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (12.7ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement