Skip to main content

Copy or Import GeneralCopies to Local

To copy / import generaly copies locally

Keywords: general_copies general copies generalCopies

Updates, at will​

Some general copies have the old convention names, e.g. formBuilder instead of form_builder. If you definitely want to have the same general copies as on prod, you have to do:

  • before running rake utility:json_to_general_copies
  • open GeneralCopy model
  • comment out this line of validations: validates :name, format: { with: /\A[a-z0-9_]+\z/ }
  • run: rake utility:json_to_general_copies
  • don't forget to uncomment it