Patch #28024 ยป could_not_find_version_named_mailer.rb.patch
mailer.rb (working copy) | ||
---|---|---|
382 | 382 |
tracker = options[:tracker] ? Tracker.find(options[:tracker]) : nil |
383 | 383 |
target_version_id = options[:version] ? Version.named(options[:version]).pluck(:id) : nil |
384 | 384 |
if options[:version] && target_version_id.blank? |
385 |
raise ActiveRecord::RecordNotFound.new("Couldn't find Version with named #{options[:version]}")
|
|
385 |
raise ActiveRecord::RecordNotFound.new("Couldn't find Version named #{options[:version]}") |
|
386 | 386 |
end |
387 | 387 |
user_ids = options[:users] |
388 | 388 |