README.md in csv_row_model-0.3.10 vs README.md in csv_row_model-0.4.0
- old
+ new
@@ -6,11 +6,13 @@
```ruby
class ProjectRowModel
include CsvRowModel::Model
- column :id
+ column :id, options
column :name
+
+ merge_options :id, more_options # optional
end
```
To export, define your export model like [`ActiveModel::Serializer`](https://github.com/rails-api/active_model_serializers)
and generate the file: