Adds friendships management into a rails 4.0 application