method

hide_action

hide_action(*args)
public

Sets all of the actions passed in as hidden actions.

Parameters

  • args - A list of actions

1Note

This method has been completely removed from Rails 5 onwards

taryneast ยท Jan 16, 2019

Completely removed from Rails from 5 onwards. See issue: https://github.com/rails/rails/issues/18336

Just remove from your codebase, or protect with private keyword