Matt Darby wrote:
>> Those first three fields are not enclosed in a cell.
>> That may cause IE to send the parameters in the wrong order.
>>
>> Please log and post the raw_post string.
>
> Ahh, IE, my old friend. Perhaps this is why I wasn't able to recreate
> it.
Well, I can't blame IE for tripping up on invalid HTML.
> Here is the raw POST:
>
> Processing TimeCardsController#day (for 192.168.1.192 at 2008-12-18
> 09:14:13) [POST]
> Parameters: {"date"=>"2008-12-17", "time_cards"=>[{"job_id"=>"3107",
> "time_card_entry_type"=>"Field", "time_card_date"=>"2008-12-17",
What you really need to look at is not the params hash,
but the string posted by the browser. See this by adding
"logger.info request.raw_post" to your controller action.
If the parameters are indeed posted out of order, then the
problem was with the missing td tags. However a correct
order would instead suggest a bug in Rails' parameter processing.
--
Rails Wheels - Find Plugins, List & Sell Plugins - http://railswheels.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---