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=PPvhAIv7qXLZxTidD6aDvIenm6eCj36xQwqA9AX%2FUjo%3D&page=2&authenticity_token=PPvhAIv7qXLZxTidD6aDvIenm6eCj36xQwqA9AX%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=PPvhAIv7qXLZxTidD6aDvIenm6eCj36xQwqA9AX%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 -- Regards, Gabriel Sobrinho E-mail: [email protected] Phone: +55 31 8775 8378 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
