Module: ActiveRecord::ConnectionAdapters::OracleEnhancedProcedures::InstanceMethods
- Defined in:
- lib/active_record/connection_adapters/oracle_enhanced_procedures.rb
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/active_record/connection_adapters/oracle_enhanced_procedures.rb', line 94 def self.included(base) base.instance_eval do alias_method :create_without_custom_method, create_method_name_before_custom_methods alias_method create_method_name_before_custom_methods, :create_with_custom_method alias_method :update_without_custom_method, update_method_name_before_custom_methods alias_method update_method_name_before_custom_methods, :update_with_custom_method alias_method :destroy_without_custom_method, destroy_method_name_before_custom_methods alias_method destroy_method_name_before_custom_methods, :destroy_with_custom_method private :create, :update public :destroy end end |