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-2.1.3 spec/dummy/app/models/gemini/loan_program.rb
marty-2.1.2 spec/dummy/app/models/gemini/loan_program.rb
marty-2.1.1 spec/dummy/app/models/gemini/loan_program.rb
marty-2.1.0 spec/dummy/app/models/gemini/loan_program.rb
marty-2.0.9 spec/dummy/app/models/gemini/loan_program.rb
marty-2.0.8 spec/dummy/app/models/gemini/loan_program.rb
marty-2.0.7 spec/dummy/app/models/gemini/loan_program.rb
marty-2.0.6 spec/dummy/app/models/gemini/loan_program.rb
marty-2.0.5 spec/dummy/app/models/gemini/loan_program.rb
marty-2.0.4 spec/dummy/app/models/gemini/loan_program.rb
marty-2.0.3 spec/dummy/app/models/gemini/loan_program.rb
marty-2.0.2 spec/dummy/app/models/gemini/loan_program.rb
marty-2.0.1 spec/dummy/app/models/gemini/loan_program.rb
marty-2.0.0 spec/dummy/app/models/gemini/loan_program.rb
marty-1.2.9 spec/dummy/app/models/gemini/loan_program.rb
marty-1.2.8 spec/dummy/app/models/gemini/loan_program.rb
marty-1.2.7 spec/dummy/app/models/gemini/loan_program.rb
marty-1.2.6 spec/dummy/app/models/gemini/loan_program.rb
marty-1.2.5 spec/dummy/app/models/gemini/loan_program.rb
marty-1.2.4 spec/dummy/app/models/gemini/loan_program.rb