Displaying 2 results from an estimated 2 matches for "time_on".
Did you mean:
time_in
2008 Jun 23
1
Find_by_sql Doesn't Return Attributes?
My find_by_sql is not returning attributes of the calling model class.
Thermo.find_by_sql("SELECT COUNT(*) FROM thermo WHERE thermo_loc =
''back'' GROUP BY DAYOFWEEK(time_on) ASC")
# ==> [#<Thermo >, #<Thermo >, #<Thermo >, #<Thermo >, #<Thermo >,
#<Thermo >, #<Thermo >]
The sql is fine and when I checked it in a mysql console, it returns
the day of the week and count.
Any ideas why Rails (2.1 btw) is not bringing in...
2017 Sep 14
1
Print All Warnings that Occurr in All Parallel Nodes
...) parRapply Function Initialization:
parRaplly_Function <- function (DISPOIN_CSV_Row)
{
return(read_csv2(
file = DISPOIN_CSV_Row,
col_names = c(
"SCADA",
"TAG",
"ID_del_AEG",
"Descripcion",
"Time_ON",
"Time_OFF",
"Delta_Time",
"Comentario",
"Es_Alarma",
"Es_Ultima",
"Comentarios"),
col_types = cols(
"SCADA" = "c",
"TAG" = "c&q...