Thanks for links, I already saw them.

My question was only a need of confirmation that the best way /
regular way to do what I want to do is to use find(). I think it is.

My other question about prototype version was also a confirmation. I
think that doing a "return in each()" in prototype 1.4 was not the
same behavior than in 1.5. But may be I mistake I don't remember...

Why this last question ? Because I may have to review all my
JavaScript code If this behavior between 1.4 and 1.5 have change.

Regards


> > - So now I should use find() and my function should return true or false ?
> You really sound like desperately needing an Enumerable tutorial :))
> As your name sounds like French, maybe TDD's work could be helpful:
> http://www.tddsworld.com/blogs/eapc/?2006/11/20/506-bien-developper-pour-le-web-20
>
> No, I didn't read it yet, but, as TDD is a fellow Prototype brethren, I hope
> he did write something about Enumerable too. Christophe? ;-)
>
> Besides the official documentation (prototypejs.org), there's also a fine
> Enumerable and Hash tutorial written by Justin Palmer at:
> http://encytemedia.com/blog/articles/2005/12/07/prototype-meets-ruby-a-look-at-enumerable-array-and-hash
>
> HTH
> - --
> Marius Feraru
> -----BEGIN PGP SIGNATURE-----
>
> iD8DBQFFwwgetZHp/AYZiNkRAvEdAJ9FWW9uB8w7w4xcF/eV+ii0Fg+NMgCg19co
> 5vqVozsgIplb8anPguBOlAc=
> =3GMB
> -----END PGP SIGNATURE-----
>
> >
>


-- 
Jean-Philippe Encausse - R&D Jalios SA
Jp [at] encausse.net - http://www.encausse.com - http://www.jalias.com
GTalk: jp.encausse [at] gmail.com - SMS: sms [at] jp.encausse.net
Mob: +33 6 82 12 56 99 Jalios: +33 1 39 23 92 83 Tel: +33 1 39 18 90 15
Do it Once, Use it Twice ~ Do it Twice, Make It Once

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to