Adds friendships management into a rails 3.0 application