JangoSteve / remotipart

Rails jQuery file uploads via standard Rails "remote: true" forms.
http://os.alfajango.com/remotipart
Other
1k stars 215 forks source link

Fixed deprecation warning for mime types #148

Closed jtrost closed 8 years ago

jtrost commented 8 years ago

Rails 5.0.0.beta4 will log this deprecation warning.

DEPRECATION WARNING: Accessing mime types via constants is deprecated. Please change Mime::HTML to Mime[:html]. (called from render_with_remotipart at ~/gems/remotipart-3a6acb36d46d/lib/remotipart/render_overrides.rb:18)

This pull request fixes the warning.

n-rodriguez commented 8 years ago

Hi there! Any news?

mshibuya commented 8 years ago

Dup of #151.