My attempt to make iTrust in Rails