add rails request cycle