parent
cf27b50f71
commit
f25bcd2b57
@ -1,5 +1,12 @@
|
||||
Carto::Common::Logger.install
|
||||
|
||||
# Log more easily from all models
|
||||
ActiveRecord::Base.class_eval { include ::LoggerHelper }
|
||||
Sequel::Model.class_eval { include ::LoggerHelper }
|
||||
ActiveRecord::Base.class_eval do
|
||||
include ::LoggerHelper
|
||||
extend ::LoggerHelper
|
||||
end
|
||||
|
||||
Sequel::Model.class_eval do
|
||||
include ::LoggerHelper
|
||||
extend ::LoggerHelper
|
||||
end
|
||||
|
Loading…
Reference in new issue