first try at activerecord support