Re: undefined method & has_one

Ryan
Thu, 02 Nov 2006 00:00:16 -0000

Perfect!

Thanks so much Jeff, .compact removed the nil element as described.

array.compact
http://corelib.rubyonrails.com/classes/Array.html#M000454


I appreciate the help!


And yes, it seems like there should be a better way to do this.

Hmm... how?