On 5 March 2012 13:23, Myth17 [email protected] 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 )
It probably means you are passing a parameter of the wrong type, so
the underlying code is calling gsub, expecting it to be a string I
imagine, but it is actually a File.
What is a Filestore? You should use the techniques described in the
Rails Guide on Debugging to break in and inspect the data to check
that it is what you expect.