search for: printingforsystem

Displaying 13 results from an estimated 13 matches for "printingforsystem".

Did you mean: printingforsystems
2006 Mar 09
4
habtm questions
I''ve got some of this working but other parts are ellusive. I have CREATE TABLE `bags` ( `id` int(11) NOT NULL auto_increment, `name` varchar(255) NOT NULL default '''', PRIMARY KEY (`id`) CREATE TABLE `packages` ( `id` int(255) NOT NULL auto_increment, `name` varchar(255) NOT NULL default '''', PRIMARY KEY (`id`) CREATE TABLE
2006 Aug 18
1
join update seperation?
I have a legacy DB without access to change the user or group table (must use StoredProcedures to edit those). But I do have access to the usergroup join so I thought the joins would be pretty much like my other rails apps where I do HABTM checkboxes. I''ve created a page that just shows habtm checkboxes for the join and the updates are occuring for the join but I''m
2006 Jul 25
2
join in legacy DB?
I''ve got a problem with some tables that don''t follow any RAILS standards. how do I define the join in the model when all three tables have wacky names? class Machine < ActiveRecord::Base set_table_name "tbl_CodeMgmt_Host" set_primary_key "Id" end class Pool < ActiveRecord::Base set_table_name "tbl_CodeMgmt_Pool" set_primary_key
2007 May 11
0
xen 3.0.4 on FC6 x86_64 install problem with lcrypto
a clean new FC6 system downloading xen src tar ball I get make[3]: Entering directory `/opt/xen-3.0.4_1-src/tools/blktap/drivers'' gcc -O2 -fomit-frame-pointer -m64 -DNDEBUG -std=gnu99 -Wall -Wstrict- prototypes -Wno-unused-value -Wdeclaration-after-statement - D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror - Wno-unused -fno-strict-aliasing -I
2006 Apr 03
1
singular table names testing
I''ve demoed my rails app and now have to move it to a MSSQL DB. the big problem I''m running into is the table name conventions I have to use. I have to use names like tbl_Transfer & tbl_User. In my tests on the console, I am trying myvar = tbl_Transfer.find_by_sql("select top 1 * from tbl_Transfer") NameError: undefined local variable or method
2006 Apr 20
1
error on stpexec : ROR on Linux with SQLServer Connection
So I got my rails app to connect to the SQLServer via ODBC, and I can model/scaffold, yada yada.. but when I need to exec a stored proc using sql_server.rb I get undefined local variable or method `connection'' how can that be, if I can connect for everthing else? thanks -- Posted via http://www.ruby-forum.com/.
2006 Mar 01
2
kickstarting with rails routing problem
I''ve rewritten my kickstart cgi in rails with DB acces to the host list and the testing is perfect. I can send the macaddress in the HTTPrequest Header, rails looks up the macaddr in the machine db and spits back out a kickstart file for the machine.. however in real world usage what I get is a request for http://server//kickstarts/kickme which rails fails with 192.168.20.176 - -
2006 Mar 16
2
how to limit standard layout on action
I have an action/view that I need to return only data (other external processes query this action/view) but I need the standard_layout template to be attached to the other actions/views in the same controller. ie, the editing of the data in the model needs to include all the navigation, except one view which should just return a text/plain output. how do I say "include
2006 Mar 21
4
habtm > join()
I''m trying to pull ou the ''name'' field for each of my associated rows and pass it as a string of names. I''m missing something obvious here but I thought @bag.packages.name.join(", ") would work. do I have to loop through @bag.packages? that seems like the long way. thanks -zac -- Posted via http://www.ruby-forum.com/.
2006 Feb 01
1
SwitchTower & CVS repository
Is there a document describing the configuration of SwitchTower with CVS repos? specifically what do I do with the "set :repository " line? "http://cvs/#{application}/trunk" ain''t gonna work. thanks -- Posted via http://www.ruby-forum.com/.
2006 Jan 27
2
simple stuff in rails rhtml
after playing with the DB interaction I''m moving on to doing some file IO. but I''m completly lost as to where to put the code and how to call it. I''m trying to get a list of files in a directory and it''s not obvious to me how to do this in Rails via a controller method. so ruby code is Dir.entries("testdir").last and html code is <%=
2006 Jan 25
1
Rails day 2: where is my association?
I?m following along a few tutorials on the web and trying to implement my own example, but I must be missing something because I can?t get has_many or belongs_to to work like I expected. now I have watched all the videos and made a cookbook several times with different interfaces. what I''m looking for is *not* a code snippet to solve something (because I already have that),
2006 Feb 24
2
reloading in development
I''ve just started getting so odd symptoms working with webrick. I use TextMate editing my rails apps over a CIFS mount on the server. Usually when I "edit/save/reload" a page I see the new changes. However I''ve started getting the same old data and now have to frequently restart the webrick server to get my changes to render. What is available to debug on this to