Make Active Record a runtime dependency

See #439