README.rdoc in csv_rails-0.5.1 vs README.rdoc in csv_rails-0.5.2

- old
+ new

@@ -84,6 +84,14 @@ respond_to do |format| format.csv{ render csv: @users, fields: [:ok, :"groups.first.name"], encoding: 'SJIS' } #=> "OK,グループ名" end end +You also use i18n_scope option + # config/locales/ja.yml + ja: + csv: + name: なまえ + + User.where("id < 1").all.to_csv(:i18n_scope => :csv) #=> "なまえ\n" + Copyright (c) 2012 yalab, released under the MIT license