Oh.....I'm the dummy. I had a couple of fields wherein I forgot to
put  *.form_ui = :select.

However, in the list view:

 config.actions.exclude :nested,  :create, :delete

doesn;t get rid of the links to the belongs_to associations in the
list view for this model (yet, it seems to for other models -- so I
assume perhaps I have something wrong in the code for my controller I
included with this posting which I am not seeing). I have to
explicitly give it:

config.columns[:associate].clear_link
config.columns[:channel].clear_link

To turn off those hyperlinks in listview. -RVince

On Nov 20, 4:47 am, ChenJie|抽屉 <[email protected]> wrote:
> Hello RVince:
> About your second question.
>
> > Similarly, why in edit view, does it allow full editing of the belongs_to
> > items?
>
>  If I haven't misunderstanding you.
> You can use
>
> config. columns[:association_column].form_ui = :select
>
> Then, you association column would become only drop down menu.
>
> +++++++++++++++++++++++++++++++
> Daniel Chan (Chan Jie)
> E-mail [email protected]
> Bloghttp://www.ialog.com
> MSN [email protected]
> ++++++++++++++++++++++++++++++
>
>
>
> > 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].
> > For more options, visit this group at
> >http://groups.google.com/group/activescaffold?hl=.

--

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


Reply via email to