search for: modelonly

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

2006 Aug 03
2
inserting values in two tables at one button click
hi, i am new to Roby on Rails. we have a project on this. i have very much satisfied with development with this environment. it is very iteresting. but i have a problem with insertion. my problem is: i have to insert values into two tables at one submit. i am using mysql as db. i have created two tables which has one to one reelation ship. once i enter name and email address and role. name
2006 Jan 17
4
find_by_sql column ordering defect?
...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(#<ProjectsController:0x2aaaacb3aa80>):001:0> s...