search for: art_typ

Displaying 1 result from an estimated 1 matches for "art_typ".

Did you mean: arg_typ
2006 May 24
0
acts_as_list with scope for two fields without parent/child
Hello, I''ve a model which doesn''t rely on parent/child relationship (it''s a list of news articles) Each article has a lang char(2) which identify the language of the article, and a art_type char (2) which identify the place the article must be displayed (in the shop (SH), or in the website (WE)) So, the news articles order should be scoped on lang + art_type but I would like to avoid setting up two new models (two tables), one for the lang and the other for the art_type (these tw...