commit
0dabd28ea5
2 changed files with 2 additions and 2 deletions
|
@ -990,7 +990,7 @@ Style/MethodCalledOnDoEndBlock:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Style/MethodDefParentheses:
|
Style/MethodDefParentheses:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Style/MethodMissing:
|
Style/MethodMissing:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
|
@ -26,7 +26,7 @@ namespace :'2017_10_30_copy_commentaire_piece_justificative_to_file' do
|
||||||
return name.mb_chars.to_s
|
return name.mb_chars.to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
def process_commentaire commentaire
|
def process_commentaire(commentaire)
|
||||||
puts "Processing commentaire #{commentaire.id}"
|
puts "Processing commentaire #{commentaire.id}"
|
||||||
if commentaire.piece_justificative.present?
|
if commentaire.piece_justificative.present?
|
||||||
# https://github.com/carrierwaveuploader/carrierwave#uploading-files-from-a-remote-location
|
# https://github.com/carrierwaveuploader/carrierwave#uploading-files-from-a-remote-location
|
||||||
|
|
Loading…
Reference in a new issue