forked from spen/seminar
remove puts
This commit is contained in:
parent
b0d1ae2951
commit
c1866d5690
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue