Each time I submit the form each key will have a different value.
NOTE: I am not entering new content into the text fields, simply
resubmitting what's already there. The values just get randomly
reassigned to different keys each time. The order of the Keys never
change though.
Here's what my log is showing me after clicking submit three times:
It's even worse with more items in the cart.
Parameters: {"items"=>{"72"=>"3", "51"=>"2", "64"=>"1"}}
Parameters: {"items"=>{"72"=>"3", "51"=>"1", "64"=>"2"}}
Parameters: {"items"=>{"72"=>"3", "51"=>"2", "64"=>"1"}}
Thanks!
On Apr 22, 3:44 pm, Dmitry Sokurenko <[email protected]>
wrote:
> Yep, that should work, or you want to say that if you enter some value
> into the textbox (eg 10) for the item 71 you've got something
> different from 5 on the server?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---