I tryed the Kerry solution and: "config.ignore_columns.add" in application controller, so i ever have the same error:
ActionView::TemplateError (Could not find ::RolesController or ::RoleController models/role.rb only have: acts_as_authorization_role On 25 jun, 09:45, [email protected] wrote: > If the interfaces controller is also related to roles or users you will have > to exclude them in that controller as well > Sent from my Verizon Wireless BlackBerry > > -----Original Message----- > From: Kerry <[email protected]> > > Date: Thu, 25 Jun 2009 00:36:40 > To: ActiveScaffold : Ruby on Rails plugin<[email protected]> > Subject: Re: Compatibility with ACL9 authorization system? > > http://wiki.github.com/activescaffold/active_scaffold/api-core > > class DevicesController < ApplicationController > > active_scaffold :device do |config| > config.columns.exclude :roles, :users > end > > end > > Regards, > Kerry > > On Jun 25, 12:21 am, José Alberto <[email protected]> wrote: > > > 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 > > > i don't understand too well what i must exclude. I have a "devices" > > table with a nested "interfaces" table. In other 2 tables i have Users > > and Roles. So will be somethign like: > > list.columns.exclude :devices.role ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
