# Top

**URL:** https://www.ruby-forum.com/top.md?page=697

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 698

---

## [Plain text passwords in database.yml](https://www.ruby-forum.com/t/plain-text-passwords-in-database-yml/99346)

<div class="topic-metadata">

**Author:** [@fozbaca](https://www.ruby-forum.com/u/fozbaca)\
**Replies:** 3\
**Last updated:** [July 22, 2006, 8:39am UTC](https://www.ruby-forum.com/t/plain-text-passwords-in-database-yml/99346 "2006-07-22T08:39:32Z")

</div>

Hi All, It is our corporate security policy to not leave plain text passwords in text files (such as database.yml). I would like to to roll out a Rails application, but would like to find another way to connect to My…

---

## [How to set domain name in heroku](https://www.ruby-forum.com/t/how-to-set-domain-name-in-heroku/227297)

<div class="topic-metadata">

**Author:** [@ayyappa\_nallala](https://www.ruby-forum.com/u/ayyappa_nallala)\
**Replies:** 5\
**Last updated:** [March 11, 2013, 6:14am UTC](https://www.ruby-forum.com/t/how-to-set-domain-name-in-heroku/227297 "2013-03-11T06:14:54Z")

</div>

How to set godaddy domain name for ruby on rails application in heroku

---

## [How to syntax highlight Rails 2.0 .html.erb files in Textmate/E-texteditor](https://www.ruby-forum.com/t/how-to-syntax-highlight-rails-2-0-html-erb-files-in-textmate-e-texteditor/116864)

<div class="topic-metadata">

**Author:** [@Jesper\_RSSSSnn-Jens](https://www.ruby-forum.com/u/Jesper_RSSSSnn-Jens)\
**Replies:** 5\
**Last updated:** [October 17, 2007, 4:44pm UTC](https://www.ruby-forum.com/t/how-to-syntax-highlight-rails-2-0-html-erb-files-in-textmate-e-texteditor/116864 "2007-10-17T16:44:07Z")

</div>

I’m using E-texteditor that reads and understand the macromates bundles just fine. But how do you set up your editor so that it correctly can identify .html.erb as “HTML (Rails)” in Textmate? It seems as the bundle i…

---

## [\[ BUG \] $0 cannot keep the given string](https://www.ruby-forum.com/t/bug-0-cannot-keep-the-given-string/97333)

<div class="topic-metadata">

**Author:** [@Hidetoshi\_NAGAI](https://www.ruby-forum.com/u/Hidetoshi_NAGAI)\
**Replies:** 5\
**Last updated:** [July 24, 2006, 10:10am UTC](https://www.ruby-forum.com/t/bug-0-cannot-keep-the-given-string/97333 "2006-07-24T10:10:46Z")

</div>

e$B1J0fe(B@e$BCNG=!%6e9)Bg$G$9!%e(B e$B%W%m%0%i%\`L\>$rJ\];}$9$ke(B $0 e$B$G$9$,!$e(B e$B\>u67$K$h$C$F$OBeF~$5$l$?CM$rJ\];}$G$-$^$;$s!%e(B \[1\] % ruby -v -e ‘p \[$0.length, $0\]; $0 = “x”\*100+".rb"; p \[$0.length, $0\]’ ruby…

---

## [String =~ string](https://www.ruby-forum.com/t/string-string/64361)

<div class="topic-metadata">

**Author:** [@regularfry](https://www.ruby-forum.com/u/regularfry)\
**Replies:** 5\
**Last updated:** [June 26, 2006, 1:07pm UTC](https://www.ruby-forum.com/t/string-string/64361 "2006-06-26T13:07:27Z")

</div>

class String - RDoc Documentation says this: “cat o’ 9 tails” =~ ‘\\d’ #=\> nil I get this: irb(main):001:0\> “cat o’ 9 tails” =~ ‘\\d’ TypeError: type mismatch: String given from (irb):1:in \`=~’ from (irb):1 $ ruby…

---

## [Intermittent Bad File Descriptor on close](https://www.ruby-forum.com/t/intermittent-bad-file-descriptor-on-close/229032)

<div class="topic-metadata">

**Author:** [@bouldr-matt](https://www.ruby-forum.com/u/bouldr-matt)\
**Replies:** 2\
**Last updated:** [May 17, 2013, 10:56pm UTC](https://www.ruby-forum.com/t/intermittent-bad-file-descriptor-on-close/229032 "2013-05-17T22:56:30Z")

</div>

Hello folks. I have recently upgraded from 1.6.5.1 to 1.7.3, and am seeing a strange intermittent Bad File Descriptor error on closing a file. The offending line is a simple “File.read” (from Gem::Specification::load)…

---

## [Rails 2.3.11 and carrierwave, can't find generator](https://www.ruby-forum.com/t/rails-2-3-11-and-carrierwave-cant-find-generator/206049)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 22, 2011, 4:20pm UTC](https://www.ruby-forum.com/t/rails-2-3-11-and-carrierwave-cant-find-generator/206049 "2011-04-22T16:20:38Z")

</div>

I added carrierwave to a 2.3.11 app that I have updated with Bundler. I just tried to use the following: script/generate uploader Avatar The following error is coming back: NOTE: Gem.cache is deprecated, use Gem::sou…

---

## [TV card SDR](https://www.ruby-forum.com/t/tv-card-sdr/91298)

<div class="topic-metadata">

**Author:** [@Hew\_How\_Chee](https://www.ruby-forum.com/u/Hew_How_Chee)\
**Replies:** 2\
**Last updated:** [December 26, 2010, 5:44pm UTC](https://www.ruby-forum.com/t/tv-card-sdr/91298 "2010-12-26T17:44:41Z")

</div>

Hi, For anyone interested, the CX2388x TV card chipset raw ADC data driver for Linux kernel 2.6.18 is available at A GNU Radio Python FM demodulation code is provided also to see how the ADC samples are converted …

---

## [Printing columns](https://www.ruby-forum.com/t/printing-columns/143194)

<div class="topic-metadata">

**Author:** [@mariachi77](https://www.ruby-forum.com/u/mariachi77)\
**Replies:** 2\
**Last updated:** [July 16, 2008, 7:11am UTC](https://www.ruby-forum.com/t/printing-columns/143194 "2008-07-16T07:11:17Z")

</div>

I’m trying to print some data to the terminal in columns and haven’t seen a way to do it properly. I’ve tried “fred”.center(80) to try and center the text at column 80 but when I start entering data before “fred” it …

---

## [Problem with ActiveRecord::AssociationTypeMismatch](https://www.ruby-forum.com/t/problem-with-activerecord-associationtypemismatch/142941)

<div class="topic-metadata">

**Author:** [@christoph](https://www.ruby-forum.com/u/christoph)\
**Replies:** 2\
**Last updated:** [July 13, 2008, 9:15pm UTC](https://www.ruby-forum.com/t/problem-with-activerecord-associationtypemismatch/142941 "2008-07-13T21:15:10Z")

</div>

Hi all ! I’ve written a Character model, each character has many Attributes. My schema.rb looks like this: create\_table “characters”, :force =\> true do |t| t.string “first\_name” t.string “last\_name” t.integer …

---

## [Bug with multiple "!"](https://www.ruby-forum.com/t/bug-with-multiple/140341)

<div class="topic-metadata">

**Author:** [@Markus\_Boelter](https://www.ruby-forum.com/u/Markus_Boelter)\
**Replies:** 2\
**Last updated:** [June 17, 2008, 12:38am UTC](https://www.ruby-forum.com/t/bug-with-multiple/140341 "2008-06-17T00:38:45Z")

</div>

Hi! I discovered a bug in the latest stable RedCloth release where multiple “!!!” are not handled correctly. The bug seems related to line 1118 in redcloth.rb. Old version: next if prop == ‘src’ and attrv !~ /^http/ …

---

## [Clicking link with WWW::Mechanize](https://www.ruby-forum.com/t/clicking-link-with-www-mechanize/90399)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 2\
**Last updated:** [March 28, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/clicking-link-with-www-mechanize/90399 "2007-03-28T17:52:24Z")

</div>

Hello, I wuold like to click on a link in WWW::Mechaznie, and I know only the Hpricot XPath of the element I would like to click, nothing more. While it’s certainly possible to look up the text of the element pointed …

---

## [Inheritance and super function](https://www.ruby-forum.com/t/inheritance-and-super-function/68447)

<div class="topic-metadata">

**Author:** [@surendra\_s](https://www.ruby-forum.com/u/surendra_s)\
**Replies:** 2\
**Last updated:** [September 13, 2006, 1:05pm UTC](https://www.ruby-forum.com/t/inheritance-and-super-function/68447 "2006-09-13T13:05:02Z")

</div>

hello, Say I have the following Ruby code. Class A def test puts “I am A” end end Class B \< A def test puts “I am B” end end Class C \< B def test puts “I am C” end end Now, in the function test in Class …

---

## [Error send e-mail](https://www.ruby-forum.com/t/error-send-e-mail/245185)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [December 23, 2016, 12:36pm UTC](https://www.ruby-forum.com/t/error-send-e-mail/245185 "2016-12-23T12:36:18Z")

</div>

Hi Guys. My app (redmine) works fine. But, the e-mail notification is not working. Im using: Environment: Redmine version 3.0.3.stable Ruby version 2.2.2-p95 (2015-04-13) \[x86\_64-linux\] Rails version 4.2.1 Enviro…

---

## [Donde estoy metiendo la pata](https://www.ruby-forum.com/t/donde-estoy-metiendo-la-pata/170159)

<div class="topic-metadata">

**Author:** [@Reynier\_Perez\_M](https://www.ruby-forum.com/u/Reynier_Perez_M)\
**Replies:** 4\
**Last updated:** [June 15, 2009, 12:19am UTC](https://www.ruby-forum.com/t/donde-estoy-metiendo-la-pata/170159 "2009-06-15T00:19:35Z")

</div>

Hola a todos: Esto quizás sea una pregunta un poco más de Ruby que del propio Rails así que me van a disculpar por el OT. Si conocen alguna lista en español dedicada a Ruby solamente háganmelo saber para suscribirme a…

---

## [Gem on ubuntu problem : /usr/local/lib/site\_ruby/1.8/rubygem](https://www.ruby-forum.com/t/gem-on-ubuntu-problem-usr-local-lib-site-ruby-1-8-rubygem/124329)

<div class="topic-metadata">

**Author:** [@jpc\_001](https://www.ruby-forum.com/u/jpc_001)\
**Replies:** 4\
**Last updated:** [December 28, 2007, 11:14am UTC](https://www.ruby-forum.com/t/gem-on-ubuntu-problem-usr-local-lib-site-ruby-1-8-rubygem/124329 "2007-12-28T11:14:00Z")

</div>

Hi all, I’ve got a serious problem installing gem on my ubuntu. i used the apt-get manager. here is what i get when i try to launch gem : /usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:27:in gem\_original\_re…

---

## [How to comment a block of code in RHTML file](https://www.ruby-forum.com/t/how-to-comment-a-block-of-code-in-rhtml-file/104650)

<div class="topic-metadata">

**Author:** [@Lalit](https://www.ruby-forum.com/u/Lalit)\
**Replies:** 4\
**Last updated:** [May 21, 2007, 3:57pm UTC](https://www.ruby-forum.com/t/how-to-comment-a-block-of-code-in-rhtml-file/104650 "2007-05-21T15:57:07Z")

</div>

Hi Group. I am just starting with Ruby on Rails. I have been stuck up (not exactly stuck up but I need to figure this out). I need to comment a block of code with HTML and RUBY code. Is there any way of commenting an…

---

## [Can Ruby do the Objective-C/Cocoa style alloc/init pattern?](https://www.ruby-forum.com/t/can-ruby-do-the-objective-c-cocoa-style-alloc-init-pattern/83211)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 4\
**Last updated:** [January 24, 2007, 8:27pm UTC](https://www.ruby-forum.com/t/can-ruby-do-the-objective-c-cocoa-style-alloc-init-pattern/83211 "2007-01-24T20:27:26Z")

</div>

In Objective-C/Cocoa objects normally come to life in the following way: instance = \[\[Class alloc\] init\]; The “Class” is sent an “alloc” message (memory is allocated and a new instance is actually created) and then t…

---

## [Setting HTTP Headers](https://www.ruby-forum.com/t/setting-http-headers/62748)

<div class="topic-metadata">

**Author:** [@ashiro](https://www.ruby-forum.com/u/ashiro)\
**Replies:** 4\
**Last updated:** [June 7, 2006, 9:38pm UTC](https://www.ruby-forum.com/t/setting-http-headers/62748 "2006-06-07T21:38:40Z")

</div>

Hi All I’ve read the Pickaxe and the Ruby Docs but for the life of me I can’t figure out an easy way of setting the headers of my HTTP request/connection. I see a class called HTTPHeader and I see some methods have…

---

## [Warning: Object#id will be deprecated; use Object#object\_id](https://www.ruby-forum.com/t/warning-object-id-will-be-deprecated-use-object-object-id/97503)

<div class="topic-metadata">

**Author:** [@Siva\_J](https://www.ruby-forum.com/u/Siva_J)\
**Replies:** 4\
**Last updated:** [January 26, 2006, 3:08pm UTC](https://www.ruby-forum.com/t/warning-object-id-will-be-deprecated-use-object-object-id/97503 "2006-01-26T15:08:10Z")

</div>

Is anybody else getting this warning. When I change @user.id to @user.User\_id I am getting no method definition present exception. Any thoughts? Rgds, –Siva J. http://www.varcasa.com/ My First Rails Project. Powe…

---

## ["The Well-Grounded Rubyist" now out in paperback](https://www.ruby-forum.com/t/the-well-grounded-rubyist-now-out-in-paperback/167773)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 8\
**Last updated:** [May 14, 2009, 8:49am UTC](https://www.ruby-forum.com/t/the-well-grounded-rubyist-now-out-in-paperback/167773 "2009-05-14T08:49:28Z")

</div>

Hello all – I’m delighted to announce that my new book “The Well-Grounded Rubyist” is now available in paperback (and still in PDF, of course). It’s published by Manning, and it’s in stock at the publisher\[1\] and Ama…

---

## [Obtenir le nom de la classe d'un controlleur depuis une URL](https://www.ruby-forum.com/t/obtenir-le-nom-de-la-classe-dun-controlleur-depuis-une-url/104870)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSme\_Schell](https://www.ruby-forum.com/u/JSSSSrSSSSme_Schell)\
**Replies:** 8\
**Last updated:** [May 24, 2007, 3:24pm UTC](https://www.ruby-forum.com/t/obtenir-le-nom-de-la-classe-dun-controlleur-depuis-une-url/104870 "2007-05-24T15:24:41Z")

</div>

Bonjour, Une question certainement très simple. Comment obtenir le nom de la classe du controller qui va traiter une requête en fonction de l’URL demandée. Par exemple, je fais : pouet = ActionController::Routing::R…

---

## [SQL 2 table(or model) query](https://www.ruby-forum.com/t/sql-2-table-or-model-query/88485)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 8\
**Last updated:** [March 12, 2007, 2:38pm UTC](https://www.ruby-forum.com/t/sql-2-table-or-model-query/88485 "2007-03-12T14:38:23Z")

</div>

I have 3 tables, one called events, one called users, and one called created\_events which contains an event id and a user id (in order to link a user and an event together) - each one corresponds to its relevent model…

---

## [Mr. Neighborly's Humble Little Ruby Book is now available](https://www.ruby-forum.com/t/mr-neighborlys-humble-little-ruby-book-is-now-available/69278)

<div class="topic-metadata">

**Author:** [@Jeremy\_McAnally](https://www.ruby-forum.com/u/Jeremy_McAnally)\
**Replies:** 8\
**Last updated:** [September 20, 2006, 9:43pm UTC](https://www.ruby-forum.com/t/mr-neighborlys-humble-little-ruby-book-is-now-available/69278 "2006-09-20T21:43:49Z")

</div>

Hello everyone, Sorry for popping in like this with a commercial, but I’m excited that I’m finally finished! :slight\_smile: I just finished up my Ruby book, which is the first of two volumes that will eventually grow…

---

## [Login form question](https://www.ruby-forum.com/t/login-form-question/101721)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 8\
**Last updated:** [August 7, 2006, 8:49pm UTC](https://www.ruby-forum.com/t/login-form-question/101721 "2006-08-07T20:49:08Z")

</div>

I’m using Rails Recipes to create a login form but instead of username and password, my setup is firstname, lastname, password. I seemed to be gramatically challenged and not sure how to set up the parameter list. Ca…

---

## [Question on gems on Mac OSX](https://www.ruby-forum.com/t/question-on-gems-on-mac-osx/55067)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 8\
**Last updated:** [March 16, 2006, 10:13pm UTC](https://www.ruby-forum.com/t/question-on-gems-on-mac-osx/55067 "2006-03-16T22:13:53Z")

</div>

Hi all, lately I’ve been working with ROR on a MAC OSX tiger at work, however I have one huge problem with seems to be the root of all my problems whenever I use terminal or iTerm to start workign with ROR. Every si…

---

## [Advanced rubycocoa: full-screen applications? (Can I access](https://www.ruby-forum.com/t/advanced-rubycocoa-full-screen-applications-can-i-access/49822)

<div class="topic-metadata">

**Author:** [@bg-rubytalk](https://www.ruby-forum.com/u/bg-rubytalk)\
**Replies:** 8\
**Last updated:** [January 11, 2006, 1:54am UTC](https://www.ruby-forum.com/t/advanced-rubycocoa-full-screen-applications-can-i-access/49822 "2006-01-11T01:54:00Z")

</div>

Hi guys, I’m really pushing the RubyCocoa boundaries for a demo I’m trying to build. I want to display a QuartzComposer application full-screen (i.e. no menu bar, no dock, etc.) and then control it by Ruby. So far, …

---

## [Re: Find all ActiveRecord::Base subclasses?](https://www.ruby-forum.com/t/re-find-all-activerecord-base-subclasses/99331)

<div class="topic-metadata">

**Author:** [@Andrew\_OSBrien](https://www.ruby-forum.com/u/Andrew_OSBrien)\
**Replies:** 8\
**Last updated:** [December 17, 2005, 1:41pm UTC](https://www.ruby-forum.com/t/re-find-all-activerecord-base-subclasses/99331 "2005-12-17T13:41:52Z")

</div>

Wouldn’t that return the objects of class ActiveRecord::Base instead of the classes themselves? Looking through the Base.rb, I saw that there’s a method called “subclasses” that’s protected. Just to clarify my origin…

---

## [Windows 2008 - logging off kills nignx](https://www.ruby-forum.com/t/windows-2008-logging-off-kills-nignx/231972)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 11, 2014, 4:13pm UTC](https://www.ruby-forum.com/t/windows-2008-logging-off-kills-nignx/231972 "2014-09-11T16:13:24Z")

</div>

Nginx serves pages until I log off the web server. I need to log in again and start nginx (sometimes needing to kill IIS). Thanks for any thoughts, Ron Posted at Nginx Forum:

---

## [A very half-baked idea: setting local variables](https://www.ruby-forum.com/t/a-very-half-baked-idea-setting-local-variables/235687)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [July 9, 2013, 8:45pm UTC](https://www.ruby-forum.com/t/a-very-half-baked-idea-setting-local-variables/235687 "2013-07-09T20:45:24Z")

</div>

I’m sure this nonexistent feature is not in great demand, but there have been different times that I (and other people) have wanted it. This is not a “really serious” proposal, but I wanted to see what other people’s …

---

## [Gem update error](https://www.ruby-forum.com/t/gem-update-error/186280)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 6\
**Last updated:** [April 3, 2010, 5:32pm UTC](https://www.ruby-forum.com/t/gem-update-error/186280 "2010-04-03T17:32:32Z")

</div>

dunno what to do. i have a ruby installed on my new machine and cannot add fastercsv. E:\\Documents and Settings\\TTS\>gem install fastercsv WARNING: RubyGems 1.2+ index not found for: http://gems.rubyforge.org/ RubyG…

---

## [Regex or line.each seems to not be working](https://www.ruby-forum.com/t/regex-or-line-each-seems-to-not-be-working/182475)

<div class="topic-metadata">

**Author:** [@oshybrid](https://www.ruby-forum.com/u/oshybrid)\
**Replies:** 6\
**Last updated:** [January 28, 2010, 7:29pm UTC](https://www.ruby-forum.com/t/regex-or-line-each-seems-to-not-be-working/182475 "2010-01-28T19:29:56Z")

</div>

I have been banging my head over this for 2 days. The following is to scan a regular text file line by line using regular expressions. it seem to only grab the first line and not iterate through all the lines like i…

---

## [Net::FTP $B$G(B upload $B$N(B resume $B$,$G$-$J$$(B](https://www.ruby-forum.com/t/net-ftp-b-g-b-upload-b-n-b-resume-b-g-j-b/179124)

<div class="topic-metadata">

**Author:** [@Tomoyuki\_C](https://www.ruby-forum.com/u/Tomoyuki_C)\
**Replies:** 6\
**Last updated:** [November 20, 2009, 2:38am UTC](https://www.ruby-forum.com/t/net-ftp-b-g-b-upload-b-n-b-resume-b-g-j-b/179124 "2009-11-20T02:38:07Z")

</div>

è¿‘æ°¸ã¨ç”³ã—ã¾ã™ã€‚ Net::FTP#resume= ã‚’ä½¿ç”¨ã—ã¦ãƒ•ã‚¡ã‚¤ãƒ«ã®ã‚¢ãƒƒãƒ—ãƒ­ãƒ¼ãƒ‰ã® å†é–‹ã‚’å¯èƒ½ã«ã—ã‚ˆã†ã¨ã—ã¦ã¿ãŸã¨ã“ã‚ã€è»¢é€çµæžœã®ãƒ•ã‚¡ã‚¤ãƒ«ãŒ è¿½åŠ ã§è»¢é€ã—ãŸéƒ¨åˆ†ã ã‘ã«ã…

---

## [Need Help, getting Big Decimal error on a simple calculation](https://www.ruby-forum.com/t/need-help-getting-big-decimal-error-on-a-simple-calculation/124649)

<div class="topic-metadata">

**Author:** [@jooma2](https://www.ruby-forum.com/u/jooma2)\
**Replies:** 1\
**Last updated:** [December 31, 2007, 4:46pm UTC](https://www.ruby-forum.com/t/need-help-getting-big-decimal-error-on-a-simple-calculation/124649 "2007-12-31T16:46:58Z")

</div>

Ok this is driving me nuts. Here’s my issue in it’s most basic form. I have a table with a column called amount that was set to :decimal, :precision =\> 8, :scale =\> 2 In my controller I try to do something like this. …

---

## [How to mix audio files](https://www.ruby-forum.com/t/how-to-mix-audio-files/184526)

<div class="topic-metadata">

**Author:** [@Desireco](https://www.ruby-forum.com/u/Desireco)\
**Replies:** 3\
**Last updated:** [August 5, 2020, 3:24am UTC](https://www.ruby-forum.com/t/how-to-mix-audio-files/184526 "2020-08-05T03:24:57Z")

</div>

Hi, I got an idea that would require me to mix and merge audio files programatically. Is there easy way to do this in ruby? I don’t really need specific audio format ie. I can adjust to that as long as it is very easy…

---

## [Need help accessing data from array in a hash](https://www.ruby-forum.com/t/need-help-accessing-data-from-array-in-a-hash/259982)

<div class="topic-metadata">

**Author:** [@jinx](https://www.ruby-forum.com/u/jinx)\
**Replies:** 3\
**Last updated:** [July 13, 2020, 6:24pm UTC](https://www.ruby-forum.com/t/need-help-accessing-data-from-array-in-a-hash/259982 "2020-07-13T18:24:45Z")

</div>

Here is a sample of my code. It does not exactly work but I am hoping that it is enough to show what I am trying to do. student\_list = { 'joe' =\> \[ '150lbs','brown','black' \], 'bob' =\> \[ '175lbs','blue'…

---

## [Migration : mÃ©thode execute couper les logs](https://www.ruby-forum.com/t/migration-ma-thode-execute-couper-les-logs/170363)

<div class="topic-metadata">

**Author:** [@zdavidlnx](https://www.ruby-forum.com/u/zdavidlnx)\
**Replies:** 3\
**Last updated:** [June 17, 2009, 2:12pm UTC](https://www.ruby-forum.com/t/migration-ma-thode-execute-couper-les-logs/170363 "2009-06-17T14:12:55Z")

</div>

J’ai une migration qui effectue un grand nombre de requÃªtes SQL. J’utilise pour chacune d’entre elles la mÃ©thode execute. Le problÃ¨me est que cette mÃ©thode affiche dans la console toutes les requÃªtes effectuÃ©es …

---

## [1.9 bug?](https://www.ruby-forum.com/t/1-9-bug/150725)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 8:43am UTC](https://www.ruby-forum.com/t/1-9-bug/150725 "2008-10-14T08:43:33Z")

</div>

here’s a function def rubygems\_version Gem::RubyGemsVersion if defined? Gem::RubyGemsVersion end 1.8.6 irb(main):005:0\* rubygems\_version =\> “1.3.0” 1.9 irb(main):001:0\> def rubygems\_version irb(mai…

---

## [Nginx Tuning](https://www.ruby-forum.com/t/nginx-tuning/244130)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [February 24, 2016, 6:06pm UTC](https://www.ruby-forum.com/t/nginx-tuning/244130 "2016-02-24T18:06:10Z")

</div>

Alright here is the situtation. I have nginx and with passenger running. I can send load to the server and after a certain point I just start getting 500’s back. I have not been able to see what is causing it. I …

---

## [How to run a Ruby on Rails Project Locally on Windows7](https://www.ruby-forum.com/t/how-to-run-a-ruby-on-rails-project-locally-on-windows7/233220)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 25, 2014, 5:24pm UTC](https://www.ruby-forum.com/t/how-to-run-a-ruby-on-rails-project-locally-on-windows7/233220 "2014-11-25T17:24:41Z")

</div>

Hi, I’m completely new to Ruby and I have a source code for a project that uses Ruby on Rails. All I need to do is run this project on my local server. I use Windows7. I tried to install Ruby on Rails and Redmine on …

---

## [Not able to enter value in text box inside the iframe](https://www.ruby-forum.com/t/not-able-to-enter-value-in-text-box-inside-the-iframe/229656)

<div class="topic-metadata">

**Author:** [@mahesh\_ns](https://www.ruby-forum.com/u/mahesh_ns)\
**Replies:** 2\
**Last updated:** [February 6, 2013, 1:11am UTC](https://www.ruby-forum.com/t/not-able-to-enter-value-in-text-box-inside-the-iframe/229656 "2013-02-06T01:11:30Z")

</div>

Hello, My team is trying to automate web application using Watir. We are able to automate the application flow successfully, but at the last point we have process where we have to click on purchase button, an iframe g…

---

## [Make fail, when --with-http\_ssl\_module](https://www.ruby-forum.com/t/make-fail-when-with-http-ssl-module/210160)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 1, 2011, 3:59pm UTC](https://www.ruby-forum.com/t/make-fail-when-with-http-ssl-module/210160 "2011-08-01T15:59:51Z")

</div>

System: Fedora 15 2.6.38.6-27.fc15.i686 #1 SMP Sun May 15 17:57:13 UTC 2011 i686 i686 i386 GNU/Linux OpenSSL OpenSSL 1.0.0d-fips 8 Feb 2011 (yum install openssl openssl-devel) Nginx ver 1.0.5 configure ./configu…

---

## [Keeping items out of the index AAF](https://www.ruby-forum.com/t/keeping-items-out-of-the-index-aaf/177718)

<div class="topic-metadata">

**Author:** [@tnyplz](https://www.ruby-forum.com/u/tnyplz)\
**Replies:** 2\
**Last updated:** [October 22, 2009, 6:02pm UTC](https://www.ruby-forum.com/t/keeping-items-out-of-the-index-aaf/177718 "2009-10-22T18:02:16Z")

</div>

I’ve seen this question asked a few times but I haven’t seen an answer. I’m using the AAF plugin in my rails app and I have a flag on my model that indicates if an item is to be indexed. I then access this flag via t…

---

## [\[Mocha\] expects.at\_least\_once VS stubs](https://www.ruby-forum.com/t/mocha-expects-at-least-once-vs-stubs/165883)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 2\
**Last updated:** [April 23, 2009, 12:17am UTC](https://www.ruby-forum.com/t/mocha-expects-at-least-once-vs-stubs/165883 "2009-04-23T00:17:26Z")

</div>

Hi, In a Rails app, I often find myself having to write expects(:whatever).at\_least\_once.returns(“some\_value”), so it clutters my test and I simply ditch expects() in favor of stubs() which won’t yell at me because s…

---

## [.gr\_fftw\_wisdom: Permission denied](https://www.ruby-forum.com/t/gr-fftw-wisdom-permission-denied/68694)

<div class="topic-metadata">

**Author:** [@Erlend\_Barstad\_Stra](https://www.ruby-forum.com/u/Erlend_Barstad_Stra)\
**Replies:** 2\
**Last updated:** [October 18, 2006, 10:43am UTC](https://www.ruby-forum.com/t/gr-fftw-wisdom-permission-denied/68694 "2006-10-18T10:43:14Z")

</div>

Hi When i try to run most of the examples i get a message similar to: gri\_fftw: /home/erlend/.gr\_fftw\_wisdom: Permission denied gr\_vmcircbuf\_createfilemapping: createfilemapping is not available /home/erlend/.gnuradi…

---

## [Will request\_uri get passed from cookieless server to 403 page on main server?](https://www.ruby-forum.com/t/will-request-uri-get-passed-from-cookieless-server-to-403-page-on-main-server/237523)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [November 19, 2013, 10:47am UTC](https://www.ruby-forum.com/t/will-request-uri-get-passed-from-cookieless-server-to-403-page-on-main-server/237523 "2013-11-19T10:47:26Z")

</div>

Migrating to a new server and thought I’d take the time to set up a cookieless subdomain on it for static files. In my current setup, 403 errors are sent to a php file which grabs the $\_SERVER\[“REQUEST\_URI”\], locates …

---

## [Lottery Number Matching](https://www.ruby-forum.com/t/lottery-number-matching/222931)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [September 17, 2012, 11:36am UTC](https://www.ruby-forum.com/t/lottery-number-matching/222931 "2012-09-17T11:36:01Z")

</div>

Can any body please help me to solve this? Create a lottery app which will take a number as parameter and there will be a set of number from 0 to n random number every time. If the given number matches the random arr…

---

## [Syslog](https://www.ruby-forum.com/t/syslog/219279)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [July 29, 2012, 3:36am UTC](https://www.ruby-forum.com/t/syslog/219279 "2012-07-29T03:36:33Z")

</div>

Hi all, I’m new here. Since I need my nginx to be integrated with syslog, I looked at the unofficial patches (udpremote and syslog patch). I saw I can have syslog logging with these, but I can not set a custom progr…

---

## [Pie Chart on Prawn](https://www.ruby-forum.com/t/pie-chart-on-prawn/226358)

<div class="topic-metadata">

**Author:** [@deetu](https://www.ruby-forum.com/u/deetu)\
**Replies:** 1\
**Last updated:** [July 21, 2012, 1:59am UTC](https://www.ruby-forum.com/t/pie-chart-on-prawn/226358 "2012-07-21T01:59:59Z")

</div>

Hi friends, I just finished working on an application, which renders a pie chart on the webpage and i want users to have it on their pdf page, pls i there a way to render the Pie Chart (High Charts) on PDF page

---

## [Logging stdout/stderr/stdin of an spawn process (Open4::spawn)](https://www.ruby-forum.com/t/logging-stdout-stderr-stdin-of-an-spawn-process-open4-spawn/136176)

<div class="topic-metadata">

**Author:** [@Edgardo\_H](https://www.ruby-forum.com/u/Edgardo_H)\
**Replies:** 1\
**Last updated:** [May 6, 2008, 10:22pm UTC](https://www.ruby-forum.com/t/logging-stdout-stderr-stdin-of-an-spawn-process-open4-spawn/136176 "2008-05-06T22:22:53Z")

</div>

Hi dear rubyists, I apologize for reposting this message, but I’m not sure if the previous one did get to the mailing list. I need to log all the input (typed by the user) and the stdout/stderr of a process. The #scr…

[Previous page](https://www.ruby-forum.com/top.md?page=696&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=698&per_page=50)
