It should be fixed now

On Viernes, 24 de Julio de 2009 17:53:30 G. Sobrinho escribió:
> Hello,
>
> I found a bug on DHTML History (or a ActiveScaffold JS bug).
> In pagination, the URL be
> http://localhost:3000/users#as_users:2:undefined:undefined for example. If
> I reload page after changing page, Rails throw a exception:
>
> Only get, put, and delete requests are allowed
>
>
> Dumping the request with Firebug I see this request changing page:
>
>
> *GET
> http://localhost:3000/users/update_table?authenticity_token=PPvhAIv7qXLZxTi
>dD6aDvIenm6eCj36xQwqA9AX%2FUjo%3D&page=2&authenticity_token=PPvhAIv7qXLZxTid
>D6aDvIenm6eCj36xQwqA9AX%2FUjo%3D
>
> **authenticity_token*
>
> *PPvhAIv7qXLZxTidD6aDvIenm6eCj36xQwqA9AX/Ujo=*
>
> *authenticity_token*
>
> *PPvhAIv7qXLZxTidD6aDvIenm6eCj36xQwqA9AX/Ujo=*
>
> *page*
>
> *2*
>
> *
> *
> When I reload page, I see this request:
>
>
> *POST
> http://localhost:3000/users/update_table?authenticity_token=PPvhAIv7qXLZxTi
>dD6aDvIenm6eCj36xQwqA9AX%2FUjo%3D&page=2&_method=get
>
> **_method*
>
> *get*
>
> *authenticity_token*
>
> *PPvhAIv7qXLZxTidD6aDvIenm6eCj36xQwqA9AX/Ujo=*
>
> *page*
>
> *2*
>
>
>
> Two notes here: two authenticity_token and second request is POST (with
> _method) instead GET.
>
> Not that the browser URL only change (the # segment) when I click on
> previous/next links and not in the page number.
> This means the *browser* previous/next only work when I use previous/next
> of pagination. Not that this not work also, raise the same exception.
>
>
> I'm using lastest AS commit for now with Rails 2.3.2
>
> Anyone can fix?
>
>
> Thanks

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to