Patch #28024

Updated by Go MAEDA over 1 year ago

I saw small thing, mistype?

<pre><code class="diff">
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]
</code></pre>

Back