It should just be config.columns = [:first_name, :last_name, :addresses] try config.columns = [:first_name, :last_name] then config.columns = [:last_name, :first_name]
You should see first name then last name the first time, and last name then first name the second time. if this works, then put addresses at the end and let me know what happens.. On Fri, Mar 6, 2009 at 10:32 AM, kukusz <[email protected]> wrote: > > I know this has been asked many times, but I can't seem to find a > solution that works. > > I have a member object, which has many address objects. When the > members form is rendered, it asks me to fill in the address object, > then first_name, last_name. It seems to be in alpha order. What I > would like to do is have first_name, last_name, then address. I have > tried config.list.columns =[...] and config.columns = [...] among > other things, none seem to make a difference. I have tried it in the > member controller and in the main ActiveScaffold config. Can someone > point me to the relevant documentation, example, or forum post that > explains how to achieve this? > > 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 -~----------~----~----~----~------~----~------~--~---
