I think all you need to do for #1 is config.actions.exclude = [:create, 
:update, :delete]

This syntax should be on the wiki 
http://github.com/activescaffold/active_scaffold then click wiki

Do you want something to replace the ad existing? Do you just want to disable 
tht column?
Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: gs84 <[email protected]>
Date: Mon, 22 Feb 2010 05:47:09 
To: ActiveScaffold : Ruby on Rails plugin<[email protected]>
Subject: How to use Active Scaffold only for list view

Hi every body,


1) I wanted to know how can i use Active Scaffold only for list
(index) view ? It means that i will use my own views and methods for
create create and update, and use Active Scaffold for the list view?

I have tried  to remove the index method in my controller, but i still
have anything on my list view...

2) Do you know how can i remove/desable the "Add Existing" link when
nesting associated models in create and update view?


3) I have a  "filename" column for file upload. I use Active scaffold
in this controller. When i am in the create view, the file upload
column works fine. But when i am in the edit/update view the
"filename" column became a simple text field column instead of a file
upload column. Can you help me to solve thoses problems


Thanks for your help and answers.

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

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

Reply via email to