Module: Attached::Definition
- Defined in:
- lib/attached.rb
Instance Method Summary collapse
Instance Method Details
#attachment(*args) ⇒ Object
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/attached.rb', line 14 def (*args) = args. args.each do |name| column("#{name}_identifier", :string, ) column("#{name}_extension", :string, ) column("#{name}_status", :string, ) column("#{name}_size", :integer, ) end end |