similar to: habtm > join()

Displaying 20 results from an estimated 1000 matches similar to: "habtm > join()"

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 Mar 02
3
reloadable classes for other base classes than the built-ins
I''m working on the plugin for RBatis and a new little thing I''m toying around with called ActiveMessaging (sorry, David I stole the name from you from the TW AwayDay ;-)). Anyway, in both these applications I want to be able to have reloadable classes that don''t extend any of the standard built in ones. So, I don''t mean to offend the Eminent Core Members by
2006 Jun 23
9
Connecting MQ from Rails ??
Hi all, I want to Connect to IBM MQ from Rails/Ruby, can it be done? and get the messages from the Queue, then i want to use this message in ruby/rails. Is there a direct way of doing the above job?? If so any packages are available? If there is not a way currently, and any thoughts of how we can do the above job indirectly through some other means or round about ways or workarounds can be
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
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 <%=
2012 Jun 12
1
puppetdb indicated only facts were replaced, no sign of catalog
Dear all, I have this setup on Ubuntu 12.04 and using puppetmaster/puppet 2.7.14 and puppetdb/puppetdb-terminus 0.9.0 from puppetlabs. My puppetmaster also run puppetdb. I also use hiera in this setup. hadoop4 is puppetmaster and hadoop02 is puppet client. puppet node status hadoop4.west.net hadoop4.west.net Currently active Last catalog: 2012-06-05T23:23:33.159Z Last facts:
2011 Oct 24
6
Scalability, Dashboard/Foreman, and MCollective
I''ve been trying to find information, suggestions, etc. for how to combine scaling Puppet with the use of management tools like Dashboard/Foreman and MCollective. Our current thinking for an initial deployment is two VMs as Puppet Master worker nodes fronted by a pair of NetScalers. However, I''m not sure how to go about implementing Dashboard or Foreman and MCollective servers in
2006 Feb 14
3
Can Ajax updates more than one <div>?
Hi, I wish to know, is it possible that Ajax can update more than one zone "<div>"???? like : <%= link_to_remote("Title", :update => ''mydiv0'', :url => {:action=>:say_hello} )%> <div id="mydiv0"> to be changed one</div> <div id="mydiv0"> to be changed two</div> When I execute the code, only
2013 Dec 13
2
New to puppet and recieving mcollective error
Im new to puppet and installed it in my home lab to mess with, when i installed it i used the hostname rather than FQDN so went back and changed puppet and reran the certificate tool to regenerate the certificates etc, the agent works fine now but i am getting an mccollective error i think, is there anything in the config i need to change for mccollective after altering the name to the FQDN?
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 Aug 16
2
Server Push, with Active MQ?
I''ve read the postings about Juggernaut with interest, it is an interesting approach but in wondering about a solution that wouldn''t require flash I did some searching and came across activemq (http://incubator.apache.org/activemq). Their approach for messaging to an AJAX client (http://incubator.apache.org/activemq/ajax.html)seems to be a combination of polling and keeping
2010 Jun 16
2
Sending a null byte to a socket
Hello, I am trying to write some code in R to communicate over sockets via the STOMP protocol (http://stomp.codehaus.org/Protocol). As you can see, a null byte (ASCII 0) is used as the "over" signal. I'd like to be able to do something like this: write.socket(socket, "CONNECT\nlogin: me\npasscode: pass\n\n\000") However, R does not like it when you put "\000"
2012 Jun 07
5
MCollective not all nodes answer to commands when using aes_security plugin
Hi, I deployed MCollective to our Puppet clients. approx. ~ 200. Our platform requires the most secure setup possible, so PSK as securityprovider is not an option. Therefor I changed the security provider to aes_security reusing puppets certificates in the server.cfg as found in the docs (1) Our goal is to use mcollective to offload event-driven actions to agents running on designated nodes from
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 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 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/.
2011 Dec 06
9
MCollective discovery - we did not discover any nodes
Hi everyone, I run MCollective 1.2.1 together with ActiveMQ 5.5 under Scientific Linux 6.1 on Amazon EC2. Overall it works like a charm, but sometimes (eg. 1/30) discovery fails. Still the exit-code of mco will be 0, which is a problem for me as I use MCollective e.g. to trigger deployments from Jenkins. I would like to ask for some feedback on the following ideas, that could fix this problem.
2013 Nov 25
2
mcp ping return no responses
I''m trying to install mcollective on an environment for the first time and I''m having troubles: MC client (also the puppet master) activemq.xml <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The
2013 Jul 01
1
Puppet with Mcollective, which modules and how ? (TheForeman)
Hi All, I have a working installation of a Puppet Master (CA) with Puppet agents, this using The Foreman. I really see the usage of Puppet this way but because The Foreman supports pushing your classes/templates to you nodes (agents) and uses the depricated Run/Kick for it I''m looking into Mcollective. Mcollective is supported by The Foreman since 1.2, the version I''m