added examples for activemodel integration