Commit f3eacd24 by Daniel Schierbeck

Document Paperclip::Schema

parent e0a67324
module Paperclip module Paperclip
# Provides two helpers that can be used in migrations.
#
# In order to use this module, the target class should implement a
# +column+ method that takes the column name and type, both as symbols,
# as well as a +remove_column+ method that takes a table and column name,
# also both symbols.
module Schema module Schema
@@columns = {:file_name => :string, @@columns = {:file_name => :string,
:content_type => :string, :content_type => :string,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment