Skip to content

Commit

Permalink
refactoring totale
Browse files Browse the repository at this point in the history
  • Loading branch information
paolotax committed Mar 30, 2012
1 parent 5923fb6 commit 4c598ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/serata.rb
Expand Up @@ -12,7 +12,7 @@ def crea_staff
def dipendenti_non_pagati
pagati = []
self.pagamenti.pagato.each {|p| pagati << p.dipendente }
return Dipendente.all - pagati
return Dipendente.per_ruolo.all - pagati
end

def crea_staff=(staff)
Expand Down

0 comments on commit 4c598ac

Please sign in to comment.