douglascamata/Rick-Rocks-Academics — comment on commit 023b59bd3c21e184d1e7653410128054f902877e
File:  line 0
By henrique2010:

ok, mas vc no esta comparando com o periodo corrente, apesar de ter me
tirado uma duvida (como retirar o nil), de nada adiantaria esse map..

Em 2 de maro de 2012 23:48, Douglas Camata <
reply@reply.github.com
> escreveu:

> ```ruby
> :collection => Turma.all.map {|t| ["#{t.disciplina.nome} - #{t.cod}", t.id]}.delete_if
> { |turma| turma.nil? }
> ```
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/douglascamata/Rick-Rocks-Academics/commit/023b59bd3c21e184d1e7653410128054f902877e#commitcomment-1038113
>

--
Pedro Henrique Passalini Soares
Graduando em Cincia da Computao e Informatica - UENF