Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (6 sloc) 157 Bytes
ar = Rails.application.config.active_record
if ar.observers
ar.observers += [ Heliosphere::Observer ]
else
ar.observers = [ Heliosphere::Observer ]
end