From 816d8d4b07211554692a2b281669707d3a3b5b32 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Thu, 2 Oct 2014 20:47:49 +0800 Subject: [PATCH] no member rescue --- app/views/admin/honors/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/honors/_form.html.erb b/app/views/admin/honors/_form.html.erb index c8265e0..fcafb67 100644 --- a/app/views/admin/honors/_form.html.erb +++ b/app/views/admin/honors/_form.html.erb @@ -33,7 +33,7 @@
<%= @member.name rescue ''%> - <%= f.hidden_field :member_profile_id, :value => @member.id %> + <%= f.hidden_field :member_profile_id, :value => @member.id if !@member.nil? %>