search for: finance_company

Displaying 1 result from an estimated 1 matches for "finance_company".

2007 May 01
2
Problem validating boolean
Hi I''ve got a problem validating a boolean and I can''t see what the problem is. Here''s my model: class FinanceAgreement < ActiveRecord::Base belongs_to :asset validates_presence_of :finance_company validates_inclusion_of :balance, :in => 0.01..10_000_000 validates_inclusion_of :term, :in => 1..600 validates_numericality_of :term, :only_integer => true validates_inclusion_of :linked_to_residual_value_of_asset, :in => [true, false] end and here''s t...