Sha256: 7ad52a401022f4cc4ee3b47bb26b516daef37047afeef6e78085c6f512a2292a
Contents?: true
Size: 828 Bytes
Versions: 3
Compression:
Stored size: 828 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 not null # updated_at :datetime not null #
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
enju_biblio-0.1.0.pre58 | app/models/resource_import_result.rb |
enju_biblio-0.1.0.pre57 | app/models/resource_import_result.rb |
enju_biblio-0.1.0.pre56 | app/models/resource_import_result.rb |