Defect #9137 » db_encrypt_failure.patch
| lib/redmine/ciphering.rb 2011-08-27 12:03:02.000000000 +0200 | ||
|---|---|---|
|
transaction do
|
||
|
all.each do |object|
|
||
|
clear = object.send(attribute)
|
||
|
object.send "#{attribute}=", clear
|
||
|
object.send "#{attribute}=", clear unless clear.blank?
|
||
|
raise(ActiveRecord::Rollback) unless object.save(false)
|
||
|
end
|
||
|
end ? true : false
|
||