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