search for: orderno

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

Did you mean: ordeno
2006 Jan 17
4
find_by_sql column ordering defect?
...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(sqlstatement) the breakpointer tells me that: irb(#&lt...