Ruby on rails, social network