lib/virtus_model/base.rb
# Validate "one" associations and import errors.
Validate "one" associations and import errors.
Validate " one " associations and import errors .
def validate_associations_one
      self.class.associations(:one).each do |name|
        import_errors(name, attributes[name])
      end
    end
def validate_associations_one self . class . associations ( :one ) . each do | name | import_errors ( name , attributes [ name ] ) end end
Validate "one" associations and import errors.
Validate " one " associations and import errors .