Module: PhusionPassenger::Rails3Extensions

Defined in:
lib/phusion_passenger/rails3_extensions/init.rb,
lib/phusion_passenger/rails3_extensions/init.rb

Defined Under Namespace

Classes: AnalyticsLogging

Class Method Summary collapse

Class Method Details

.init!(options) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/phusion_passenger/rails3_extensions/init.rb', line 30

def self.init!(options)
	if !AnalyticsLogging.install!(options)
		# Remove code to save memory.
		PhusionPassenger::Rails3Extensions.send(:remove_const, :AnalyticsLogging)
		PhusionPassenger.send(:remove_const, :Rails3Extensions)
	end
end