Forum: Ruby on Rails undefined method `strip' for #<ActionController::UploadedStr

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Af10464d988bde1b15b1a324237bad84?d=identicon&s=25 Dharmdip Rathod (dharmdip)
on 2009-02-06 07:33
i am getting array of uploaded images when i am trying to dump in
database i am getting error

<strong>NoMethodError (undefined method `strip' for
#<ActionController::UploadedStringIO:0x458afe4>):
    /vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:367:in
`sanitize_filename'
    /vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/file_system_backend.rb:48:in
`filename='
</strong>

 help ?
This topic is locked and can not be replied to.