Module: Gluttonberg::Content::ImportExportCSV
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/gluttonberg/content/import_export_csv.rb
Overview
A mixin which allows for any arbitrary model to have import/export functionality import_export_csv(, [“bio”]) import_export_columns,wysiwyg_columns it adds importCSV(file_path , local_options = {}) and exportCSV(records , local_options = {})
Defined Under Namespace
Modules: ClassMethods Classes: ExportUtils, ImportUtils
Class Method Summary collapse
Class Method Details
.setup ⇒ Object
9 10 11 |
# File 'lib/gluttonberg/content/import_export_csv.rb', line 9 def self.setup ::ActiveRecord::Base.send :include, Gluttonberg::Content::ImportExportCSV end |