title: Issue with upgrading to Rails 5 - before filter
body: <p>I know that before_filter is deprecated with rails. I'm not calling it but for some reason I'm getting a message that is saying I am. <code>before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from &lt;top (required)&gt; at /Users/intern/Desktop/Work/app/config/environment.rb:5)</code></p>
  
  <p>In that file <code>environment.rb</code> on line 5 I'm not calling before filter but this line <code>Rails.application.initialize!</code></p>
  
  <p>Why would it be saying that a before filter is being used when it's not being called there? Any help would be great! Thanks.</p>