calebhearth / formulaic

Simplify form filling with Capybara
MIT License
552 stars 29 forks source link

What about supporting Rack::Multipart::UploadedFile along with File? #68

Closed IlkhamGaysin closed 1 year ago

IlkhamGaysin commented 6 years 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

calebhearth commented 5 years ago

Sure, I'd take a PR for that.

IlkhamGaysin commented 5 years ago

@calebthompson done, here it's https://github.com/thoughtbot/formulaic/pull/72

IlkhamGaysin commented 4 years ago

@calebthompson any updates?