Closed IlkhamGaysin closed 1 year ago
I found that this https://github.com/thoughtbot/formulaic/blob/master/lib/formulaic/form.rb#L16 enforces consumers to use File class instance while in rack apps all files are wrapped by http://www.rubydoc.info/gems/rack/Rack/Multipart/UploadedFile
File
http://www.rubydoc.info/gems/rack/Rack/Multipart/UploadedFile
Sure, I'd take a PR for that.
@calebthompson done, here it's https://github.com/thoughtbot/formulaic/pull/72
@calebthompson any updates?
I found that this https://github.com/thoughtbot/formulaic/blob/master/lib/formulaic/form.rb#L16 enforces consumers to use
File
class instance while in rack apps all files are wrapped byhttp://www.rubydoc.info/gems/rack/Rack/Multipart/UploadedFile