I've replaced Date.today.month%2 != 0  with Date.today.month.odd? 

=0