Hi,
If you don't even want to see the user, remove it from the create view by adding "create.columns.exclude :user" to PostController. If you want to see it but not edit it, add "columns.form_ui[:user] = :select" to the same controller. I hope this helps. It's documented in the API. Regards, Simon On Feb 21, 3:03 pm, "[email protected]" <[email protected]> wrote: > I have > > class Post < AR > belongs_to :user > end > > class user < AR > end > > When I am in the Activescaffold for Post and go to create a post, the > form pops up and in the form is a also the option to create a new > User or replace with an existing user. How can I disable the user > from being displayed at all, I dont want to create a new user or > replace with an existing user. I couldn't find out how to do this in > the docs. > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
