Only use activerecord in non-dev environments.
Merge pull request #6 from fiksu/activerecord-only-56444360

Only use activerecord in non-dev environments.