You need to exclude the roles column and users column from the controller you are working with.
AS tries to create scaffolds for every model that is related to the model you are working with. It looks for controllers for these models and then allows you to create relationships as you are creating your model. Exclude the column(s) that relate your model to roles and users and then it should work. You can delete the roles and users controllers as well Sent from my Verizon Wireless BlackBerry -----Original Message----- From: José Alberto <[email protected]> Date: Wed, 24 Jun 2009 20:28:36 To: <[email protected]> Subject: Re: Compatibility with ACL9 authorization system? On Wed, Jun 24, 2009 at 20:09, G. Sobrinho<[email protected]> wrote: > Do you created the controller named Roles? No, i followed the ACL9 doc adn tutorial adn it doenst need a Role controller to work, only the model. Anyway i created it and i get a new error asking me to add active_scaffold to that controller, i didi it and i get a new error, asking me to add active_scaffold to User controller. Finally it seems to work but... if i create or edit a new item i can see all the info of the user (like crypted password). I dont want to use AS to maange roles or users inside these tables so i guess AS don't work too wel with this kind fo roles systems (authlogic + acl9). Some idea? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
