{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/clearance/issues/519","labels_url":"https://api.github.com/repos/thoughtbot/clearance/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/clearance/issues/519/comments","events_url":"https://api.github.com/repos/thoughtbot/clearance/issues/519/events","html_url":"https://github.com/thoughtbot/clearance/issues/519","id":54373217,"number":519,"title":"before_filter is deprecated in 4.2","user":{"login":"derekprior","id":152152,"avatar_url":"https://avatars.githubusercontent.com/u/152152?v=3","gravatar_id":"","url":"https://api.github.com/users/derekprior","html_url":"https://github.com/derekprior","followers_url":"https://api.github.com/users/derekprior/followers","following_url":"https://api.github.com/users/derekprior/following{/other_user}","gists_url":"https://api.github.com/users/derekprior/gists{/gist_id}","starred_url":"https://api.github.com/users/derekprior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekprior/subscriptions","organizations_url":"https://api.github.com/users/derekprior/orgs","repos_url":"https://api.github.com/users/derekprior/repos","events_url":"https://api.github.com/users/derekprior/events{/privacy}","received_events_url":"https://api.github.com/users/derekprior/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-14T20:37:12Z","updated_at":"2015-01-14T21:30:28Z","closed_at":null,"body":"Rails 4.2 deprecates `before_filter` and `skip_before_filter`. We can't switch to `before_action` and `skip_before_action` in 1.x because we support Rails 3.\r\n\r\nSo... we likely need to define a method on Clearance::BaseController that can be called instead and dispatches the proper method based on whats defined."},"comment":{"url":"https://api.github.com/repos/thoughtbot/clearance/issues/comments/69995721","html_url":"https://github.com/thoughtbot/clearance/issues/519#issuecomment-69995721","issue_url":"https://api.github.com/repos/thoughtbot/clearance/issues/519","id":69995721,"user":{"login":"jferris","id":7591,"avatar_url":"https://avatars.githubusercontent.com/u/7591?v=3","gravatar_id":"","url":"https://api.github.com/users/jferris","html_url":"https://github.com/jferris","followers_url":"https://api.github.com/users/jferris/followers","following_url":"https://api.github.com/users/jferris/following{/other_user}","gists_url":"https://api.github.com/users/jferris/gists{/gist_id}","starred_url":"https://api.github.com/users/jferris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jferris/subscriptions","organizations_url":"https://api.github.com/users/jferris/orgs","repos_url":"https://api.github.com/users/jferris/repos","events_url":"https://api.github.com/users/jferris/events{/privacy}","received_events_url":"https://api.github.com/users/jferris/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T21:30:28Z","updated_at":"2015-01-14T21:30:28Z","body":"> Yes. But I need to do that 6 different times. So I was going to wrap that in a method on Clearance::BaseController\r\n\r\nSounds good to me."}}