add rails support