get active record working for testing purposes