I'm using MongoMapper with Joint on Padrino, and trying to get the upload working. However, I keep getting thrown a
NoMethodError "undefined method 'path' for #<Hash:0xa6fbdf0>"
. It seems like it can't see the path, but the parameters are okay. What is the problem here?
Gist with the code: https://gist.github.com/1323998
I was able to get it to not error, but when I go to find the file with mongofiles
, I can't find. The same goes for rack/grid-fs. Where is Joint saving to, and is it saving at all?