similar to: webrick server slow or does not connect

Displaying 20 results from an estimated 1000 matches similar to: "webrick server slow or does not connect"

2006 Jul 17
10
getting the user name
Hi I am new to ruby and trying to obtain the user name in the login index.rhtml where I could display "You have logged in [user name]" How could I do this? I have been trying different options after reading the ruby manual but still throw an error. please help -- Posted via http://www.ruby-forum.com/.
2006 Aug 01
6
Newbie: How to use text_field with Java Script
<input type="text" name="date1" id="dateField1" onchange="magicDate(''dateField1'');" onfocus="if (this.className != ''error'') this.select()" /> How could I generate above text filed using ruby? I am not sure how to give the options such as onchange, onfocus, id and so on? could some one please help. --
2006 Jul 25
8
Calender Script?
I have been trying to get one of the calender javascripts to work with the <%= form.text_field. So when the user pick the date it updates the time fields? (like in normal reservation system where you pick up the date and time from the calender and when user pick the selection it updates the field) but I could not get this to work. Does anyone have got something similar to work? or could
2007 Oct 02
2
Requires from other modules / requires with aliases
Hi everyone, I''ve been working on a module for bacula, and I''m having a problem requiring resources I''ve defined in other modules. At the moment, I have the following (simplified): /etc/puppet/modules/bacula/manifests/init.pp: class bacula { ... define configure ( $gui="true", $db_password ) { ... postgresql::create_db {
2008 Mar 17
4
RSpec''ing model association callbacks
Hi all, i''m learning rspec and i must admit i really love it. But at the time i started learning it, i already developed my models classes and their callbacks. Now i''m trying to get a 100% coverage of my code but i cannot reach it because i do not understand how to spec my callbacks. Look at this for example: ----------------- User Model class User < ActiveRecord::Base
2002 May 02
2
a question
Hi, I have a program written in R which is good on the version 1.2, but for the fallowing versions of R, an error always is at the same place. That is at the level of the fallowing line: Sur<- getInitial(res2[m:M,2]~SSasymp(res2[m:M,1],Asymp,resp0,lrc),data=res2) Error in eval(expr,envir,enclos):numeric envir arg not of length one I don't know at all this langage for the instant.
2006 Jul 26
4
How to Install Engines?
I am trying to get this enginer to work....and I am not sure how to install the engine? could someone please give me some instructions with regards to this.... http://rails-engines.org/wiki/pages/DateboxEngine for example in the website above The Engines plugin or the EdgeEngines plugin * Engines 1.0 script/plugin install http://opensvn.csie.org/rails_engines/branches/engines/ *
2007 Dec 11
3
Transactional/Rollback problems
I''m having a rollback problem with rspec trunk. It doesn''t seem like rollbacks are happening quite as often as they should be. It appears as though the rollbacks are *NOT* occurring on the first description block in a file, but are for the rest. Here is a set of specs that are failing: require File.dirname(__FILE__) + "/../spec_helper" describe
2007 Sep 23
4
Story Runner, autoincrementing
I''ve written a story and I run into a snag. I''ve written the create_forum method and told it to set the id to 1 but when it creates the forum the id is autoincremented. My forums table is empty but the id keeps incrementing the newest record on creation. When I run the story it comes out as something like 59 which fails my story because I''m asking it to look at /forums/1
2009 Sep 13
1
belongs_to + create_* = rails vs. console behavior difference = confused Pepe
Hi, I have been battling something for a good hour and a half and finally realized how to ''solve'' the issue but I am very confused as of why I should do what I just did. I have 2 classes: class User has_many :audits ... end class Audit belongs_to :user ... end The way things need to work is to first create an audit and after the audit is created a user that has
2008 Mar 20
5
sharing story steps
Hi, How can I have a common set of steps that all my stories share? i.e. My stories often start out looking like this: Given a user Joe Given a user Jordan then: Given("a user $username") do |username| @users ||= {} @user_sessions ||= {} @users[username] = create_user(:username => username) @user_sessions[username] = login_as(@users[username]) end I want to share that
2023 Apr 07
2
python module
I am looking for the python-samba module. I would like to add/disable/modify AD accounts using python running on a linux machine. ChatGPT suggested the python-samba module. Sample code as follows: from samba.credentials import Credentials from samba.netcmd.user import create as create_user from samba.netcmd.user import setpassword as set_user_password ... I am running Debuan bullseye and I can
2008 Jan 04
2
Nested Routes + Facebook Resources
Does anyone have nested routes working with the facebook_resources method? My routes.rb has: map.facebook_resources :users do |users| users.facebook_resources :images users.facebook_resources :connections end but user_connections_url won''t generate. "rake routes" gives me: new_user POST /users/new {:action=>"new",
2012 Jun 05
2
embeding xml to ogg
On 6/4/12, Benjamin M. Schwartz wrote: > On 06/04/2012 04:08 PM, Martin Leese wrote: ... >> The optimal solution is described at: >> https://wiki.xiph.org/XMLEmbedding > > As that page says, "This page is for development of a specification for > embedding XML streams in Ogg.". "XML streams" are not simply XML > documents. They are _temporally
2012 Jun 07
3
embeding xml to ogg
Oleksij Rempel <bug-track at fisher-privat.net> > On 05.06.2012 20:41, Martin Leese wrote: ... >> On 6/5/12, Oleksij Rempel wrote: >> || We need fallowing tags: >> || creation datetime: seconds and time zone should be included. >> || source host: it can be name or guid. to organise created files by >> sources. >> || keywords,events. >> || date
2006 Apr 06
9
How to get Form values in RubyOnRails
Hi I want the FORM values on my controller.i.e. I want the values of login_loginname(Form variable) and login_password(Form variable) on login_controller.rb How can i do that? Table Name is: logins Model:: Login.rb Controller:: login_controller.rb Below is my test form loginname password Hoping for reply Regards Parikshit
2010 Oct 05
1
do Sintel make bad image for theora?
Hallo all, there is sintel online premiere up today http://www.sintel.org/ . But oggtheora video is every thing but not gut. I downloaded 720p version but IMHO some times it looks for me like scaled 480p. In my experience theora can do better, or em i wrong? strings Sintel.2010.720p.Theora-VODO give me fallowing: ENCODER=ffmpeg2theora-0.24 Xiph.Org libtheora 1.1 20090822 (Thusnelda) Screenshots
2013 Dec 05
1
p value for mu: anova()
Hello I have run an anova analysis for the fallowing model: H_obs=mu+REGION+MANAGEMENT + e When I run it in ASRelm I get the p-value for mu, and, of course also for the two dependent variables (REGION and MANAGEMENT) When I run it in R, I do not get the pvalue for mu. Can some one help me to understand why? and if it is possible to estimate the pvalue for mu in anova() in R? I attach the
2006 Apr 04
1
VoiceMail realtime not working in asterisk-1.2.6
hi all, I can not get voicemail working in realtime with asterisk-1.2.6. extconfig.conf is correct voicemail => odbc,asterisk,voicemail_users i am getting the fallowing error Executing Answer("SIP/xx.xx.xx.xxx-0a02e1c0", "") in new stack -- Executing Set("SIP/xx.xx.xxx-0a02e1c0", "foo=102") in new stack -- Executing
2004 Nov 08
1
Possible Bug
Okay in dovecot.conf I set the fallowing settings log_path = /var/log/dovecot info_log_path = /var/log/dovecot Then I setup log rotation for that file (using logrotate). But after it does the rotation. Dovecot dies. Now I know why this happens. But should it ? To over come this I now have it set to stop dovecot and start dovecot after it's done dealing with the log file. -- Chris L.