Adds friendships management into a rails application