search for: find_data

Displaying 3 results from an estimated 3 matches for "find_data".

Did you mean: fifo_data
2006 Jul 22
3
Doubts regarding Models
...st place. Then to know the right way to do the same, if it is wrong. I am having a table with the name "cd_details". using models, I am accessing data from this. my model is having the code like this. model filename : cd_detail.rb -------- class CdDetail < ActiveRecord::Base def self.find_data find ( :all, :select => "id,cd_label" ) end end --------- I am using the able model in a controller like the following ---------- def bootable @cd_details= Cd_detail.find_data end ---------- If I run this code, it is saying the following error; ---------- uniniti...
2006 Jul 22
3
Connection refused - connect(2)
Dear all, Please help me in this regards, I am using models to access LegacySchemas using set_table_name and set_primary_key... [code for model] class CdDetails < ActiveRecord::Base def self.find_data set_table_name ''cd_details'' set_primary_key ''cd_label'' find (:first, :select => "cd_label") end end [/code] and calling this in controllers like this, [code] class TestController < ApplicationController...
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
...s="cx"> </span><del>- @m_dlgFind = nil - @m_dlgReplace = nil </del><ins>+ @dlg_find = nil + @dlg_replace = nil </ins><span class="cx"> </span><del>- @m_findData = FindReplaceData.new </del><ins>+ @find_data = FindReplaceData.new </ins><span class="cx"> </span><del>- @s_extDef = "" - @s_index = -1 </del><ins>+ @ext_def = "" + @index = -1 </ins><span class="cx"> </span><span class="cx&quot...