logger should be Rails.logger