ActiveRecord in project