Use human readable localized names in CSV header

Possibility to localize or change title for column's names in CSV file
Method 'to_csv' included in Array class from version v1_9_1_378. So with this condition 'unless csv.respond_to?(:to_csv)' it will never be added to collection of rows. So when you try to call data = csv.to_csv(options) [ lib/render_csv.rb:10 ], you will catch error 'ArgumentError (Unknown options:  only, add_methods, filenam
od 'to_csv' included in Array class from version v1_9_1_378. So with this condition 'unless csv.respond_to?(:to_csv)' it will never be added to collection of rows. So when you try to call data = csv.to_csv(options) [ lib/render_csv.rb:10 ], you will catch error 'ArgumentError (Unknown options:  only, add_methods, filename, prefixes, template, layout.)', because core method doesn't know anything about this options which passed from call.

Conclusion: now you have not working version of gem. To fix it you should or remove checking  'unless csv.respond_to?(:to_csv)'   and overwrite core method for rendered objects or change name of your method.