search for: column_visible_on_quick_screenlist

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

2006 Jan 17
4
find_by_sql column ordering defect?
...nt 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 = "select id, " + columns.join('', '') + " from projects" @objs = Project.find_by_sql(sqlstatemen...