Displaying 5 results from an estimated 5 matches for "set_table".
Did you mean:
seq_table
2008 Jan 28
4
GridTableBase
Hello all,
i''m using wxruby 1.9.4 with Grid and the model class: "GridTableBase"
like in the code below. But the method set_table of the grid does''nt
work. Can anyone help me?
require ''wx''
include Wx
class MyGridTableBase < GridTableBase
def get_attr row, col, attr_kind
##
end
def get_number_rows
0
end
def get_number_cols
0
end...
2009 Jun 09
2
ActiveRecord subclass with manual DB connection can’t directly access column variables.
...s event["Timestamp"]
end
...instead of
for each event in Event.find(:all)
puts event.point
puts event.timestamp
end
FYI, when I generated the model I only ran "script/generate model
event" and absolutely nothing else. I then used "establish_connection"
and "set_table" inside the model in order to get a connection. Besides
that I''ve done nothing. Again, querying works, but I don''t get my
convenience access.
Ideas?
Best.
2007 Jan 23
11
dynamic tablenames
...a ''logdata'' table with >200
million rows, I''d create ''logdata_001'', ''logdata_002'',... tables where
the rowcount of even the biggest entity logdata stays below 3 million.
Rails seems to have no problem with me setting the tablename
(set_table_name) on each incoming request before accessing the database.
I have this gut feeling though I''m overlooking something nasty.
Anyone have any comments/suggestions ? Am I about to create my own
personal maintenance nightmare ?
Thanks in advance for your insights!
Piet.
--~--~-------...
2007 Feb 12
0
[861] trunk/wxruby2/doc/textile/grid.txtl: Added missing methods listing section
...d_setscrolllinex
+* "Grid#set_scroll_line_y":#Grid_setscrollliney
+* "Grid#set_selection_background":#Grid_setselectionbackground
+* "Grid#set_selection_foreground":#Grid_setselectionforeground
+* "Grid#set_selection_mode":#Grid_setselectionmode
+* "Grid#set_table":#Grid_settable
+* "Grid#show_cell_edit_control":#Grid_showcelleditcontrol
+* "Grid#xto_col":#Grid_xtocol
+* "Grid#xto_edge_of_col":#Grid_xtoedgeofcol
+* "Grid#yto_edge_of_row":#Grid_ytoedgeofrow
+* "Grid#yto_row":#Grid_ytorow
</ins><s...
2010 Jul 08
25
Prepared SQL statements
Dear all great developers.
I wonder if there is any work being done or thoughts being shared
regarding prepared SQL statements.
Currently I am in heavy need of tuning SQL INSERTS that insert large
(3MB) images into blobs.
I am using rails 2.3.5 with postgres adapter and pg driver.
Any information would be appreciated.
Jarl
--
You received this message because you are subscribed to the