Ruby & Rails Repository