You probably saw this one coming – the classic before_filter -family hooks in the controller will be deprecated and eventually removed from Rails in favour of the before_action -family hooks.
(Note: there is an ongoing discussion around when this deprecation should happen, due to concerns from gem authors who need to support multiple versions of Rails. Therefore, there is a good chance that this commit will be eventually reverted and deferred to a later release. Nevertheless, you should start using the new names in your application if possible.)
|