On Miércoles, 30 de Septiembre de 2009 05:04:35 alexp escribió: > to make the original post complete - I did change a bit more in those > 2 files, I actually edited both of the loops checking for actions and > authorizations - just commented them out and replaced it with the > onmouseover render a partial form displaying the available actions, > both list action and list record are slighly differnt but I call the > same original methods and render them for the user, I;ll post the code > if any one can improve it, as Iḿ still not the best with AJAX :-)
Although I don't see the code, really, I think I don't like it (maybe I have understood wrongly). I don't like so many ajax requests in a list view. It should be possible to improve these views adding some cache to authorized_for? method. -- 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 -~----------~----~----~----~------~----~------~--~---
