Sha256: 7a673751a73ebbd3654a1b6ffcadb6a9af25ceabff2fea77cf802f368dc01a6f

Contents?: true

Size: 287 Bytes

Versions: 34

Compression:

Stored size: 287 Bytes

Contents

# Generated via
#  `rails generate curation_concerns:work <%= class_name %>`
class <%= class_name %> < ActiveFedora::Base
  include ::CurationConcerns::WorkBehavior
  include ::CurationConcerns::BasicMetadata
  validates :title, presence: { message: 'Your work must have a title.' }
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
curation_concerns-0.12.0.pre3 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.12.0.pre2 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.12.0.pre1 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.11.0 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.11.0.rc1 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.10.0 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.9.0 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.8.0 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.7.0 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.6.0 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.5.0 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.4.0 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.3.0 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.2.0 lib/generators/curation_concerns/work/templates/model.rb.erb