work with rails 4 digest for production