jcran/ear — pull request #1 by egypt (2011-11-29 04:13:39+00:00)
Title: a few small improvements

Adds an EmailAddress association to User and adds a calculated full_name method so you can do stuff like this

User.all.map { |u|
u.email_addresses.map { |e|
"\"#{u.fname} #{u.lname}\" <#{e.address}>"
}
}.flatten

which returns all users' addresses formatted for a To: line.