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-1.0.0.beta6 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-1.0.0.beta5 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-1.0.0.beta4 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-1.0.0.beta3 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-1.0.0.beta2 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-1.0.0.beta1 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.14.0 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.14.0.pre4 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.14.0.pre3 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.14.0.pre2 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.14.0.pre1 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.13.1 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.13.0 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.12.0 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.12.0.pre9 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.12.0.pre8 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.12.0.pre7 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.12.0.pre6 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.12.0.pre5 lib/generators/curation_concerns/work/templates/model.rb.erb
curation_concerns-0.12.0.pre4 lib/generators/curation_concerns/work/templates/model.rb.erb