Ruby on Rails Social Networking Codebase