search for: modelinternationalization

Displaying 2 results from an estimated 2 matches for "modelinternationalization".

2006 Jan 05
1
Looping through all models in the application
Hello. I have an application that depends on a table/model (ModelInternationalization) that provides international translations in various languages for all the model/table and columns names as well as some other stuff (whether the column is visible on forms, dropdowns, lists, reports etc). I need to create a management interface for this translation stuff (the plaintext stuff,...
2006 Jan 17
4
find_by_sql column ordering defect?
...ible_on_form, column_visible_on_screen_quicklist etc. The idea is that our customer can specify to a certain extent how their layout/user interface will appear. To accomplish this, I use find_by_sql under the belief that this would preserve the correct column order, like so: columns = [] @model = ModelInternationalization.find(:all, :conditions => "lower(model_name) = ''project'' AND column_visible_on_quick_screenlist = true",:order => ''orderno ASC'') for m in @model if m.modelonly == false columns << m.column_name end end sqlstatement = "sel...