Project

General

Profile

Actions

Patch #28024

closed

Fix typo in error message in mailer.rb

Added by Willmore BattleShipNet almost 7 years ago. Updated over 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 #1

Updated by Go MAEDA almost 7 years ago

  • Description updated (diff)
Actions #2

Updated by Go MAEDA almost 7 years ago

  • Target version set to 4.0.0

I think the change is reasonable. Setting target version to 4.0.0.

Actions #3

Updated by Go MAEDA almost 7 years ago

  • Subject changed from Could not find Version -with- named... patch to Fix typo in error message in mailer.rb
  • Status changed from New to Closed

Committed. Thank you for your contribution.

Actions #4

Updated by Go MAEDA over 6 years ago

  • Assignee set to Go MAEDA
Actions

Also available in: Atom PDF