Replacing open with read solved this issue. Thanks everyone! On Monday, March 5, 2012 6:53:34 PM UTC+5:30, Myth17 wrote: > > I am presented with this error in my code, the line number happens to be > --> > > Filestore.create(:filename => uploaded_file.original_filename , :fileblob > => uploaded_file.open, :bunch => @current_bunch ) > > The code directly uses gsub nowehere, what could be the possible issue? >
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/v7Bt6fzwlmAJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

