Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Document Paperclip::Schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dasch committed Dec 12, 2011
1 parent e0a6732 commit f3eacd2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/paperclip/schema.rb
@@ -1,4 +1,10 @@
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
@@columns = {:file_name => :string,
:content_type => :string,
Expand Down

0 comments on commit f3eacd2

Please sign in to comment.