add rails configuration