now using rails