Sha256: 40e399cab619db5b4533d7bfd5b0069e51c395e677d4f0b934c7f6d97cfb7c12
Contents?: true
Size: 680 Bytes
Versions: 27
Compression:
Stored size: 680 Bytes
Contents
Description: This generator creates the necessary files for new work types. Example: rails generate curation_concerns:work ScholarlyPaper This will create: app/models/scholarly_paper.rb app/actors/curation_concerns/scholarly_paper_actor.rb app/controllers/curation_concerns/scholarly_papers_controller.rb app/views/curation_concerns/scholarly_papers/.keep spec/factories/scholarly_paper_factory.rb spec/models/scholarly_paper_spec.rb spec/actors/curation_concerns/scholarly_paper_actor_spec.rb spec/controllers/curation_concerns/scholarly_papers_controller_spec.rb This will also: register ScholarlyPaper as a valid curation concern
Version data entries
27 entries across 27 versions & 1 rubygems