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
-~----------~----~----~----~------~----~------~--~---