Sha256: 0d54733ace4d6f1ccd18fff909d01ff392103cb4611f7fdf390978df20956185
Contents?: true
Size: 796 Bytes
Versions: 19
Compression:
Stored size: 796 Bytes
Contents
class ResourceImportResult < ActiveRecord::Base attr_accessible :resource_import_file_id, :manifestation_id, :item_id, :body default_scope :order => 'resource_import_results.id' scope :file_id, proc{|file_id| where(:resource_import_file_id => file_id)} scope :failed, where(:manifestation_id => nil) belongs_to :resource_import_file belongs_to :manifestation belongs_to :item validates_presence_of :resource_import_file_id end # == Schema Information # # Table name: resource_import_results # # id :integer not null, primary key # resource_import_file_id :integer # manifestation_id :integer # item_id :integer # body :text # created_at :datetime # updated_at :datetime #
Version data entries
19 entries across 19 versions & 1 rubygems