Guest User

Untitled

a guest
Jun 23rd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. A NoMethodError occurred in promises#upload_image:
  2.  
  3. undefined method `write' for nil:NilClass
  4. [RAILS_ROOT]/vendor/plugins/file_column/lib/magick_file_column.rb:100:in `transform_image'
  5.  
  6. NoMethodError (undefined method `write' for nil:NilClass):
  7. /vendor/plugins/file_column/lib/magick_file_column.rb:100:in `transform_image'
  8. /vendor/plugins/file_column/lib/magick_file_column.rb:21:in `transform_with_magick'
  9. /vendor/plugins/file_column/lib/magick_file_column.rb:17:in `transform_with_magick'
  10. /vendor/plugins/file_column/lib/magick_file_column.rb:219:in `file_magick_after_assign'
  11. /vendor/plugins/file_column/lib/file_column.rb:657:in `file='
  12. /vendor/plugins/file_column/lib/file_column.rb:656:in `file='
  13. /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:2117:in `attributes='
  14. /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:2116:in `attributes='
  15. /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1926:in `initialize'
  16. /app/controllers/promises_controller.rb:284:in `upload_image'
  17. /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:106:in `respond_to'
  18. /app/controllers/promises_controller.rb:280:in `upload_image'
  19. /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters'
  20. /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters'
Add Comment
Please, Sign In to add comment