Since I now know how to add friends to my Facebook project, I am going to be attempting to add that in, as well as making everything with objects. I wanted to know how to make it so the request was pending, before I started this, but our instructor helped me with it. I just need to add another category to the friend table, which just needs to be a Boolean. Either stating NULL or unknown, "true" meaning we are friends, or "false" meaning friendship was rejected.
Here is a little of the code I was working on today with Ruby. One of the easier problems.
Should probably post some more difficult problems,
- Kyle
No comments:
Post a Comment