test/dummy/app/controllers/users_controller.rb in csv_rails-0.6.0 vs test/dummy/app/controllers/users_controller.rb in csv_rails-0.6.1

- old
+ new

@@ -2,9 +2,10 @@ def index @users = User.includes(:groups) respond_to do |format| format.html format.csv { render csv: @users, fields: [:id, :name, :age, :"groups.first.name"], without_header: true } + format.tsv { render tsv: @users, fields: [:id, :name, :age, :"groups.first.name"], without_header: true } end end def sjis @users = User.includes(:groups).all