Sha256: c61635970f52e558804d5f38e74798b40eae30c47dc56a35b22f2c28472a994f

Contents?: true

Size: 169 Bytes

Versions: 5

Compression:

Stored size: 169 Bytes

Contents

module FinePrint
  module ApplicationHelper
    def merge_errors_for(contract)
      contract.errors.collect{|f,e| "#{contract.name} #{e}"}.join(', ')
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fine_print-1.3.0 app/helpers/fine_print/application_helper.rb~
fine_print-1.2.0 app/helpers/fine_print/application_helper.rb~
fine_print-1.1.1 app/helpers/fine_print/application_helper.rb~
fine_print-1.1.0 app/helpers/fine_print/application_helper.rb~
fine_print-1.0.0 app/helpers/fine_print/application_helper.rb~