A social exchange system built in rails