Module: PhusionPassenger::ClassicRailsExtensions

Defined in:
lib/phusion_passenger/classic_rails_extensions/init.rb,
lib/phusion_passenger/classic_rails_extensions/init.rb,
lib/phusion_passenger/classic_rails_extensions/analytics_logging/ac_base_extension.rb,
lib/phusion_passenger/classic_rails_extensions/analytics_logging/as_cache_extension.rb,
lib/phusion_passenger/classic_rails_extensions/analytics_logging/ac_rescue_extension.rb,
lib/phusion_passenger/classic_rails_extensions/analytics_logging/ac_benchmarking_extension.rb,
lib/phusion_passenger/classic_rails_extensions/analytics_logging/ar_abstract_adapter_extension.rb,
lib/phusion_passenger/classic_rails_extensions/analytics_logging/av_benchmark_helper_extension.rb

Defined Under Namespace

Modules: AnalyticsLogging

Class Method Summary collapse

Class Method Details

.init!(options) ⇒ Object



28
29
30
31
32
33
34
35
# File 'lib/phusion_passenger/classic_rails_extensions/init.rb', line 28

def self.init!(options)
	if options["analytics_logger"] && options["analytics"]
		AnalyticsLogging.install!(options)
	else
		# Remove code to save memory.
		PhusionPassenger.send(:remove_const, :ClassicRailsExtensions)
	end
end