Skip to content

Remove ActionController::HideActions (closes #18336)#18371

Merged
dhh merged 1 commit into
rails:masterfrom
brainopia:remove_hide_actions
Jan 8, 2015
Merged

Remove ActionController::HideActions (closes #18336)#18371
dhh merged 1 commit into
rails:masterfrom
brainopia:remove_hide_actions

Conversation

@brainopia

Copy link
Copy Markdown
Contributor

cc @dhh

@brainopia brainopia force-pushed the remove_hide_actions branch from 3376e51 to 08d3f0e Compare January 6, 2015 20:41
@brainopia

Copy link
Copy Markdown
Contributor Author

@dhh Hello, David. If there is anything you'd like to see changed in pull-request, I'd be happy to be of service.

@dhh

dhh commented Jan 8, 2015

Copy link
Copy Markdown
Member

We were thinking about whether there were any consequences for ActionMailer etc, but let's just proceed with this for now, and we can follow up if there's any fallout. Thanks for working on this! It's great to prune the dead branches off the tree.

dhh pushed a commit that referenced this pull request Jan 8, 2015
Remove ActionController::HideActions (closes #18336)
@dhh dhh merged commit 46c853f into rails:master Jan 8, 2015
iamvery added a commit to iamvery/pundit that referenced this pull request Feb 2, 2016
* Rails 5 beta removes this interface
  rails/rails#18371
* Using protected over private so that subclasses of the including class
  may still access these methods.
* Since these methods are called directly in test, we raise the access
  modifier to public for them to preserve the test behavior.
takaesu-ug added a commit to 1pac/trice that referenced this pull request Sep 29, 2016
* Adjust trice.gemspec.
* Removed hide_action method. [rails/rails#18371](rails/rails#18371)
* Defined helper_method as private instead of hide_action. [rails/rails#18336](rails/rails#18336)
* Add rails-controller-testing gem.
takaesu-ug added a commit to 1pac/trice that referenced this pull request Sep 29, 2016
* Adjust trice.gemspec.
* Removed hide_action method. [rails/rails#18371](rails/rails#18371)
* Defined helper_method as private instead of hide_action. [rails/rails#18336](rails/rails#18336)
* Add rails-controller-testing gem.
takaesu-ug added a commit to 1pac/trice that referenced this pull request Sep 29, 2016
* Adjust trice.gemspec.
* Removed hide_action method.  refs: rails/rails#18371
* Defined helper_method as private instead of hide_action. refs: rails/rails#18336
* Add rails-controller-testing gem.
takaesu-ug added a commit to 1pac/trice that referenced this pull request Sep 30, 2016
* Adjust trice.gemspec.
* Removed hide_action method.  refs: rails/rails#18371
* Defined helper_method as private instead of hide_action. refs: rails/rails#18336
* Add rails-controller-testing gem.
skalee added a commit to riboseinc/synced_resources that referenced this pull request Oct 18, 2017
The ActionController::HideActions module has been removed from Rails as
of 5.0.  The #hide_action method wasn't very useful, though.  The effect
was basically equivalent to making a method private.

See:
- varvet/pundit#23 (comment)
- rails/rails#18336
- rails/rails#18371
skalee added a commit to riboseinc/synced_resources that referenced this pull request Oct 18, 2017
The ActionController::HideActions module has been removed from Rails as
of 5.0.  The #hide_action method wasn't very useful, though.  The effect
was basically equivalent to making a method private.

See:
- varvet/pundit#23 (comment)
- rails/rails#18336
- rails/rails#18371
HappyDevman added a commit to HappyDevman/pundit that referenced this pull request May 5, 2021
* Rails 5 beta removes this interface
  rails/rails#18371
* Using protected over private so that subclasses of the including class
  may still access these methods.
* Since these methods are called directly in test, we raise the access
  modifier to public for them to preserve the test behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants