removed activerecord dependencies