[Rails] Re: Rails 3 respond_with csv

2011-05-17 Thread mfilej
I've looked into this and it seems that there is no mechanism in AC that would call to_csv automatically. The code in action_controller/ metal/renderers.rb suggests that xml and json are just two special cases that do that. On Mar 31, 3:01 pm, mfilej wrote: > Did you have any luck w

[Rails] Re: Rails 3 respond_with csv

2011-03-31 Thread mfilej
Did you have any luck with this, Oliver? I've encountered exactly the same problem. Should we reported this as a bug? On Mar 7, 12:08 pm, olivernn wrote: > I appreciate the discussion on the pros and cons of exporting to csv, > however my question was more to do with what the expected behaviour