added activerecord dir constant