Hi Mike, Well, defining an order for a "many" association is quite easy in rails: just do something like the following in your model: has_many :players, :order => 'first_name'
That should sort your assocation in nested view according to your setting. The bad part of my answer is that the column isn t marked as sorted in your nested view. That s a known bug, but it isnt fixed so far. -- Volker On 14 Okt., 05:05, mikelb <[email protected]> wrote: > I have an associated column, and it pulls up multiple records. I > would like those records to be sorted by a certain column in the > database before being displayed. How would I do that *within* the > column? > > Thanks! > Mikelb -- 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.
