bellycard / napa

A simple framework for building APIs with Grape
Other
329 stars 72 forks source link

Explicitly require `filter_parameters.rb` instead of relying on `action_dispatch` autoload #181

Closed ryanbriones closed 9 years ago

ryanbriones commented 9 years ago

In action_pack 4.1 autoloading of FilterParameters was removed from action_dispatch (https://github.com/rails/rails/commit/8d7923b7eb0dd638d1426aadde2b2d9835ecf68d)

This change fixes an exception that is raised at application load time when using napa in a Rails >= 4.1 application.

umtrey commented 9 years ago

:dancer:

itsbagpack commented 9 years ago

+1 awesome! thanks for fixing that @ryanbriones !