Displaying 1 result from an estimated 1 matches for "vouchertyp".
Did you mean:
vouchertypes
2008 Jun 29
2
How to write test about validates_associated
...nt => :destroy
has_many :batchuserdefines, :dependent => :destroy
has_many :materialuserdefines, :dependent => :destroy
has_many :materials
has_many :inventories
has_many :batchs
has_many :courses
has_many :projects
has_many :initstocks,:dependent => :destroy
has_many :vouchertypes, :dependent => :destroy
has_one :coursecodeformat, :dependent => :destroy
validates_uniqueness_of :name_native
validates_uniqueness_of :code
validates_presence_of :code
validates_presence_of :name_native
validates_presence_of :email
validates_presence_of :phone
validates_...