From b6818507833058a203251d5f62b8c87aa3c7ee46 Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 18 Oct 2010 15:46:14 -0700 Subject: [PATCH] Get rid of warning/error on invites/_new partial --- app/views/invitations/_new.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/invitations/_new.haml b/app/views/invitations/_new.haml index 9cd41f05f..ec219b2ef 100644 --- a/app/views/invitations/_new.haml +++ b/app/views/invitations/_new.haml @@ -4,7 +4,7 @@ = invite.label :email = invite.text_field :email To - - if @aspect == :all + - unless @aspect.is_a? Aspect = invite.select(:aspects, @aspects_dropdown_array) - else = invite.select(:aspects, @aspects_dropdown_array, :selected => @aspect.id)