Sha256: c2bfcf234079708e53971cf173a789c261a424ba3e4c5adf16f59de308b9f36d
Contents?: true
Size: 816 Bytes
Versions: 7
Compression:
Stored size: 816 Bytes
Contents
# == Schema Information # # Table name: assets # # id :integer(4) not null, primary key # data_file_name :string(255) not null # data_content_type :string(255) # data_file_size :integer(4) # assetable_id :integer(4) not null # assetable_type :string(25) not null # type :string(25) # guid :string(10) # user_id :integer(4) # sort_order :integer(4) default(0) # created_at :datetime # updated_at :datetime # # Indexes # # index_assets_on_assetable_type_and_assetable_id (assetable_type,assetable_id) # index_assets_on_user_id (user_id) # class Asset < ActiveRecord::Base attr_accessible :data belongs_to :assetable, :polymorphic => true end
Version data entries
7 entries across 7 versions & 2 rubygems