Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #7813 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Consistent Method Visibility

Reported by: dcmanges Assigned to: core
Priority: normal Milestone: 1.x
Component: ActionPack Version: edge
Severity: normal Keywords: method visibility controller
Cc:

Description

Some modules included in ActionController::Base deviate from the originally defined method visibility when using alias_method_chain.

This affects:

  • render
  • process_cleanup
  • perform_action
  • assign_shortcuts
  • reset_session

Attachments

consistent_action_controller_visibility.diff (8.9 kB) - added by dcmanges on 03/13/07 00:38:17.
consistent_active_record_visibility.diff (6.7 kB) - added by dcmanges on 03/13/07 00:50:52.

Change History

03/13/07 00:38:17 changed by dcmanges

  • attachment consistent_action_controller_visibility.diff added.

03/13/07 00:50:39 changed by dcmanges

The following methods on ActiveRecord::Base are also affected:

  • create
  • update
  • create_or_update
  • initialize

Attaching patch...

03/13/07 00:50:52 changed by dcmanges

  • attachment consistent_active_record_visibility.diff added.

03/13/07 02:14:44 changed by bitsweat

  • status changed from new to closed.
  • resolution set to fixed.