Just guarding against a nil?

Tom Corley
617-244-4394
4 Powder Mill Road
Sudbury, MA 01776
On Oct 10, 2013 10:16 AM, "Eric Kelly" <notifications@github.com> wrote:

> In app/views/cohorts/show.html.erb:
>
> > @@ -0,0 +1,26 @@
> > +<div>
> > +  <strong>Welcome to the <%= @cohort.term %> Cohort</strong> | <%=link_to "Edit Cohort", edit_cohort_path(@cohort) %> | <%=link_to "Delete Cohort", @cohort, method: :delete, data: { confirm: 'Are you sure?' } %>
> > +</div>
> > +<div>
> > +  <% if @cohort.users.count > 0 %>
>
> Is this if statement necessary?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/TechnoAlchemist/parrot/pull/3/files#r6887653>
> .
>