Ruby on rails query

hi
im using Diaspora database for a new project. and i have to create a
@users varible which contains the all users and the number of freinds
he has.

in the DB there’s a table named contacts with these attributes:
id , user_id, person_id

hope its possible to do it.
thanks.

Sent from my iPhone

On May 26, 2011, at 10:16 AM, Adel M. [email protected]
wrote:

Yes it is possible to do. However I don’t see a question or an error you
are encountering trying to accomplish this. I infer from your message
that you are new to ruby and ruby on rails. Please refer to the
following guide which will help you with this as well as other basic
questions. After working through it, please let the group know I you
have any questions or issues.

http://guides.rubyonrails.org/getting_started.html

If I have inferred incorrectly then I apologize.

B.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs