Sha256: beabca9aab5f3068c7190021c638d4e01e0262fb5ebe1facb6ddffbb7d7aee6f

Contents?: true

Size: 322 Bytes

Versions: 154

Compression:

Stored size: 322 Bytes

Contents

class Gemini::LoanProgram < ActiveRecord::Base

  self.table_name = 'gemini_loan_programs'

  has_mcfly
  mcfly_validates_uniqueness_of :name

  validates_presence_of :name, :amortization_type, :mortgage_type, :streamline_type

  belongs_to :amortization_type
  belongs_to :mortgage_type
  belongs_to :streamline_type
end

Version data entries

154 entries across 154 versions & 1 rubygems

Version Path
marty-5.1.3 spec/dummy/app/models/gemini/loan_program.rb
marty-5.1.2 spec/dummy/app/models/gemini/loan_program.rb
marty-5.1.1 spec/dummy/app/models/gemini/loan_program.rb
marty-5.1.0 spec/dummy/app/models/gemini/loan_program.rb
marty-3.1.0 spec/dummy/app/models/gemini/loan_program.rb
marty-3.0.1 spec/dummy/app/models/gemini/loan_program.rb
marty-4.0.0.rc2 spec/dummy/app/models/gemini/loan_program.rb
marty-3.0.0 spec/dummy/app/models/gemini/loan_program.rb
marty-2.9.3 spec/dummy/app/models/gemini/loan_program.rb
marty-2.9.2 spec/dummy/app/models/gemini/loan_program.rb
marty-2.9.1 spec/dummy/app/models/gemini/loan_program.rb
marty-2.8.0 spec/dummy/app/models/gemini/loan_program.rb
marty-2.7.3 spec/dummy/app/models/gemini/loan_program.rb
marty-2.7.2 spec/dummy/app/models/gemini/loan_program.rb
marty-2.7.1 spec/dummy/app/models/gemini/loan_program.rb
marty-2.7.0 spec/dummy/app/models/gemini/loan_program.rb
marty-2.6.8 spec/dummy/app/models/gemini/loan_program.rb
marty-2.6.7 spec/dummy/app/models/gemini/loan_program.rb
marty-2.6.6 spec/dummy/app/models/gemini/loan_program.rb
marty-2.6.5 spec/dummy/app/models/gemini/loan_program.rb