Project

General

Profile

« Previous | Next » 

Revision e4fde4e3

Added by Ivan Necas about 10 years ago

Fixes #4976 - ensure the process is really running inside a rake task

View differences:

app/models/concerns/encryptable.rb
def puts_and_logs(msg)
logger.info msg
puts msg if defined?(Rake) && !Rails.env.test?
puts msg if Foreman.in_rake? && !Rails.env.test?
end
def is_encryptable?(str)
......
end
end
end
end
end

Also available in: Unified diff