# Top

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

[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:** 1065

---

## [LoginEngine UserController fails tests](https://www.ruby-forum.com/t/loginengine-usercontroller-fails-tests/65437)

<div class="topic-metadata">

**Author:** [@jay-levitt](https://www.ruby-forum.com/u/jay-levitt)\
**Replies:** 2\
**Last updated:** [August 18, 2006, 5:32pm UTC](https://www.ruby-forum.com/t/loginengine-usercontroller-fails-tests/65437 "2006-08-18T17:32:48Z")

</div>

Using Rails 1.1.6, engines 1.1.4, and either LoginEngine 1.0.2 or trunk, I see a bunch of errors running user\_controller\_test.rb, along the lines of: Exception: undefined method redirect\_to\_stored\_or\_default' for #\<U…

---

## [Misunderstanding init\_engine.rb?](https://www.ruby-forum.com/t/misunderstanding-init-engine-rb/95259)

<div class="topic-metadata">

**Author:** [@al-evans](https://www.ruby-forum.com/u/al-evans)\
**Replies:** 2\
**Last updated:** [May 27, 2006, 12:02am UTC](https://www.ruby-forum.com/t/misunderstanding-init-engine-rb/95259 "2006-05-27T00:02:10Z")

</div>

(Sorry if this is not the right list – I tried posting to engine- developers, but got no response.) It seems to me that the init\_engine.rb file must not be getting processed, or – just as likely – I’m misunderstanding…

---

## [Unit tests fail with sqlite3 and rails 1.1](https://www.ruby-forum.com/t/unit-tests-fail-with-sqlite3-and-rails-1-1/60217)

<div class="topic-metadata">

**Author:** [@rpierry](https://www.ruby-forum.com/u/rpierry)\
**Replies:** 2\
**Last updated:** [May 13, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/unit-tests-fail-with-sqlite3-and-rails-1-1/60217 "2006-05-13T19:15:37Z")

</div>

Hello all, I’m kinda going through a rocky upgrade to rails 1.1 and I can’t find much on google about this. When I run my tests I get this: $ rake (in /home/www/art2) /usr/bin/ruby -Ilib:test “/usr/lib/ruby/gems/1.…

---

## [XML-RPC Backend](https://www.ruby-forum.com/t/xml-rpc-backend/54679)

<div class="topic-metadata">

**Author:** [@kevinkusf](https://www.ruby-forum.com/u/kevinkusf)\
**Replies:** 2\
**Last updated:** [March 12, 2006, 10:53pm UTC](https://www.ruby-forum.com/t/xml-rpc-backend/54679 "2006-03-12T22:53:20Z")

</div>

Hey, I recently started running the SVN of Typo and was fiddling withgetting a desktop client to access it via xmlrpc, however I get thefollowing error. It seems like something internal to my ruby install(mostly from …

---

## [Sortable list (scriptalicious) and updating database](https://www.ruby-forum.com/t/sortable-list-scriptalicious-and-updating-database/70382)

<div class="topic-metadata">

**Author:** [@soderic](https://www.ruby-forum.com/u/soderic)\
**Replies:** 2\
**Last updated:** [February 19, 2006, 12:45pm UTC](https://www.ruby-forum.com/t/sortable-list-scriptalicious-and-updating-database/70382 "2006-02-19T12:45:17Z")

</div>

I have made a sortable list which is sortable by dragging & dropping the list elements. It works, but the order of the elements will not be updated in the database. Hopefully someone could help me, or tell me what I’m…

---

## [How to "Require User" like Apache in Nginx](https://www.ruby-forum.com/t/how-to-require-user-like-apache-in-nginx/239627)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [March 7, 2014, 2:08pm UTC](https://www.ruby-forum.com/t/how-to-require-user-like-apache-in-nginx/239627 "2014-03-07T14:08:32Z")

</div>

Hi all, I was just wondering, how to do the following in nginx: apache.conf: \<Directory /var/www/vhost/aa/htdocs/\> AuthType Basic AuthUserFile /var/www/auth/htpasswd AuthName “pass please” require valid-user Al…

---

## [How to set the default value on a simple\_form association](https://www.ruby-forum.com/t/how-to-set-the-default-value-on-a-simple-form-association/220189)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 0\
**Last updated:** [June 1, 2012, 6:55am UTC](https://www.ruby-forum.com/t/how-to-set-the-default-value-on-a-simple-form-association/220189 "2012-06-01T06:55:16Z")

</div>

Folks Im using simple\_form and im able to see a selection of users from my drop down list but im trying to set the default value. Here is what ive tried \<%= f.association :people, :input\_html =\> { :value =\> ‘someval’…

---

## [Open3 : tcgetattr: Inappropriate ioctl for device](https://www.ruby-forum.com/t/open3-tcgetattr-inappropriate-ioctl-for-device/147937)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvS\_ue](https://www.ruby-forum.com/u/Une_BSSSSvS_ue)\
**Replies:** 0\
**Last updated:** [September 7, 2008, 9:45am UTC](https://www.ruby-forum.com/t/open3-tcgetattr-inappropriate-ioctl-for-device/147937 "2008-09-07T09:45:29Z")

</div>

I’m using Open3 to simulate a pseudo-terminal connection with ssh. Everything seems to work well except i get the following warning/error when connecting : tcgetattr: Inappropriate ioctl for device here is my ruby co…

---

## [Menu / Sitemap component](https://www.ruby-forum.com/t/menu-sitemap-component/90849)

<div class="topic-metadata">

**Author:** [@kena](https://www.ruby-forum.com/u/kena)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 11:27am UTC](https://www.ruby-forum.com/t/menu-sitemap-component/90849 "2007-04-02T11:27:08Z")

</div>

Hi. Is there any menu / sitemap component I can use in RoR apps?

---

## [Has\_many question](https://www.ruby-forum.com/t/has-many-question/237405)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [November 15, 2013, 2:06am UTC](https://www.ruby-forum.com/t/has-many-question/237405 "2013-11-15T02:06:21Z")

</div>

Hi all, I need some guidance please. I have several tables related by “has\_many” and I would like to find the “distant children”. Tables: Subjects Books Chapters Sections Subsections Minisections They are all …

---

## [Adding key/value pairs to hash wrongfully adds a right bracket](https://www.ruby-forum.com/t/adding-key-value-pairs-to-hash-wrongfully-adds-a-right-bracket/212919)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [October 29, 2011, 5:32am UTC](https://www.ruby-forum.com/t/adding-key-value-pairs-to-hash-wrongfully-adds-a-right-bracket/212919 "2011-10-29T05:32:52Z")

</div>

Hey all, THis line of code gets called multiple times and creates a hash: def session\_code(unit\_id, code) s\_code = session\[:code\] unit\_id\_hash = s\_code.detect {|h| h\[unit\_id\]} if unit\_id\_hash.nil? unit\_id\_hash = {}…

---

## [Error while install mysql2 in windows 7](https://www.ruby-forum.com/t/error-while-install-mysql2-in-windows-7/213056)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [October 22, 2011, 1:55pm UTC](https://www.ruby-forum.com/t/error-while-install-mysql2-in-windows-7/213056 "2011-10-22T13:55:04Z")

</div>

hello i have problem while install gem mysql2 in windows 7 i have got error An error occurred while installing mysql (0.3.7), and Bundler cannot continue. Make sure that ‘gem install mysql2 -v ‘0.3.7’’ succeeds before …

---

## [\[Ruby 1.9-Bug#4287\]\[Open\] test\_europe\_lisbon(TestTimeTZ) Failure](https://www.ruby-forum.com/t/ruby-1-9-bug-4287-open-test-europe-lisbon-testtimetz-failure/201927)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 20, 2011, 4:49pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4287-open-test-europe-lisbon-testtimetz-failure/201927 "2011-01-20T16:49:05Z")

</div>

Bug #4287: test\_europe\_lisbon(TestTimeTZ) Failure http://redmine.ruby-lang.org/issues/show/4287 起票者: Tomoyuki C. ステータス: Open, 優先度: Normal カテゴリ: build, Target version: 1.9.3 ruby -v: ruby 1.9.3dev (2011-01-18 trunk 3…

---

## [Torquebox](https://www.ruby-forum.com/t/torquebox/168279)

<div class="topic-metadata">

**Author:** [@Joseph\_A](https://www.ruby-forum.com/u/Joseph_A)\
**Replies:** 6\
**Last updated:** [May 19, 2009, 6:14pm UTC](https://www.ruby-forum.com/t/torquebox/168279 "2009-05-19T18:14:18Z")

</div>

Anyone seen this or used it? http://torquebox.org/ Basically looks likes JBoss with JRuby packaged up together. Seems like a nice alternative to the Glassfish Gem. Joe

---

## [N00b: code logic (probably a 1-min-question)](https://www.ruby-forum.com/t/n00b-code-logic-probably-a-1-min-question/167424)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 6\
**Last updated:** [May 7, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/n00b-code-logic-probably-a-1-min-question/167424 "2009-05-07T23:56:31Z")

</div>

Hi there, Why do I get ‘true’ when: I call: @agency.all\_agents\_done? and @gency has at least 3 Agents The Agency model is: class Agency \< ActiveRecord::Base has\_many :agents def all\_agents\_done? # (don't look …

---

## [Http headers ip address](https://www.ruby-forum.com/t/http-headers-ip-address/165910)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [April 21, 2009, 5:37pm UTC](https://www.ruby-forum.com/t/http-headers-ip-address/165910 "2009-04-21T17:37:58Z")

</div>

hi i get the clients ip address in this http header: X-FB-USER-REMOTE-ADDR. how do i configure nginx so that this is set as the ip address of client for a fastcgi app? thanks a lot!

---

## [Question about run external program in Ruby](https://www.ruby-forum.com/t/question-about-run-external-program-in-ruby/156909)

<div class="topic-metadata">

**Author:** [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Replies:** 6\
**Last updated:** [January 6, 2009, 9:53am UTC](https://www.ruby-forum.com/t/question-about-run-external-program-in-ruby/156909 "2009-01-06T09:53:03Z")

</div>

I use this method to run a external program in ruby: io=IO.popen(“lsa 2\>&1”)do |f| while line =f.gets do puts line end end I can get both stdout and stderr output but how can I get the command return value? thank…

---

## [SQL OR in Rails](https://www.ruby-forum.com/t/sql-or-in-rails/151434)

<div class="topic-metadata">

**Author:** [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Replies:** 6\
**Last updated:** [October 21, 2008, 5:15pm UTC](https://www.ruby-forum.com/t/sql-or-in-rails/151434 "2008-10-21T17:15:14Z")

</div>

Hi there everyone, How does one set-up a SQL OR query in Rails. I have the following SQL query: select state, state\_abbr, country from states where country = ‘Country’ or country = ‘International’ order by state asc; …

---

## [Link avec icon](https://www.ruby-forum.com/t/link-avec-icon/139601)

<div class="topic-metadata">

**Author:** [@kyo](https://www.ruby-forum.com/u/kyo)\
**Replies:** 6\
**Last updated:** [June 5, 2008, 12:02pm UTC](https://www.ruby-forum.com/t/link-avec-icon/139601 "2008-06-05T12:02:46Z")

</div>

bonjour , je veut savoir comment utiliser la balise \<%=link\_to… mais avec des icon illustré , précisement où je doit définir le chemin de mes icons dans la balise. merci

---

## [Is there a way to import Exchange rates automatically?](https://www.ruby-forum.com/t/is-there-a-way-to-import-exchange-rates-automatically/135214)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [April 20, 2008, 6:08pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-import-exchange-rates-automatically/135214 "2008-04-20T18:08:02Z")

</div>

Hi I want to show product prices in many currencies Is there a way to import Exchange rates automatically? Thanks Erez

---

## [Newbie question : private / public methods](https://www.ruby-forum.com/t/newbie-question-private-public-methods/132570)

<div class="topic-metadata">

**Author:** [@krzysieq\_Gazeta.pl](https://www.ruby-forum.com/u/krzysieq_Gazeta.pl)\
**Replies:** 6\
**Last updated:** [March 28, 2008, 8:00am UTC](https://www.ruby-forum.com/t/newbie-question-private-public-methods/132570 "2008-03-28T08:00:31Z")

</div>

Hi, I’m new both to this mailing list and to Ruby. Here’s an example, question will come later. private.rb class PrivateMethodTest private def privateMethod(the\_string) 'haha! ’ + the\_string end public def …

---

## [Uint32\_t](https://www.ruby-forum.com/t/uint32-t/131765)

<div class="topic-metadata">

**Author:** [@KIMURA\_Koichi](https://www.ruby-forum.com/u/KIMURA_Koichi)\
**Replies:** 6\
**Last updated:** [March 14, 2008, 3:37am UTC](https://www.ruby-forum.com/t/uint32-t/131765 "2008-03-14T03:37:58Z")

</div>

e$BLZB\<$G$9!#e(B e$BNc$K$h$C$FJs9p$@$1$G$9!#e(B 01:53 Tuesday ruby Commit by matz :: r15743 /trunk/ (ChangeLog string.c): \* string.c (hash): replaced by MurmurHash described in http://murmurhash.googlepages.com/. …

---

## [How can 1/100=0](https://www.ruby-forum.com/t/how-can-1-100-0/128544)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 6\
**Last updated:** [February 8, 2008, 6:02pm UTC](https://www.ruby-forum.com/t/how-can-1-100-0/128544 "2008-02-08T18:02:24Z")

</div>

cannot belive my eyes. how can 1/100 be equal to 0. E:\\Documents and Settings\\Roasty\>irb irb(main):001:0\> TRAILING\_STOP=1/100 =\> 0 irb(main):002:0\> TRAILING\_STOP =\> 0 irb(main):003:0\>

---

## [Hashes, Sets, and eql?](https://www.ruby-forum.com/t/hashes-sets-and-eql/121132)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 6\
**Last updated:** [November 24, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/hashes-sets-and-eql/121132 "2007-11-24T17:50:33Z")

</div>

Hey everyone! I’ve been working with sets and I need to use them as a key in a hash. Unfortunately, it looks like Sets are implemented as a Hash (which makes sense), but it looks like Set#eql? calls eql? on the underl…

---

## [How Redisplay Failed User Data in Form?](https://www.ruby-forum.com/t/how-redisplay-failed-user-data-in-form/120523)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 6\
**Last updated:** [November 19, 2007, 2:03pm UTC](https://www.ruby-forum.com/t/how-redisplay-failed-user-data-in-form/120523 "2007-11-19T14:03:02Z")

</div>

Forms. Specifically entering data, submitting, discovering validation error, redisplaying the form with user’s entered data and error messages. I know how I would approach it left to my own devices (described below),…

---

## [Detecting Page Changes](https://www.ruby-forum.com/t/detecting-page-changes/116906)

<div class="topic-metadata">

**Author:** [@mahadewa](https://www.ruby-forum.com/u/mahadewa)\
**Replies:** 6\
**Last updated:** [October 18, 2007, 10:24am UTC](https://www.ruby-forum.com/t/detecting-page-changes/116906 "2007-10-18T10:24:12Z")

</div>

I’m trying to figure out a way to track whenever a given page’s rendered output may have changed. Kind of tricky since changing the layout or, worse yet, a snippet could change the page’s output. And then, of course,…

---

## [Failure trying to test ApplicationController](https://www.ruby-forum.com/t/failure-trying-to-test-applicationcontroller/117349)

<div class="topic-metadata">

**Author:** [@steve](https://www.ruby-forum.com/u/steve)\
**Replies:** 6\
**Last updated:** [October 16, 2007, 8:04am UTC](https://www.ruby-forum.com/t/failure-trying-to-test-applicationcontroller/117349 "2007-10-16T08:04:44Z")

</div>

I’m trying to write some tests for the ApplicationController as shared tests that can be run in all of my other controller tests, but am getting a nil.rewrite error. Below is what I have… describe AccountController d…

---

## [\[m17n\] String#encode](https://www.ruby-forum.com/t/m17n-string-encode/113923)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 6\
**Last updated:** [September 28, 2007, 9:31pm UTC](https://www.ruby-forum.com/t/m17n-string-encode/113923 "2007-09-28T21:31:59Z")

</div>

e$B$J$+$@$G$9!#e(B String#encodee$B$r$?$a$7$K\<BAu$7$F$\_$^$7$?!#e(B e$B$J$\<$+e(B"sjis"e$B$GEPO?$5$l$F$$$k$N$Ke(B"Shift\_JIS"e$B$H=P$F$-$?$j$9$k$N$G!“e(B e$BJLL\>$rIU$1$i$l$k$h$&$K$7$Fe(Brb\_enc\_name()e$B$K$”$o$;$F$\_$^$7$?…

---

## [\[ANN\] Haml 1.0 - Stable Sam (!)](https://www.ruby-forum.com/t/ann-haml-1-0-stable-sam/82360)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/ann-haml-1-0-stable-sam/82360 "2007-09-25T22:49:24Z")

</div>

I totally forgot to make this announcement anywhere except for the Haml mailing list. Whoops! On December 25, 2006, we released Haml 1.0! Today we’re at 1.0.2. Give it a whirl! ./script/plugin install svn://hamptonca…

---

## [LoadError - Mechanize, Hpricot (gems)](https://www.ruby-forum.com/t/loaderror-mechanize-hpricot-gems/112085)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [August 16, 2007, 10:50pm UTC](https://www.ruby-forum.com/t/loaderror-mechanize-hpricot-gems/112085 "2007-08-16T22:50:16Z")

</div>

Hello, I’ve been trying to install and use Mechanize ( http://rubyforge.org/projects/mechanize/ ), and cannot solve the errors that occur. Actually, I’m not sure the error is really linked to this gem, because I rem…

---

## [Create links automatically](https://www.ruby-forum.com/t/create-links-automatically/111896)

<div class="topic-metadata">

**Author:** [@mohits](https://www.ruby-forum.com/u/mohits)\
**Replies:** 6\
**Last updated:** [August 13, 2007, 8:02pm UTC](https://www.ruby-forum.com/t/create-links-automatically/111896 "2007-08-13T20:02:44Z")

</div>

Hi! I’ve been looking around in the plugins that are there for Radiant and I can’t seem to find anything directly that does this, so I’m asking here to see if anyone has implemented these/ knows of something that imp…

---

## [Attachment\_fu](https://www.ruby-forum.com/t/attachment-fu/107794)

<div class="topic-metadata">

**Author:** [@giovanno\_zangrolli](https://www.ruby-forum.com/u/giovanno_zangrolli)\
**Replies:** 6\
**Last updated:** [June 26, 2007, 3:33pm UTC](https://www.ruby-forum.com/t/attachment-fu/107794 "2007-06-26T15:33:35Z")

</div>

Ciao a tutti, sto provando a lavorare con attachment\_fu, ma ho degli errori di no\_alias\_method e simili. Qualcuno per caso l’ha mai installato e usato con successo? Quel qualcuno mi puÃ² dare indicazioni o suggerirmi …

---

## [Recommended Linux Distro for RoR hosting?](https://www.ruby-forum.com/t/recommended-linux-distro-for-ror-hosting/92722)

<div class="topic-metadata">

**Author:** [@Human\_D](https://www.ruby-forum.com/u/Human_D)\
**Replies:** 6\
**Last updated:** [April 24, 2007, 1:21am UTC](https://www.ruby-forum.com/t/recommended-linux-distro-for-ror-hosting/92722 "2007-04-24T01:21:11Z")

</div>

Hello, I’m going to order a dedicated server for my RoR application, but don’t know which nix distro is the best for hosting RoR application? Debian Etch, Ubuntu 6.06 or 6.10, Fedora Core 5 or 6? Thanks in advance, …

---

## [Read-only fields](https://www.ruby-forum.com/t/read-only-fields/92355)

<div class="topic-metadata">

**Author:** [@deanhiller](https://www.ruby-forum.com/u/deanhiller)\
**Replies:** 6\
**Last updated:** [April 20, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/read-only-fields/92355 "2007-04-20T17:54:28Z")

</div>

I have a field in my table that I do not want ActiveRecord to update. I would like to retrieve that field, and have it displayed. However, when I perform update, and ActiveRecord generates the SQL, I don’t want it to …

---

## [ActiveRbac](https://www.ruby-forum.com/t/activerbac/94487)

<div class="topic-metadata">

**Author:** [@philippe\_lachaise](https://www.ruby-forum.com/u/philippe_lachaise)\
**Replies:** 6\
**Last updated:** [May 5, 2006, 10:28am UTC](https://www.ruby-forum.com/t/activerbac/94487 "2006-05-05T10:28:51Z")

</div>

Quelqu’un a-t-il dÃ©ja expÃ©rimentÃ© avec ActiveRbachttps://activerbac.turingstudio.com/trac(RBAC = Role Base Access Control) ?

---

## [Validation nightmare](https://www.ruby-forum.com/t/validation-nightmare/57129)

<div class="topic-metadata">

**Author:** [@Isabelle](https://www.ruby-forum.com/u/Isabelle)\
**Replies:** 6\
**Last updated:** [April 7, 2006, 3:59pm UTC](https://www.ruby-forum.com/t/validation-nightmare/57129 "2006-04-07T15:59:49Z")

</div>

Please help, I am really at a loss at how validation is supposed to work in rails. Model contains acts\_as\_tree I want to force my NEW objects to have a parent I do NOT want existing object to have a parent so I onl…

---

## [Gets and chomp method question](https://www.ruby-forum.com/t/gets-and-chomp-method-question/88031)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [March 28, 2006, 5:34pm UTC](https://www.ruby-forum.com/t/gets-and-chomp-method-question/88031 "2006-03-28T17:34:04Z")

</div>

I’m working through the “Gets and chomp method” section of Learn to Program on Mixing It Up - Learn to Program I have a problem. I have entered the strings: puts ‘Hello there, and what's your name?’ name = gets puts…

---

## [What do I need to learn Ruby, Rails, JavaScript, AJAX?](https://www.ruby-forum.com/t/what-do-i-need-to-learn-ruby-rails-javascript-ajax/54033)

<div class="topic-metadata">

**Author:** [@jpigford](https://www.ruby-forum.com/u/jpigford)\
**Replies:** 6\
**Last updated:** [February 21, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/what-do-i-need-to-learn-ruby-rails-javascript-ajax/54033 "2006-02-21T15:40:58Z")

</div>

So I’ve sort of come to the conclusion that if I wanna get stuff done, I need to either A) Find some dang money and pay people to do it or B) Do it myself. I’m opting for B. Soooo…now I’ve got some programming/technol…

---

## [Can we cache user home pages?](https://www.ruby-forum.com/t/can-we-cache-user-home-pages/52024)

<div class="topic-metadata">

**Author:** [@vivek](https://www.ruby-forum.com/u/vivek)\
**Replies:** 6\
**Last updated:** [January 10, 2006, 7:59am UTC](https://www.ruby-forum.com/t/can-we-cache-user-home-pages/52024 "2006-01-10T07:59:24Z")

</div>

Hi Railers, I am trying to create a simple application like a guest book which has users and uses sessions to keep track of which users are logged on. The user’s page is constructed after doing some SQL queries and…

---

## [String comparison](https://www.ruby-forum.com/t/string-comparison/65025)

<div class="topic-metadata">

**Author:** [@Boris\_G](https://www.ruby-forum.com/u/Boris_G)\
**Replies:** 6\
**Last updated:** [December 15, 2005, 9:17pm UTC](https://www.ruby-forum.com/t/string-comparison/65025 "2005-12-15T21:17:03Z")

</div>

Hi, I have a class containing a string as an instance variable and I have a local variable containing a string. I compare these two strings with ‘==’ and with the .eql? method: ################################### o…

---

## [Rhtml on Apache2.4](https://www.ruby-forum.com/t/rhtml-on-apache2-4/260259)

<div class="topic-metadata">

**Author:** [@Seeker-Smith](https://www.ruby-forum.com/u/Seeker-Smith)\
**Replies:** 0\
**Last updated:** [September 13, 2020, 5:14pm UTC](https://www.ruby-forum.com/t/rhtml-on-apache2-4/260259 "2020-09-13T17:14:24Z")

</div>

Hi I’m setting up a new server debian 10 apache2,4. Previously on apache 2.2 and debian whessy I installed eruby, ibapache2-mod-ruby, and a few others for mysql and dbi etc. Now I don’t see any of those packages. Quest…

---

## [Edit receive Functionaility in USRP Echotimer for USRP Source](https://www.ruby-forum.com/t/edit-receive-functionaility-in-usrp-echotimer-for-usrp-source/257583)

<div class="topic-metadata">

**Author:** [@avashist003](https://www.ruby-forum.com/u/avashist003)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 6:24pm UTC](https://www.ruby-forum.com/t/edit-receive-functionaility-in-usrp-echotimer-for-usrp-source/257583 "2020-03-05T18:24:05Z")

</div>

Hi, I am using USRP Echotimer block that has one antenna as transmitter and other (RX2) as radar receiver. In my design, I want to switch between radar receiver to normal data receiver. The gnuradio does not allow to u…

---

## [Rails scheduled SMS sender](https://www.ruby-forum.com/t/rails-scheduled-sms-sender/242742)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [July 24, 2015, 11:54pm UTC](https://www.ruby-forum.com/t/rails-scheduled-sms-sender/242742 "2015-07-24T23:54:49Z")

</div>

I want send an SMS each 5 minutes to my users. At the moment, my application sends an SMS during the creation of an account. users\_controller.rb def create @user = User.new(user\_params) if @user.save …

---

## [\[ruby-trunk - Bug #10689\] \`unexpected break' occurs when TracePoint#binding is called](https://www.ruby-forum.com/t/ruby-trunk-bug-10689-unexpected-break-occurs-when-tracepoint-binding-is-called/234888)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [January 8, 2015, 8:32pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-10689-unexpected-break-occurs-when-tracepoint-binding-is-called/234888 "2015-01-08T20:32:51Z")

</div>

Issue #10689 has been updated by Koichi Sasada. ありがとうございます！ 頂いたパッチを元に、cfp を使うように整理してみました。 http://www.atdot.net/sp/view/e5ivhn vm\_throw() を簡素化 マクロっぽい名前を関数っぽく 一応、test-all/test-rubyspec は通っていますが、良さそうでしたらコミットしてもらえないでしょ…

---

## [Two USRPs with MIMO cable - rx\_multi\_samples](https://www.ruby-forum.com/t/two-usrps-with-mimo-cable-rx-multi-samples/232459)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 10, 2014, 9:22am UTC](https://www.ruby-forum.com/t/two-usrps-with-mimo-cable-rx-multi-samples/232459 "2014-10-10T09:22:16Z")

</div>

Dear all I’m trying to get samples from two USRP2s connected via MIMO cable and the Gigabit ethernet cable is connected with the PC with only one USRP2. What I couldn’t figure out is only one of the USRP2s getting the…

---

## [Data Collection Across Multiple Machines and USRPs](https://www.ruby-forum.com/t/data-collection-across-multiple-machines-and-usrps/230181)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [June 3, 2014, 9:12pm UTC](https://www.ruby-forum.com/t/data-collection-across-multiple-machines-and-usrps/230181 "2014-06-03T21:12:02Z")

</div>

Hey list, this is a question for anyone that has used the USRPs and GNU Radio for synchronized data collection. I need to collect data using USRP N210s across a wireless network for a field test. Basically the USRPs w…

---

## [Nginx doesn't seem to register configuration changes](https://www.ruby-forum.com/t/nginx-doesnt-seem-to-register-configuration-changes/240188)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 1, 2014, 1:42pm UTC](https://www.ruby-forum.com/t/nginx-doesnt-seem-to-register-configuration-changes/240188 "2014-04-01T13:42:53Z")

</div>

Hi \*, I’m using nginx as reverse proxy for some puma backends via unix socket. The problem I’m having right now is that even after several reloads nginx doesn’t seem to use the changes I did to the configuration. I h…

---

## [Bad side effect of (even unmatched) nested regex locations in regex locations with anonymous capture](https://www.ruby-forum.com/t/bad-side-effect-of-even-unmatched-nested-regex-locations-in-regex-locations-with-anonymous-capture/221857)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 2, 2012, 7:20pm UTC](https://www.ruby-forum.com/t/bad-side-effect-of-even-unmatched-nested-regex-locations-in-regex-locations-with-anonymous-capture/221857 "2012-08-02T19:20:37Z")

</div>

Hello! I have another interesting scenario :wink: Given is following minimized test case server { listen 80; server\_name t2.example.com; root …

---

## [Nginx without access log](https://www.ruby-forum.com/t/nginx-without-access-log/214448)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 7, 2011, 2:09pm UTC](https://www.ruby-forum.com/t/nginx-without-access-log/214448 "2011-12-07T14:09:09Z")

</div>

Obviously nginx needs a time (even very short) to write access and error logs upon every request. Thus, theoretically, removing access and error logs from nginx configuration should speed up the web server. Surprising…

---

## [Aio on nfs](https://www.ruby-forum.com/t/aio-on-nfs/209663)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [July 20, 2011, 4:04pm UTC](https://www.ruby-forum.com/t/aio-on-nfs/209663 "2011-07-20T16:04:07Z")

</div>

Hello, I’m using aio on FreeBSD 8.2 with the following in my nginx.conf: http { … sendfile on; aio sendfile; tcp\_nopush on; read\_ahead 512k; output\_buffers 1 128k; … } I’m serving some…

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

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