Use Rails.looger for model.rb and Change the version