Re: undefined method & has_one

Steve Longdo
Thu, 02 Nov 2006 16:00:51 -0000

bios = Bio.find(:all)

On 11/1/06, Ryan
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:
>
>
> 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?
>
>
>
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>


--
Thanks,
-Steve