README.md in rails_csv_renderer-0.2.2 vs README.md in rails_csv_renderer-0.2.3
- old
+ new
@@ -1,15 +1,13 @@
# rails_csv_renderer
+[](https://travis-ci.org/den-sheleh/rails_csv_renderer)
+[](https://codeclimate.com/github/den-sheleh/rails_csv_renderer)
+[](http://badge.fury.io/rb/rails_csv_renderer)
+
Custom CSV renderer for ActiveRecord collections
-## Rails & Ruby Versions Supported
-
-*Rails:* 4.x
-
-*Ruby:* 2.x
-
## Installation
Add this line to your application's Gemfile:
gem 'rails_csv_renderer'
@@ -56,10 +54,10 @@
You can pass few options at call of rendrer:
* *:filename* - Name of file. Optional
* *:csv_options* - Options for CSV generator. [Availible options](http://www.ruby-doc.org/stdlib-2.1.2/libdoc/csv/rdoc/CSV.html#method-c-new). Optional
-* *:columns* - Array of variables and methods. Name of columns will be created based on your translations. Optional
+* *:columns* - Array of variables and methods. Title of columns will be created based on your translations. In this case you should not define methods in model. Optional
Example
```ruby
class ReportsController < ApplicationController