similar to: Frames

Displaying 20 results from an estimated 900 matches similar to: "Frames"

2006 Jan 11
2
Creating a DB in the schema import process
I''ve got a bunch of table creations in the schema.rb file and all is well. However, I have to manually go and create the db first. Is there a way (something like a create_database method) to get this to work? (execute "create database ..." didn''t seem to cut it either.) _______________________ Brad Eck Sr. Software Engineer Pelco 3500 Pelco Way Clovis, CA 93612
2006 Jan 11
1
Multiple apps on server conflicting
We have a situation where one app on the server seems to be affecting another. So, we start the first app on port 3000 and run it and all is well. We start the second app on port 3006 and it fails (blank screen). We then have to blow away the temp files and try again. If we start the 3006 one it will work and then start 3000 and it fails. So, in essence the first one wins. Any thoughts? We are in
2005 Dec 21
1
Active Search
Issue: I am trying to get a good quality search capability across our site. I ran across ActiveSearch (http://julik.textdriven.com/svn/tools/rails_plugins/simple_search/) which seems to be a better solution for us than SimpleSearch (and SearchGenerator) as it is more than just word based. However, I am unable to get the project built and being fairly new to Ruby / Rails I''m a little
2006 Jan 06
1
DHTML on WEBrick
I have some simple dhtml code in my rails app that hides fields I do not need displayed. This worked great as soon as I click on the item that initiates the hide, but within one second it pops back up. My assumption is WEBrick is refreshing to a previous state and I wondered what y''all thought was the appropriate way to handle. I thought maybe the default environment in production would
2005 Dec 21
0
subscribe
_______________________ Brad Eck Sr. Software Engineer Pelco 3500 Pelco Way Clovis, CA 93612 Office - 800-289-9100 Email - beck@pelco.com <BLOCKED::mailto:beck@pelco.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20051221/107d6e92/attachment.html
2005 Dec 29
5
Model Composition in Rails
I''m struggling understanding the model view of a combined model. Take the following: class P4 < ActiveRecord::Base has_many :p4_priorities end I figured out the naming and referencing of the sub models (i.e. P4.p4_priorities - seems simple enough but I had weird issues related to it). I''m all ok except that I am having issues with how to reference a
2006 May 13
1
newbie question - routes.rb on server
Hello, I am new to Ruby but not to programming. I have a domain name and server space with a host who said that ruby on rails should work on the server. All I want to do is make sure that a test ruby application works online so that I can begin development on an app. I am able to get the test program to work locally but not online. In C:/ruby/projects/test/controllers/TestController.rb:
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
2006 Jun 01
9
access model from controller
Hello, Rather new to RoR, so I''m not sure about the terminology and such :-/ . My question is: how could I know the model which is associated to a controller? For example: - controller class is TestController, which is a subclass of ApplicationController - associated model class is Test How could I write some code in a method of ApplicationController to dermine the current
2005 Dec 29
3
Class Variable Scope
(Hopefully) a quick question about variable scope issues. In one of my controllers, I have a class variable: class TestController < ApplicationController @@testClassVariable = 0 ... The problem is, in my "list" method I''m trying to increment this variable by one each time, printing it out, but it seems to reset to 0 every time the list method is called: def list
2006 Jul 10
2
''uninitialized constant'' error
Hi All, I am fairly new to Ruby and backgroundRB. I am trying to run a simple example in Windows to get my feet wet with backgroundRB and am running into an ''uninitialized constant'' error when I invoke the controller on my rails app. In ''MyTest'' Controller ------------------- def longrun session[:job_key] = MiddleMan.new_worker(:class =>
2006 Jun 07
1
What is class TestController < ActionController::Base
What are the different parts of; class TestController < ActionController::Base? I look at the http://api.rubyonrails.org/ and try to understand but I don''t. Could someone give me a hint? I get the part of Test being the "folder", def and all that, but I can''t find an explanation of the basic stuff. -- Posted via http://www.ruby-forum.com/.
2005 Nov 02
3
Xen driver domain...character device?
Greetings, Does anyone know if it is possible to give a guest domain access to character device hardware such as a SCSI tape drive (/dev/st0 | /dev/nst0)? I have recompiled the guest xenU kernel with hardware access and declared the pci SCSI card in the config file directive as follows: pci = [ ''4,3,0'' ] The log file when started reports: [2005-11-01 17:24:57 xend] DEBUG
2010 Nov 22
3
can't activate i18n (~> 0.4.1, runtime) for ["mail-2.2.10"
Hi Using RoR 3.0.3 on Mac OS X, and am running into the dependency problems. Please see the error below. I thought bundler was meant to precisely avoid these problems? thanks a lot for your help I tried bundle install / check , deleted old lockfile and regenerate it, but nothing worked. rails generate controller testcontroller index /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:233:in
2014 Sep 08
2
Configure Dovecot Master User
Hi, Does anyone have any idea or hint how to configure dovecot master user? I'm already on it for almost fifteen days and can not find a solution. I appreciate any help, Clovis -- Clovis Tristao - UNICAMP/Faculdade de Engenharia Agricola Administrador de Redes - Secao de Informatica (SINFO) E-mail: clovis at feagri.unicamp.br http://www.feagri.unicamp.br MSN: clovis_tristao33 at
2007 Feb 15
17
Odd parameter munging with with()
Hi, I have this setup block: setup do session[:login] = ''jhughes'' @user = mock("user") User.stub!(:find).and_return(@user) @params = {:cn => "Bilbo Baggins", :telephoneNumber => "416-277-4418", :mail => "bilbo at baggins.com"} end And then this spec: specify "should update and save the
2003 Jan 29
1
Wins Refresh
Samba Folks, I am facing a very strange problem in my net. I've the WINS Server, based on SAMBA(2.2.7-2) in RH 8.0. When I put on machine in the domain, the Wins registers in the browser list.. Later that I removed the machine from domain, the Wins does not give one refresh and clean the array name. I tried to remove the name wrong of the table/var/lock/samba/browser.dat and wins.dat, but
2006 Aug 14
8
How search engine friendly are RoR sites?
I am a total RoR virgin, and took my first steps this weekend into the Ruby world. A lot of sites I create need to be as SEO friendly as possible, particularly for google. Before I delve any further, can anyone tell me how friendly the dynamic URLs or if there is the usual rewrite mod for rugby? Thanks Mike -- Posted via http://www.ruby-forum.com/.
2006 Jan 22
6
*Very* basic layout question
I''m trying to use a different layout for just one action in my controller, all the other actions use the application.rhtml layout, so what i''m doing is ... class SomeController < ApplicationController layout "simple", :only=> :some_action ...... end and the "simple" layout is applied to all the actions, can someone please give me a hint?
2003 Jan 30
1
Wins Server Fail
Hi, I'm using samba-2.2.7-2 in RH 8.0. I'm receiving, lot off e-mails(Logwatch), with the error message: [2003/01/28 08:23:15, 0] nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(509) : 1 Time(s) I configured smb.conf to Wins Server, with global options: security = share os level = 255 preferred master = Yes lm announce = yes