Greetings. I wrote a simple app that I plan to use as part of a charity project. The app basically displays a nice table and enables users to maintain the data. I used a basic rails scaffold. I also used restful_authentication and stayed RESTful throughout. Now it all works the way that I want.
It struck me that users would want to sort the data columns. AS seems like a good fit for that. At the same time, I already wrote the logic for CRUD actions. I also already took care of adding [RESTful] CRUD links for each table row, depending on user role. So here's the question: Is there a painless way to drop in AS for just the Index action? If I say only => :index, I'll still need to add a column for the CRUD links. If I let AS do all the actions, I'll need to deal with the fact that I already defined those actions. The wiki mentions that I can do RESTFul routes by adding active_scaffold => true to the end of map.resources statements. It also says that AS adds other stuff -- I'm confused as to how that might work / break things. Hopefully, I'm clear enough in explaining what I want to accomplish. Thanks! P --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
