use module instead reopening ActiveRecord::Base