similar to: need help(raidrails)

Displaying 20 results from an estimated 300 matches similar to: "need help(raidrails)"

2006 Apr 27
5
mysql lost connection
Hi, I''m lost and my mysql connection as well... I got this error in my production.log: ActiveRecord::StatementInvalid (Mysql::Error: Lost connection to MySQL server during query: SET NAMES ''utf8''): Config: Debian Sarge (last updated), Rails 1.1.2, Webrick, mysqld Ver 4.1.11-Debian_4sarge2 for pc-linux-gnu on i386 apache2 with mod_rewrite and webrick as proxy on 8080.
2006 Mar 30
6
Global Method Declaration?
Is there a place where I can put a method that can be accessed in both views and controllers? Here''s the situation, maybe someone can suggest a better way to go about this: I created my own custom login system with email verification and user roles (basically, I tinkered around with SaltedHashLoginGenerator until I finally gave up and wrote my own). One role, of course, is an admin
2005 Jun 24
9
new mysql gem
Hi everyone, For those who have/had problems with Webrick not properly closing MySQL connections, there is a new MySQL gem. (Actually the version was released some time ago, just nobody took the time to make a gem) So run "gem update" or just "gem install mysql" to update (not sure if the latter also updates). Special thanks to Tobias Luetke, who forwarded the gem to Chad
2006 May 03
6
New Release: One-Click Ruby Installer 1.8.4-17 release candidate 2
We are almost there to a final release. The uninstall issues have been fixed, and a few packages have been upgraded to more recent versions. Many thanks to Ryan Leavengood and Shahank Date who stepped in to help finish off this release! *** Only "show-stopper" problems will be fixed *** We are extreme short of manpower at the moment. So as much as I would like to address each and every
2012 Sep 15
2
[RSpec Testing] Methods take two arguments
Hello, Here is my *pdf_helper.rb* => http://pastebin.com/QU1kTKXk. I want to test, if self.create method can take more than two arguments. But, when I try to run my test. It showed *PdfHelper Should have two arguments Failure/Error: create_pdf.should_receive(object,template).with(user,file) NameError: undefined local variable or method `create_pdf'' for
2018 Aug 14
4
Why did Intel change his static branch prediction mechanism during these years?
( I don't know if it's allowed to ask such question, if not, please remind me. ) I know Intel implemented several static branch prediction mechanisms these years: * 80486 age: Always-not-take * Pentium4 age: Backwards Taken/Forwards Not-Taken * PM, Core2: Didn't use static prediction, randomly depending on what happens to be in corresponding BTB entry , according to agner's
2005 Jan 07
1
Connection closed by remote host
I'm having trouble with sshd accepting connections: $ ssh localhost Password: Read from remote host localhost: Connection reset by peer Connection to localhost closed. It used to work great, but when my copied my drive to another drive so I could swap to a larger drive, I started having problems. I copied the partitions one by one after booting with a LiveCD. It could be a permission
2006 Jun 03
10
Ruby on Rails on MacBook
Hi, I''m trying to set up Ruby on Rails following Apple''s tutorial with ruby 1.8.4 and mysql 5.0.22. But every time I ran ''rake migrate'' I got the following access denied error: Access denied for user ''root''@''localhost'' (using password: YES) After turning on --trace switch, it showed the error happened at the following
2006 Jun 14
5
InstantRails Lost connection to MySQL server
Hiall, I just tried out InstantRails version 1.3a. After a virgin install and filling the fresh mysql db with my app schema, I tried runningthe app with webrick, only to see the infamous "Lost connection to mysql server" for every action. What is it that I''m doing wrong? I also have mysql 5 installed on my machine, but the service is stopped while experimenting with
2004 Dec 28
2
trouble with chmod on certain symlinks
hello- i am using rsync via ssh to maintain a copy of a few directories on a remote server, and am getting an error when rsync tries to chmod a certain file following it's transfer. there are a couple of cases in which this occurring - below is one example. local machine is debian testing - rsync version 2.6.3 protocol version 28 remote machine is macos x 10.3.7 - rsync version 2.6.2
2006 Apr 08
1
Aw: Instant Rails 1.2
----- Urspr?ngliche Mitteilung ----- Von: Curt Hibbs <ml.chibbs@gmail.com> An: rails@lists.rubyonrails.org, ruby-talk@ruby-lang.org, instantrails-users@rubyforge.org Gesendet: Fr., 7. Apr. 2006 20:30:44 CEST Betreff: [Rails] [ANN] Instant Rails 1.2 According to Zed Shaw who is doing extensive work on Windows at the moment, there is some kind of bug or adverse interaction between the Ruby
2012 Oct 09
1
LDAP encryption
We have an LDAP server that contains AES encrypted passwords. So far I've been able to use this by adding a passdb module that encrypts the user's password prior to ldap comparison. Now I am looking at supporting client-side encrypted passwords. To do this I need to decrypt the password returned by LDAP. Is there a way to insert a module to do this decryption between ldap returning and
2006 Nov 04
2
Instant Rails 1.4 final released (with RadRails support!)
This is the final release for Instant Rails 1.4. It corrects the two known problems with the preview1 release (two help menu items caused Instant Rails to crash). Instant Rails 1.4 contains the following major changes: * Upgrades Rails to version 1.1.6 (other components upgraded to current release, also) * SCGI has been replaced by Mongrel (using Apache''s mod_proxy for
2006 Mar 17
3
Best debugger for Rails on Linux
A quick survey... what''s the best gui debugging tool for Rails 1.0 on Linux that you''ve used? SW versions? Personally I''ve tried FreeRIDE 0.95 and RDT 0.7.0 in Eclipse 3.1.2. Both are very slow and the latter got quite a few bugs itself. TIA! -- Posted via http://www.ruby-forum.com/.
2006 Feb 22
2
context being ignored by inbound sip call
hello- i was messing around with a did from ipkall.com, and asterisk seems to be ignoring the context specified in the sip config. in sip.conf, i've added: [7508] ;ipkall type = peer dtmfmode = rfc2833 context = remote callerid = "ipkall incoming" <7508> nat = no in extensions,conf, i have: [remote] exten => 7508,1,DISA(1111|internal) [internal] exten =>
2011 Mar 24
0
How can I change from ruby/mysql to mysql/ruby module? [Broken PIPE problem..]
Due to the random broken pipe error in rails, (probably due to timed out mysql connection) I am trying to use Mysql/ruby (which was coded with C) instead of ruby/mysql (which was coded in Ruby). Ruby/Mysql -> http://www.tmtm.org/en/ruby/mysql/README_en.html Mysql/Ruby -> http://www.tmtm.org/ja/mysql/ruby/README.html Related Article about Broken pipe problem ->
2008 Jul 16
2
belongs_to causing endless loop on first call to save!
Hi, I have a situation I''m hoping someone out there may be able to shed some light on. I have a Rails app (2.1.0 on Ruby 1.8.7) with a wizard-based sign up process, that has recently been changed from storing incremental data in the database to having a medium sized object graph living in the user session until the user completes the entire sign up process (this is a business
2006 Jan 01
5
db connection problem: Mac X, MySQL 5, Rails 1
This has taken me quite a bit of time to sort out. The problem is this: Whenever my Rails app tries to query the db, it hangs forever. Having searched 5000+ emails to this group, I''ve not found an answer to my problem. I''d be happy to turn on logging, but can''t seem to get the Mac install of MySQL to boot up with the --log option set. I tried running mysqld and
2006 Aug 02
15
Rails in a Windows World
I work at an organization that is very wrapped up in Microsoft products. I am trying to get a test application put in however I''m not sure what to do about the infratstructure. If it were up to me we would put in MySQL and Apache or Lighty, however its not up to me. The easiest way to get an application into production at our company would be to use the existing MS SQL server and IIS
2006 May 31
2
I''m Collecting Media Refernces for Ruby and Rails
I''m trying to collect media references (URLs) to articles, podcasts, and videos about Ruby and Ruby on Rails, like this month''s Linux Journal ( http://www.linuxjournal.com/issue/147) or the recent DDJ article ( http://www.ddj.com/dept/architect/187203512). If have such a collections yourself (or just know of some good references), could you please share them on this thread.