Project

General

Profile

Patch #28024 ยป could_not_find_version_named_mailer.rb.patch

Willmore BattleShipNet, 2018-01-19 12:16

View differences:

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

  
    (1-1/1)