# Respond\_to and params:format\]

**URL:** <https://www.ruby-forum.com/t/respond-to-and-params-format/176580>\
**Category:** Rails\
**Created:** [October 2, 2009, 5:16pm UTC](https://www.ruby-forum.com/t/respond-to-and-params-format/176580 "2009-10-02T17:16:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gert\_Thiel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/edb3f5/32.png) [@Gert\_Thiel](https://www.ruby-forum.com/u/Gert_Thiel)\
**Post date:** [October 2, 2009, 5:16pm UTC](https://www.ruby-forum.com/t/respond-to-and-params-format/176580/1 "2009-10-02T17:16:57Z")

</div>

Hoi.

I’m creating a configurable export feature for my application’s  
backend. I have a form that allows administrators the select what data  
they want to export, how that data should be ordered and in which file  
format the export should be saved.

At the controller level I need respond\_to to take params[:format] into  
account but it seems to ignore that parameter.

What am I doing wrong?

Regards,

Gert

---

<div class="post-metadata">

**Author:** ![Gert\_Thiel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/edb3f5/32.png) [@Gert\_Thiel](https://www.ruby-forum.com/u/Gert_Thiel)\
**Post date:** [October 2, 2009, 6:02pm UTC](https://www.ruby-forum.com/t/respond-to-and-params-format/176580/2 "2009-10-02T18:02:38Z")

</div>

PLEASE IGNORE MY QUESTION.

I identified an error in my code and could remedy this issue.
