Displaying 1 result from an estimated 1 matches for "createmugshots".
2008 Mar 14
2
attachment_fu attributes in db
I''m using file_column for upload images.
now,I want to use the plugin attachment_fu.
I have seen that for use it, i must create the attributes like:
class CreateMugshots < ActiveRecord::Migration
def self.up
create_table :mugshots do |t|
t.column :parent_id, :integer
t.column :content_type, :string
t.column :filename, :string
t.column :thumbnail, :string
t.column :size, :integer
t.column :width, :integer
t.column...