Read rails database