Project

General

Profile

Actions

Patch #28024

closed

Fix typo in error message in mailer.rb

Added by Willmore BattleShipNet about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

I saw small thing, mistype?

Index: mailer.rb
===================================================================
--- mailer.rb    (revision 17022)
+++ mailer.rb    (working copy)
@@ -382,7 +382,7 @@
     tracker = options[:tracker] ? Tracker.find(options[:tracker]) : nil
     target_version_id = options[:version] ? Version.named(options[:version]).pluck(:id) : nil
     if options[:version] && target_version_id.blank?
-      raise ActiveRecord::RecordNotFound.new("Couldn't find Version with named #{options[:version]}")
+      raise ActiveRecord::RecordNotFound.new("Couldn't find Version named #{options[:version]}")
     end
     user_ids = options[:users]

Files

Actions

Also available in: Atom PDF