geokit / geokit-rails

Official Geokit plugin for Rails/ActiveRecord. Provides location-based goodness for your Rails app. Requires the Geokit gem.
MIT License
1.57k stars 245 forks source link

use before_action when available #98

Closed koenpunt closed 8 years ago

koenpunt commented 8 years ago

this to prevent deprecation warnings in rails 5

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.4%) to 50.593% when pulling 7a548135543630a164c01ff8075baed208b1f16e on fetch:rails-5 into 45ae9852591d0682efec753bcdeaf09a3946c524 on geokit:master.

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.4%) to 50.593% when pulling 7a548135543630a164c01ff8075baed208b1f16e on fetch:rails-5 into 45ae9852591d0682efec753bcdeaf09a3946c524 on geokit:master.

mnoack commented 8 years ago

Thanks @koenpunt - I don't suppose you can add a test to ensure the coverage doesn't drop. It's still better to have this PR than not, but a test would be great. See existing tests in test for examples.