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.
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.