README.md in active_report-1.2.0 vs README.md in active_report-2.0.0
- old
+ new
@@ -121,11 +121,11 @@
* except: keys of pairs not to be used on generation
* headers: column titles of CSV data **Required**
* options: CSV options to be use on parsing
```ruby
-ActiveReport::Record.import("sample.csv", User)
-ActiveReport::Record.import("sample.csv", User, except: :completed, headers: ["ID", "Task"], options: { col_sep: ";" })
+ActiveReport::Record.import("sample.csv", model: User)
+ActiveReport::Record.import("sample.csv", model: User, except: :completed, headers: ["ID", "Task"], options: { col_sep: ";" })
```
## Contributing
1. Fork it ( https://github.com/[my-github-username]/active_report/fork )
\ No newline at end of file