alexp wrote ...

> player habtm items
> items habtm players
> i naturally created players_items contains both foreign keys
> 
> in list view for players with the items selected as a
> confing.list.column it asks for items_players, I've named all my
> tables on the "parent" table/model first as I thought, but AS is
> asking for the opposite - how do I reverse this so in my list view I
> can see the items that belong to the player?

The Rails convention is to name the join tables in alphabetical order.
AS doesn't do anything to override that convention.

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