My own active record similar class