require properly activerecord