Skip to content

Trouble shooting

Petr Mlčoch edited this page Jul 15, 2022 · 3 revisions
  • File to import not found or unreadable: redactor. Folio depends on licensed Redactor 3 (http://imperavi.com/redactor/). It's files should be in /vendor/assets/redactor/ folder. For testing purposes, You can have empty redactor.css and redactor.js files.

  • Folio expects that Your app will have it's namespace. So it put file /app/models/:your_app.rb with table_name prefixing. If it is not loaded in development (table names do not have prefix), You need to add initializer (should be there by folio:install generator). Look for /config/initializers/namespace.rb with content require Rails.root.join("app/models/:your_app")

Clone this wiki locally