Displaying 2 results from an estimated 2 matches for "course_code".
Did you mean:
cause_code
2010 Jan 12
2
Placing eps files from R into Adobe InDesign documents: specifying fontfamily
...ales=list(alternating=1, tck=c(1,0), fontfamily="HersheySans") #for axes
xlab=list("Combined Score", fontfamily="HersheySans") #for titles such as
'main', 'sub', 'xlab' and 'ylab'
Here is the example:
bwplot(school.name~score|assessment+course_code, data=temp2.stack,
plot.points=FALSE, drop.unused.levels=TRUE,
panel=function(..., box.ratio, varwidth) {
panel.violin(..., col="cornsilk", varwidth=FALSE, box.ratio=box.ratio)
panel.bwplot(..., box.ratio=0.1)
},
layout=c(2,3,1),
par.strip.text=list(fontfamily="HersheySans&q...
2011 Aug 19
0
find_by_sql Method
...table for specific courses that belong to
specific institute using this sql statement. I''m getting the same
courses for all the institutes that I have. Any help on what to put in
place of 1 or how to restructure my query will be highly appreciated.
Here is my query!
<%= select ("course_code", "course_name",Course.find_by_sql("select
i.name, c.course_name from institutes as i, courses as c ,
institute_courses as ic where i.id = ic.institute_id and c.id =
ic.course_id and i.id = 1;").collect {|c| [ c.course_name, c.id ] })%>
--
Posted via http://www.ruby-f...