Actions
Patch #28024
closedFix typo in error message in mailer.rb
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
      
      Updated by Go MAEDA almost 8 years ago
      
    
    - Target version set to 4.0.0
 
I think the change is reasonable. Setting target version to 4.0.0.
      
      Updated by Go MAEDA almost 8 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