On Miércoles, 2 de Junio de 2010 18:06:36 bradm escribió:
> > Remove posts column:
> > config.columns.exclude :posts
> >
> > --
> > Sergio Cambra .:: entreCables S.L. ::.
> > Mariana Pineda 23, 50.018 Zaragoza
> > T) 902 021 404 F) 976 52 98 07 E) [email protected] Hide quoted
> > text -
> >
> > - Show quoted text -
>
> Thank you very much!  That works.
>
> Any idea why removing a posts "column" when there is no posts column
> in my past_statuses table is how we have to do it?  That seems very
> counterintuitive.  Then again, I'm new to Rails so it could just be my
> ignorance and lack or experience talking.

Don't you have a posts association? In ActiveScaffold a column can be a real 
column in the table, an association and a virtual column added to 
config.columns. 

It's documented in API: core, in columns section

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [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].
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