remove puts

This commit is contained in:
chiu 2020-01-12 14:58:41 +08:00
parent b0d1ae2951
commit c1866d5690
1 changed files with 0 additions and 3 deletions

View File

@ -156,11 +156,8 @@ class SeminarSignupValue
if field_value_status.eql?(true) if field_value_status.eql?(true)
@seminar_signup_field_value = member.seminar_signup_values.find(field_value_id) rescue nil @seminar_signup_field_value = member.seminar_signup_values.find(field_value_id) rescue nil
if @seminar_signup_field_value!=nil if @seminar_signup_field_value!=nil
puts ['yes']
@seminar_signup_field_value.update(field_value_param) rescue nil @seminar_signup_field_value.update(field_value_param) rescue nil
@seminar_signup_field_value.save rescue nil @seminar_signup_field_value.save rescue nil
else
puts ['no']
end end
else else
@seminar_signup_field_value = member.seminar_signup_values.build(field_value_param) rescue nil @seminar_signup_field_value = member.seminar_signup_values.build(field_value_param) rescue nil