revert:
making active record dependency generic