# Wrong respond\_to format used

**URL:** <https://www.ruby-forum.com/t/wrong-respond-to-format-used/150028>\
**Category:** Rails\
**Created:** [October 2, 2008, 5:09pm UTC](https://www.ruby-forum.com/t/wrong-respond-to-format-used/150028 "2008-10-02T17:09:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [October 2, 2008, 5:09pm UTC](https://www.ruby-forum.com/t/wrong-respond-to-format-used/150028/1 "2008-10-02T17:09:36Z")

</div>

Hi all,

I have a form that wrongly trigger the rjs respond to with ie7. The  
html repond\_to is correctly used in both FF 3 and Google Chrome. I use  
the standard form\_for helper and have no idea what could cause this  
issue.

I have pased the ie 7 html (left some stuff out)

All help is greatly appreciated.  
Stijn

```
<input id="event[statistic_attributes][goals_id][]"

```

name=“event[statistic\_attributes][goals\_id][]” type=“hidden”  
value=“10” /\>

-

of [terug](https://www.ruby-forum.com/calendar)

---

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [October 2, 2008, 6:58pm UTC](https://www.ruby-forum.com/t/wrong-respond-to-format-used/150028/2 "2008-10-02T18:58:05Z")

</div>

On 2 Oct 2008, at 16:08, Tarscher wrote:

> Hi all,
> 
> I have a form that wrongly trigger the rjs respond to with ie7. The  
> html repond\_to is correctly used in both FF 3 and Google Chrome. I use  
> the standard form\_for helper and have no idea what could cause this  
> issue.

Take a look at what is sent over the wire. I have a vague recollection  
of someone writing something about IE sending a dodgy Accept header.

Fred
