Guest User

Untitled

a guest
Feb 19th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.57 KB | None | 0 0
  1. TypeError in UsersController#create
  2.  
  3. Do not know how to handle a string with value 'Humpback Whale.jpg' that was passed to a file_column. Check if the form's encoding has been set to 'multipart/form-data'.
  4.  
  5. RAILS_ROOT: /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/..
  6. Application Trace | Framework Trace | Full Trace
  7.  
  8. #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:68:in `assign'
  9. #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:659:in `small_picture='
  10. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1673:in `send'
  11. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1673:in `attributes='
  12. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1672:in `each'
  13. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1672:in `attributes='
  14. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1506:in `initialize_without_callbacks'
  15. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:225:in `initialize'
  16. #{RAILS_ROOT}/app/controllers/users_controller.rb:26:in `new'
  17. #{RAILS_ROOT}/app/controllers/users_controller.rb:26:in `create'
  18. /usr/bin/thin:19:in `load'
  19. /usr/bin/thin:19
  20.  
  21. #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:68:in `assign'
  22. #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:659:in `small_picture='
  23. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1673:in `send'
  24. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1673:in `attributes='
  25. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1672:in `each'
  26. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1672:in `attributes='
  27. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1506:in `initialize_without_callbacks'
  28. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:225:in `initialize'
  29. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1095:in `send'
  30. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1095:in `perform_action_without_filters'
  31. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:632:in `call_filter'
  32. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter'
  33. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
  34. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter'
  35. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter'
  36. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
  37. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter'
  38. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter'
  39. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
  40. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter'
  41. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:619:in `perform_action_without_benchmark'
  42. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
  43. /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
  44. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
  45. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action'
  46. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `send'
  47. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `process_without_filters'
  48. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:624:in `process_without_session_management_support'
  49. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process'
  50. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'
  51. #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'
  52. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:54:in `serve_rails'
  53. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:74:in `call'
  54. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:59:in `pre_process'
  55. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:50:in `process'
  56. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:35:in `receive_data'
  57. /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run_machine'
  58. /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run'
  59. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/backends/base.rb:45:in `start'
  60. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/server.rb:146:in `start'
  61. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/controllers/controller.rb:79:in `start'
  62. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:166:in `send'
  63. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:166:in `run_command'
  64. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:136:in `run!'
  65. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/bin/thin:6
  66.  
  67. #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:68:in `assign'
  68. #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:659:in `small_picture='
  69. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1673:in `send'
  70. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1673:in `attributes='
  71. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1672:in `each'
  72. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1672:in `attributes='
  73. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1506:in `initialize_without_callbacks'
  74. #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:225:in `initialize'
  75. #{RAILS_ROOT}/app/controllers/users_controller.rb:26:in `new'
  76. #{RAILS_ROOT}/app/controllers/users_controller.rb:26:in `create'
  77. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1095:in `send'
  78. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1095:in `perform_action_without_filters'
  79. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:632:in `call_filter'
  80. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter'
  81. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
  82. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter'
  83. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter'
  84. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
  85. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter'
  86. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter'
  87. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
  88. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter'
  89. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:619:in `perform_action_without_benchmark'
  90. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
  91. /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
  92. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
  93. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action'
  94. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `send'
  95. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `process_without_filters'
  96. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:624:in `process_without_session_management_support'
  97. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process'
  98. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'
  99. #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'
  100. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:54:in `serve_rails'
  101. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:74:in `call'
  102. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:59:in `pre_process'
  103. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:50:in `process'
  104. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:35:in `receive_data'
  105. /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run_machine'
  106. /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run'
  107. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/backends/base.rb:45:in `start'
  108. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/server.rb:146:in `start'
  109. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/controllers/controller.rb:79:in `start'
  110. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:166:in `send'
  111. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:166:in `run_command'
  112. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:136:in `run!'
  113. /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/bin/thin:6
  114. /usr/bin/thin:19:in `load'
  115. /usr/bin/thin:19
  116.  
  117. Request
  118.  
  119. Parameters: {"user"=>{"status"=>"0", "title"=>"test", "large_picture"=>"", "short_bio"=>"test", "classification"=>"Developer", "small_picture"=>"Humpback Whale.jpg", "first_name"=>"test", "user_name"=>"test2", "password"=>"test", "last_name"=>"test"}, "multipart"=>"true", "biography"=>{"long_biography"=>"test"}, "commit"=>"Create", "mce_editor_1_formatSelect"=>"", "service"=>{"6"=>{"status"=>"0", "kind"=>"", "url"=>"", "classification"=>""}, "7"=>{"status"=>"0", "kind"=>"", "url"=>"", "classification"=>""}, "8"=>{"status"=>"0", "kind"=>"", "url"=>"", "classification"=>""}, "9"=>{"status"=>"0", "kind"=>"", "url"=>"", "classification"=>""}, "0"=>{"status"=>"0", "kind"=>"", "url"=>"", "classification"=>""}, "1"=>{"status"=>"0", "kind"=>"", "url"=>"", "classification"=>""}, "2"=>{"status"=>"0", "kind"=>"", "url"=>"", "classification"=>""}, "3"=>{"status"=>"0", "kind"=>"", "url"=>"", "classification"=>""}, "4"=>{"status"=>"0", "kind"=>"", "url"=>"", "classification"=>""}, "10"=>{"status"=>"0", "kind"=>"", "url"=>"", "classification"=>""}, "5"=>{"status"=>"0", "kind"=>"", "url"=>"", "classification"=>""}}, "method"=>"put", "mce_editor_0_fontSizeSelect"=>"0", "mce_editor_0_fontNameSelect"=>"", "mce_editor_0_formatSelect"=>"", "mce_editor_1_fontSizeSelect"=>"0", "mce_editor_1_fontNameSelect"=>""}
  120.  
  121. Show session dump
  122.  
  123. ---
  124. :requested_page:
  125. :user_id: 14
  126. flash: !map:ActionController::Flash::FlashHash {}
  127.  
  128.  
  129. Response
  130. Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}
Add Comment
Please, Sign In to add comment