Commit c87f523b authored by Chrysanthi Lagodimou's avatar Chrysanthi Lagodimou

Change var name to a non method name

parent 2d17f77d
Pipeline #31865 passed with stage
in 37 minutes and 37 seconds
......@@ -67,11 +67,11 @@ class SemesterProcessVolunteer < ApplicationRecord
end
def render_feedback(field)
size = 0
field_size = 0
semester_feedbacks.each do |f|
size += f[field].size
field_size += f[field].size
end
semester_feedbacks.map(&field).compact.join('<hr>').html_safe if size != 0
semester_feedbacks.map(&field).compact.join('<hr>').html_safe if field_size != 0
end
def responsible=(responsible_user)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment