Vote #79081
完了Fix typo in error message in mailer.rb
開始日:
2022/05/09
期日:
進捗率:
0%
予定工数:
Redmineorg_URL:
category_id:
30
version_id:
99
issue_org_id:
28024
author_id:
328524
assigned_to_id:
332
comments:
4
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
説明
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]
journals
--------------------------------------------------------------------------------
I think the change is reasonable. Setting target version to 4.0.0.
--------------------------------------------------------------------------------
Committed. Thank you for your contribution.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Admin Redmine さんが約4年前に更新
- カテゴリ を Code cleanup/refactoring_30 にセット
- 対象バージョン を 4.0.0_99 にセット
いいね!0