Rails 3 parameters not working (excl :filename)
seanarnold opened this issue · comments
It seems that only the filename parameter is working.
{ render :csv => Job.all, :force_quotes => true, :filename => "jobs - #{DateTime.now.to_s(:csv)}"}
This does not force quotes, but the filename gets named correctly.
I also tried:
{ render :csv => Job.all, :write_headers => false, :filename => "jobs - #{DateTime.now.to_s(:csv)}"}
and saw no difference.
Using Rails 3.1. Can anyone test and confirm this for me?
Cheers
Sean
Same here.
Any solutions?
Hi Arnies + Orienterare,
Is this Ruby 1.9.2?
I'm having the same issue and yes, its ruby 1.9.2,
I also tested 1.9.3 wit the same issue.
same here, any thoughts on this?
Yes, Ruby 1.9.2, plus Ruby Enterprise Edition 1.8.7
Thanks, will take a look over the next few days.
v3.0.1 should resolve these issues, and others, I've also added a dummy rails app to make these issues easier to test going forward. Thanks for the input!