lib/flare.rb in flare-1.3.0 vs lib/flare.rb in flare-1.4.0
- old
+ new
@@ -23,10 +23,10 @@
@@indexed_models ||= []
end
def log(message)
if Object.const_defined?("ActiveRecord")
- ActiveRecord::Base.logger.debug(message)
+ ::ActiveRecord::Base.logger.debug(message)
else
puts message
end
end
end
\ No newline at end of file