Class InputFile
In: app/models/input_file.rb
Parent: Block

-*- coding: utf-8 -*-

Schema Information

Schema version: 87

Table name: blocks

 id           :integer       not null, primary key
 domain_id    :integer       not null
 type         :string(255)   not null
 content      :string(255)
 src          :string(255)
 width        :string(255)
 height       :string(255)
 code         :string(255)
 name         :string(255)
 table_name   :string(255)
 column_name  :string(255)
 helper       :string(255)
 created_at   :string(14)
 updated_at   :string(14)
 created_by   :integer
 updated_by   :integer
 created_in   :integer
 updated_in   :integer
 lock_version :integer       default(0), not null

Methods

tag  

Public Instance methods

[Source]

    # File app/models/input_file.rb, line 29
29:   def tag
30:     return "<input type='file' name='#{name}' />"
31:   end

[Validate]