Only use activerecord in non-dev environments.