setup active record and spec helper