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