calebhearth / formulaic

Simplify form filling with Capybara

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

IlkhamGaysin opened this issue · comments

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

Sure, I'd take a PR for that.

@calebthompson done, here it's #72