Class: ActiveRecord::Base Private
- Inherits:
-
Object
- Object
- ActiveRecord::Base
- Defined in:
- lib/torquebox/transactions/ext/active_record/base.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .configurations ⇒ Object private
- .configurations_before_torquebox ⇒ Object private
Class Method Details
.configurations ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
25 26 27 28 29 30 31 |
# File 'lib/torquebox/transactions/ext/active_record/base.rb', line 25 def configurations xa_configs = configurations_before_torquebox.dup TorqueBox.fetch( 'xa-ds-info' ).configurations.each do |config| xa_configs[ config.name ][ 'jndi' ] = config.jndi_name end xa_configs end |
.configurations_before_torquebox ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 |
# File 'lib/torquebox/transactions/ext/active_record/base.rb', line 23 alias_method :configurations_before_torquebox, :configurations |