From: Johnathon Wright Date: 2010-07-09T23:50:05+09:00 Subject: Re: New, but this seems odd... On Jul 7, 8:01 am, Andrew Wagner wrote: > With this behavior, wouldn't "delete!" be a more appropriate name? On Jul 7, 8:25 am, Rob Biedenharn wrote: > Is there some kind of interpretation of "delete" that doesn't imply   > the receiving object will be changed? After some reflection, I can certainly see how you would expect a bang! there... when working with sets, you often want to manipulate a set to form a different one. guests = ['joe@person.test', 'jane@person.test', 'jules@person.test', 'me'] invitations_to_send = guests.delete('me') and in fact there are enumerable operators that work that way... guest_emails = ['joe@person.test', 'jane@person.test', 'jules@person.test', 'me'] guests = guest_emails.map{|email| Person.find_by_email( email ) } whereas guest_emails.map!{|email| Person.find_by_email( email ) } So, yes, inconsistent. Sorry, not much that can be done now... :) The way to do this would be ... invitations_to_send = guests - ['me'] or just overwrite delete for your app... :) jw ---------- Johnathon Wright Web Application Consultant http://www.mustmodify.com/