Self implemented Rails