# Top

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

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

---

## [Switching servers, banging head](https://www.ruby-forum.com/t/switching-servers-banging-head/85997)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 5\
**Last updated:** [February 19, 2007, 2:39am UTC](https://www.ruby-forum.com/t/switching-servers-banging-head/85997 "2007-02-19T02:39:37Z")

</div>

I’ve switched operating system before, linux to mac, etc. I’ve had problems, but been able to resolve them in the past. I’m seeing (after seeing this error in the apache logs w/fcgi) $ sudo rake bootstrap (in /var/ww…

---

## [Function php =\> ruby](https://www.ruby-forum.com/t/function-php-ruby/85068)

<div class="topic-metadata">

**Author:** [@Avo](https://www.ruby-forum.com/u/Avo)\
**Replies:** 5\
**Last updated:** [February 13, 2007, 10:10pm UTC](https://www.ruby-forum.com/t/function-php-ruby/85068 "2007-02-13T22:10:15Z")

</div>

Hi everyone :slight\_smile: I’m starting in Ruby, and first I would like to translate a fonction php I made into a ruby one. In php it’s very slow due to the number of possibilities, the function is : \<?php function b…

---

## [File upload --- acts\_as\_attachment or file\_column](https://www.ruby-forum.com/t/file-upload-acts-as-attachment-or-file-column/84991)

<div class="topic-metadata">

**Author:** [@albert](https://www.ruby-forum.com/u/albert)\
**Replies:** 5\
**Last updated:** [February 9, 2007, 7:20am UTC](https://www.ruby-forum.com/t/file-upload-acts-as-attachment-or-file-column/84991 "2007-02-09T07:20:57Z")

</div>

Hi, I have a simple rubyonrails application, in which users can submit their research projcts. The applcation has the following models: project: set of predefined fields where users save their project in member\_proje…

---

## [Using mongrel to serve 2 rails apps](https://www.ruby-forum.com/t/using-mongrel-to-serve-2-rails-apps/83009)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 5\
**Last updated:** [January 23, 2007, 5:08am UTC](https://www.ruby-forum.com/t/using-mongrel-to-serve-2-rails-apps/83009 "2007-01-23T05:08:47Z")

</div>

hi, i’m using mongrel as my production webserver, and i want to serve 2 rails apps e.g. www.myapp.com www.myapp.com/forums i want in effect to connect the second app to /forums on the same url. currently i have 2 …

---

## [Multi\_search error undefined method](https://www.ruby-forum.com/t/multi-search-error-undefined-method/71989)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 5\
**Last updated:** [October 18, 2006, 10:40am UTC](https://www.ruby-forum.com/t/multi-search-error-undefined-method/71989 "2006-10-18T10:40:31Z")

</div>

Hi, Im having problems using the multi\_search command. I keep getting the following error. “undefined method \`\<\<’ for Book:Class” here is the code associated with this. class Book \< ActiveRecord::Base acts\_as\_ferre…

---

## [Cartesian and polar coordinates library](https://www.ruby-forum.com/t/cartesian-and-polar-coordinates-library/66096)

<div class="topic-metadata">

**Author:** [@bartb](https://www.ruby-forum.com/u/bartb)\
**Replies:** 5\
**Last updated:** [August 23, 2006, 9:02pm UTC](https://www.ruby-forum.com/t/cartesian-and-polar-coordinates-library/66096 "2006-08-23T21:02:20Z")

</div>

Hello, For a personal project I had to create a library of cartesian and polar coordinates. Is anyone else interested in this code? If so I’ll try to turn it in to a library and release it on rubyforge. Just my way …

---

## [Creating new record from a form? (stringify\_keys! error)](https://www.ruby-forum.com/t/creating-new-record-from-a-form-stringify-keys-error/101431)

<div class="topic-metadata">

**Author:** [@sporkyy](https://www.ruby-forum.com/u/sporkyy)\
**Replies:** 5\
**Last updated:** [August 5, 2006, 2:56am UTC](https://www.ruby-forum.com/t/creating-new-record-from-a-form-stringify-keys-error/101431 "2006-08-05T02:56:41Z")

</div>

Appologies if this has been covered, But it seems the search is busted. I have a simple model object “Biostat” which I am trying to add a new record to. this is the form: \<%= form\_remote\_tag( :update=\>‘statsTable’, …

---

## [Question on Hierarchy choice](https://www.ruby-forum.com/t/question-on-hierarchy-choice/97858)

<div class="topic-metadata">

**Author:** [@ambitiouslemon](https://www.ruby-forum.com/u/ambitiouslemon)\
**Replies:** 5\
**Last updated:** [July 11, 2006, 3:28am UTC](https://www.ruby-forum.com/t/question-on-hierarchy-choice/97858 "2006-07-11T03:28:44Z")

</div>

I recently installed Radiant and started playing around with it a bit. Since I only know html/css I’ve been looking at various CMS systems (the only other one to really catch my eye was Modx) to figure out if these co…

---

## [Upload AVI convert to quicktime/flash](https://www.ruby-forum.com/t/upload-avi-convert-to-quicktime-flash/61770)

<div class="topic-metadata">

**Author:** [@ken](https://www.ruby-forum.com/u/ken)\
**Replies:** 5\
**Last updated:** [May 27, 2006, 2:42am UTC](https://www.ruby-forum.com/t/upload-avi-convert-to-quicktime-flash/61770 "2006-05-27T02:42:09Z")

</div>

Is there a way to upload an AVI and convert it into quicktime, or flash, and generate an output in those format(s). Like YouTube… I have no idea how that is done. I am fascinated and was wondering if it was possible. …

---

## [Re: session error in rails 1.1](https://www.ruby-forum.com/t/re-session-error-in-rails-1-1/56961)

<div class="topic-metadata">

**Author:** [@Christopher\_Burnley](https://www.ruby-forum.com/u/Christopher_Burnley)\
**Replies:** 5\
**Last updated:** [April 8, 2006, 6:39pm UTC](https://www.ruby-forum.com/t/re-session-error-in-rails-1-1/56961 "2006-04-08T18:39:51Z")

</div>

I’m not sure if this is correct or will help, but I ran into a problem after the 1.1 on my production server (FreeBSD 6.0, Apache2, fast\_cgi) where I would get an “application error”. It took me a while to figure out …

---

## [How to improve this kind of API?](https://www.ruby-forum.com/t/how-to-improve-this-kind-of-api/65118)

<div class="topic-metadata">

**Author:** [@Lyle\_J](https://www.ruby-forum.com/u/Lyle_J)\
**Replies:** 5\
**Last updated:** [February 9, 2006, 11:03pm UTC](https://www.ruby-forum.com/t/how-to-improve-this-kind-of-api/65118 "2006-02-09T23:03:01Z")

</div>

I’m looking to make an API change for some methods in FXRuby and would appreciate some suggestions about how to improve them. The pattern shows up in several places in the code, but it always boils down to some widget …

---

## [Can't connect ot MySQL with YourSQL](https://www.ruby-forum.com/t/cant-connect-ot-mysql-with-yoursql/99589)

<div class="topic-metadata">

**Author:** [@sauy7](https://www.ruby-forum.com/u/sauy7)\
**Replies:** 5\
**Last updated:** [February 1, 2006, 12:03am UTC](https://www.ruby-forum.com/t/cant-connect-ot-mysql-with-yoursql/99589 "2006-02-01T00:03:37Z")

</div>

Ok, this seems silly, but I can’t connect to mysql from yoursql. I think I have all the privileges set. I can definitly connect via the command line, but not via yoursql. Any hints? mysql\> show grants for ‘root’@‘loc…

---

## [A RJS problem/patch](https://www.ruby-forum.com/t/a-rjs-problem-patch/98925)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 5\
**Last updated:** [January 31, 2006, 12:54am UTC](https://www.ruby-forum.com/t/a-rjs-problem-patch/98925 "2006-01-31T00:54:54Z")

</div>

Hi, add\_rjs\_to\_action\_view.rb of javascript\_generator\_templates doesn’t work with setting Content-Type in a controller. (e.g.) http://wiki.rubyonrails.org/rails/pages/HowtoSetDefaultEncoding class ApplicationControll…

---

## [File\_column preview in multistage forms](https://www.ruby-forum.com/t/file-column-preview-in-multistage-forms/52283)

<div class="topic-metadata">

**Author:** [@adamdorsey](https://www.ruby-forum.com/u/adamdorsey)\
**Replies:** 5\
**Last updated:** [January 12, 2006, 11:50pm UTC](https://www.ruby-forum.com/t/file-column-preview-in-multistage-forms/52283 "2006-01-12T23:50:31Z")

</div>

i have a 2 step form which contains 1 file\_column field. The second form is just “This is how your post will look” kind of form and the user can click Edit (to take them back to form1) or Submit. If the user clicks ed…

---

## [Ruby's weird operators (||=)](https://www.ruby-forum.com/t/rubys-weird-operators/48319)

<div class="topic-metadata">

**Author:** [@maggelet](https://www.ruby-forum.com/u/maggelet)\
**Replies:** 5\
**Last updated:** [November 18, 2005, 11:22pm UTC](https://www.ruby-forum.com/t/rubys-weird-operators/48319 "2005-11-18T23:22:05Z")

</div>

Hi, Is there an explanation somewhere of all the weird operators in ruby such as ||= and exactly what they do? Apologies if this is a faq but I’m unable to google anything.

---

## [Beginner Question = How do I access a Symbol in an Array](https://www.ruby-forum.com/t/beginner-question-how-do-i-access-a-symbol-in-an-array/252883)

<div class="topic-metadata">

**Author:** [@GeorgeTWalters](https://www.ruby-forum.com/u/GeorgeTWalters)\
**Replies:** 1\
**Last updated:** [August 16, 2019, 3:18pm UTC](https://www.ruby-forum.com/t/beginner-question-how-do-i-access-a-symbol-in-an-array/252883 "2019-08-16T15:18:08Z")

</div>

Sorry for such an elementary question, but having no luck finding it on any search engines. . . I have created an array of symbols. . . family\_data = \[:id, :name, :brush\_color, :primary\_insured\_id, :contract\_effective\_…

---

## [Replace backslashes or shift them](https://www.ruby-forum.com/t/replace-backslashes-or-shift-them/251505)

<div class="topic-metadata">

**Author:** [@ikebastuz](https://www.ruby-forum.com/u/ikebastuz)\
**Replies:** 1\
**Last updated:** [December 27, 2018, 9:47am UTC](https://www.ruby-forum.com/t/replace-backslashes-or-shift-them/251505 "2018-12-27T09:47:58Z")

</div>

Hello everyone. I’ve been pushed against the wall with the problem of extra-backslashes. I have a string, that should be unzipped. This is the correct one example: body\_correct = "\\u001F\\x8B\\b\\u0000\\xD0{#\\\\\\u0002\\xFF\\x…

---

## [Try\_files and expires](https://www.ruby-forum.com/t/try-files-and-expires/243597)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [December 9, 2015, 5:31pm UTC](https://www.ruby-forum.com/t/try-files-and-expires/243597 "2015-12-09T17:31:30Z")

</div>

Hi, I have a case with a CMS (pimcore) and setting the expires directive. location / { # First attempt to serve request as file, then as directory, then fall back to index.php try\_files $uri $uri/ /website/var/…

---

## [Gr-ieee802-11 installation worng when "make"](https://www.ruby-forum.com/t/gr-ieee802-11-installation-worng-when-make/233071)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 20, 2015, 2:29pm UTC](https://www.ruby-forum.com/t/gr-ieee802-11-installation-worng-when-make/233071 "2015-01-20T14:29:53Z")

</div>

hello, I’m trying to install “gr-ieee802-11” from “bastibl” for receiving the IEEE802.11 wifi signal by usrp with gnuradio. (GitHub - bastibl/gr-ieee802-11: IEEE 802.11 a/g/p Transceiver) when i “make” it…I got the er…

---

## [Recv\_frame\_size and send\_frame\_size](https://www.ruby-forum.com/t/recv-frame-size-and-send-frame-size/237004)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 18, 2013, 8:07pm UTC](https://www.ruby-forum.com/t/recv-frame-size-and-send-frame-size/237004 "2013-10-18T20:07:34Z")

</div>

Hi all, I have changed recv\_ frame\_size and send frame by typing uhd\_usrp\_probe “addr0=198.168.10.2,recv\_frame\_size=4096, send:frame\_size=4096”. I have also change the MTU size on my host computer to 4096. After start…

---

## [MIMO-OFDM 2x1 Alamouti code](https://www.ruby-forum.com/t/mimo-ofdm-2x1-alamouti-code/201274)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 4, 2011, 4:51pm UTC](https://www.ruby-forum.com/t/mimo-ofdm-2x1-alamouti-code/201274 "2011-01-04T16:51:07Z")

</div>

Hi all, Maybe this question has already been done, but I didn’t found any relevant information about it. I want to implement a MIMO OFDM system (2X1) with the Alamouti’s code in the URSP one, but so far I’ve only bee…

---

## [Rails devise STI or polymorphic, when having many models?](https://www.ruby-forum.com/t/rails-devise-sti-or-polymorphic-when-having-many-models/201120)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [December 30, 2010, 10:14pm UTC](https://www.ruby-forum.com/t/rails-devise-sti-or-polymorphic-when-having-many-models/201120 "2010-12-30T22:14:45Z")

</div>

Hello I have a problem. I cant figure out how to solve this authentication problem with devise and i dont know if i should use a polymorphic association in the models or STI. I have 2 models like Teacher and Student.…

---

## [Crear un servicio Web desde ruby on rails](https://www.ruby-forum.com/t/crear-un-servicio-web-desde-ruby-on-rails/165893)

<div class="topic-metadata">

**Author:** [@antonio\_ortiz](https://www.ruby-forum.com/u/antonio_ortiz)\
**Replies:** 1\
**Last updated:** [April 19, 2009, 10:21am UTC](https://www.ruby-forum.com/t/crear-un-servicio-web-desde-ruby-on-rails/165893 "2009-04-19T10:21:59Z")

</div>

Hola, Les querÃ­a preguntar cÃ³mo puedo crear un servicio web desde ruby on rails. ejemplos =\> un modulo de autenticaciÃ³n. Les agradezco su ayuda,

---

## [Rcov rake task problems](https://www.ruby-forum.com/t/rcov-rake-task-problems/159341)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 1\
**Last updated:** [February 3, 2009, 6:30pm UTC](https://www.ruby-forum.com/t/rcov-rake-task-problems/159341 "2009-02-03T18:30:51Z")

</div>

OS = MS-WinXPproSP3 / CYGWIN\_NT-5.1 1.5.25(0.156/4/2) 2008-06-12 19:34 ruby 1.8.7 (2008-08-11 patchlevel 72) \[i386-cygwin\] rails (2.2.2) rake (0.8.3) rcov (0.8.1.1.0) I am trying to develop a rake task that will agg…

---

## [Automatically detect client's locale setting](https://www.ruby-forum.com/t/automatically-detect-clients-locale-setting/155321)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 1\
**Last updated:** [January 13, 2009, 8:25pm UTC](https://www.ruby-forum.com/t/automatically-detect-clients-locale-setting/155321 "2009-01-13T20:25:43Z")

</div>

Hi, Does I18n provide any easy feature to detect the client’s browser locale?

---

## [Difference between \*options and options](https://www.ruby-forum.com/t/difference-between-options-and-options/157077)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 1\
**Last updated:** [January 7, 2009, 6:58am UTC](https://www.ruby-forum.com/t/difference-between-options-and-options/157077 "2009-01-07T06:58:24Z")

</div>

Hi I saw below code options = { :a =\> 1, :b =\> 2, :c =\> 3 } rejects = Hash\[\*options.select { |k, v| k == :b && options.delete(k) }.flatten\] In the above if I use options insted of \*options what is actually happenin…

---

## [How to force a lock\_version increment](https://www.ruby-forum.com/t/how-to-force-a-lock-version-increment/151436)

<div class="topic-metadata">

**Author:** [@javinto](https://www.ruby-forum.com/u/javinto)\
**Replies:** 1\
**Last updated:** [October 21, 2008, 11:59pm UTC](https://www.ruby-forum.com/t/how-to-force-a-lock-version-increment/151436 "2008-10-21T23:59:54Z")

</div>

Hi everyone, I have a order with order\_lines use case. On changing the lines, I want to be sure no one else changed the order. So I use lock\_version on the order. This works fine if something is changed on the order …

---

## [Xmas](https://www.ruby-forum.com/t/xmas/124289)

<div class="topic-metadata">

**Author:** [@gmichelson](https://www.ruby-forum.com/u/gmichelson)\
**Replies:** 1\
**Last updated:** [December 28, 2007, 12:17am UTC](https://www.ruby-forum.com/t/xmas/124289 "2007-12-28T00:17:52Z")

</div>

Dear devs, for the last 5 days I am on vacations in France. In two days I will continue my vacations in England. I will be back on Jan 2 2008. Merry xmas to everyone! -g.

---

## [Counter cache like plugin for sum](https://www.ruby-forum.com/t/counter-cache-like-plugin-for-sum/114429)

<div class="topic-metadata">

**Author:** [@rlwinter](https://www.ruby-forum.com/u/rlwinter)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/counter-cache-like-plugin-for-sum/114429 "2007-09-17T13:24:57Z")

</div>

Hi list, Is there a plugin similar to counter\_cache except for caching sums instead of counts? The reason I ask is for performance and convenience for reporting.

---

## [REXML, XPath and Namespace](https://www.ruby-forum.com/t/rexml-xpath-and-namespace/107005)

<div class="topic-metadata">

**Author:** [@hinsen](https://www.ruby-forum.com/u/hinsen)\
**Replies:** 1\
**Last updated:** [June 21, 2007, 6:56pm UTC](https://www.ruby-forum.com/t/rexml-xpath-and-namespace/107005 "2007-06-21T18:56:10Z")

</div>

Hi. I want to parse an xml file using REXML::XPath. I can easily navigate through the xml-tree with methods like ‘XPath.match(xml, “child::\*”)’ and. But i can’t access nodes with the structure ‘prefix:name’. Even thi…

---

## [All new packetradio 1200 and 9600 G3RUH with Muller and Muel](https://www.ruby-forum.com/t/all-new-packetradio-1200-and-9600-g3ruh-with-muller-and-muel/74907)

<div class="topic-metadata">

**Author:** [@matteo\_c](https://www.ruby-forum.com/u/matteo_c)\
**Replies:** 1\
**Last updated:** [November 7, 2006, 11:02am UTC](https://www.ruby-forum.com/t/all-new-packetradio-1200-and-9600-g3ruh-with-muller-and-muel/74907 "2006-11-07T11:02:04Z")

</div>

I’ve finally reviewed all the material and converted the old code to make it more user friendly as well as to make use of the great blocks GNURADIO offers. I am talking about the Mueller and Muller clock recovery and …

---

## [Glimmer Hangman (RubyConf 2024 Hack Day App)](https://www.ruby-forum.com/t/glimmer-hangman-rubyconf-2024-hack-day-app/266803)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [December 25, 2024, 9:50pm UTC](https://www.ruby-forum.com/t/glimmer-hangman-rubyconf-2024-hack-day-app/266803 "2024-12-25T21:50:53Z")

</div>

Merry Christmas! During the RubyConf 2024 Hack Day Event for Glimmer DSL for LibUI, which was associated with the RubyConf 2024 workshop “How To Build Basic Desktop Applications in Ruby”, I started the implementation of …

---

## [Extending a model](https://www.ruby-forum.com/t/extending-a-model/241207)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 20, 2014, 9:20am UTC](https://www.ruby-forum.com/t/extending-a-model/241207 "2014-05-20T09:20:53Z")

</div>

I’m not sure what is the best approach for my problem. I need a model for notification (or alerts) in my application. Notifications are based on services, have multiple fields to define conditions and are associated …

---

## [GNU Radio 3.7 installation issue](https://www.ruby-forum.com/t/gnu-radio-3-7-installation-issue/246451)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [January 14, 2014, 11:12pm UTC](https://www.ruby-forum.com/t/gnu-radio-3-7-installation-issue/246451 "2014-01-14T23:12:27Z")

</div>

Dear Sir, I was using GNU Radio 3.6.5.1 previously but now try migrating to version 3.7.1. So I remove all existing installation, then start using the latest “build-gnuradio” script. This error comes out: Building…

---

## [\[ruby-trunk - misc #8843\]\[Open\] ChangeLog のエンコーディングを UTF-8 に変更しませんか](https://www.ruby-forum.com/t/ruby-trunk-misc-8843-open-changelog-utf-8/236396)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [September 11, 2013, 12:43am UTC](https://www.ruby-forum.com/t/ruby-trunk-misc-8843-open-changelog-utf-8/236396 "2013-09-11T00:43:22Z")

</div>

Issue #8843 has been reported by kosaki (Motohiro KOSAKI). misc #8843: ChangeLog のエンコーディングを UTF-8 に変更しませんか Author: kosaki (Motohiro KOSAKI) Status: Open Priority: Normal Assignee: nobu (Nobuyoshi N.) Category: mi…

---

## [Help with nginx proxy store as a frontend MP4 Anycast CDN](https://www.ruby-forum.com/t/help-with-nginx-proxy-store-as-a-frontend-mp4-anycast-cdn/228662)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [May 2, 2013, 9:13am UTC](https://www.ruby-forum.com/t/help-with-nginx-proxy-store-as-a-frontend-mp4-anycast-cdn/228662 "2013-05-02T09:13:07Z")

</div>

Hi, I have been reading up on the nginx documentation and also stackoverflow about creating an Anycast CDN based on nginx-frontends. We currently use nginx on the backend, and Squid for caching images and mp4’s - how…

---

## [Self Teaching NEWBIE question - Console issue](https://www.ruby-forum.com/t/self-teaching-newbie-question-console-issue/227332)

<div class="topic-metadata">

**Author:** [@jefers](https://www.ruby-forum.com/u/jefers)\
**Replies:** 3\
**Last updated:** [March 12, 2013, 9:41am UTC](https://www.ruby-forum.com/t/self-teaching-newbie-question-console-issue/227332 "2013-03-12T09:41:47Z")

</div>

Hey guys, searched a bit, but with my lack of total understanding figured best just to post a unique tip for help. I am self teaching myself Ruby on Rails and Ruby using CodeSchool.com and Michael H.'s book Ruby on Ra…

---

## [Best gem for an existing mysql database](https://www.ruby-forum.com/t/best-gem-for-an-existing-mysql-database/206338)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 8, 2013, 12:46am UTC](https://www.ruby-forum.com/t/best-gem-for-an-existing-mysql-database/206338 "2013-03-08T00:46:31Z")

</div>

Hi, I’ve an existing MySql database, and not having used any of the major database gems like ActiveRecord, Sequel etc etc I was wondering which one would work well against an already built DB ? The quicker I can get …

---

## [Cannot install heroku gem](https://www.ruby-forum.com/t/cannot-install-heroku-gem/224586)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 18, 2012, 2:14pm UTC](https://www.ruby-forum.com/t/cannot-install-heroku-gem/224586 "2012-11-18T14:14:43Z")

</div>

Hi, I just started to study Ruby on Rails to use heroku. I installed Ruby 1.9.3p327 and Rails 3.2.8 by using homebrew. (Mac OS X) After install Ruby & Rails, When I type “gem install heroku”, below error happened, …

---

## [Stream data from two DBSRX's on USRP1 with uhd\_rx\_cfile?](https://www.ruby-forum.com/t/stream-data-from-two-dbsrxs-on-usrp1-with-uhd-rx-cfile/221859)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 2, 2012, 3:02pm UTC](https://www.ruby-forum.com/t/stream-data-from-two-dbsrxs-on-usrp1-with-uhd-rx-cfile/221859 "2012-08-02T15:02:18Z")

</div>

Hi, I have a USRP1 with two DBSRX2 daughterboards installed. I want to stream the signals from both boards to file. I haven’t been able to specify both boards using uhd\_rx\_cfile. I’ve tried a few combinations to spe…

---

## [::Rails.env based domain var](https://www.ruby-forum.com/t/rails-env-based-domain-var/221703)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 27, 2012, 2:04pm UTC](https://www.ruby-forum.com/t/rails-env-based-domain-var/221703 "2012-07-27T14:04:38Z")

</div>

What’s the “right” way to DRY up this statement in my app? if ::Rails.env == 'staging' domain = '.staging-domain.com' else domain = '.production-domain.com' end I am using it in a mailer, as well as, the …

---

## [Tune\_request feature for UHD's USRP blocks in GRC](https://www.ruby-forum.com/t/tune-request-feature-for-uhds-usrp-blocks-in-grc/212062)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 21, 2011, 4:34am UTC](https://www.ruby-forum.com/t/tune-request-feature-for-uhds-usrp-blocks-in-grc/212062 "2011-09-21T04:34:32Z")

</div>

A few people have mentioned wanting to tune the UHD’s USRP source/sink block without any tune error correction in the FPGA DSP. Described here: http://files.ettus.com/uhd\_docs/manual/html/general.html#tuning-notes So …

---

## [Non-literal hash elements in argument list?](https://www.ruby-forum.com/t/non-literal-hash-elements-in-argument-list/211169)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 27, 2011, 9:28pm UTC](https://www.ruby-forum.com/t/non-literal-hash-elements-in-argument-list/211169 "2011-08-27T21:28:45Z")

</div>

Many Rails helpers use an idiomatic options hash as their last argument; Ruby automatically inserts extra method arguments into that hash. I often find myself wanting to conditionally insert an element, or to write a …

---

## [Fw: AO-51 and GRC](https://www.ruby-forum.com/t/fw-ao-51-and-grc/179931)

<div class="topic-metadata">

**Author:** [@Patrik\_T](https://www.ruby-forum.com/u/Patrik_T)\
**Replies:** 3\
**Last updated:** [December 8, 2009, 9:36pm UTC](https://www.ruby-forum.com/t/fw-ao-51-and-grc/179931 "2009-12-08T21:36:46Z")

</div>

Hi Alex & All, I use the usrp\_nbfm\_rcv.py in examples to listen on OSCAR. Here is a sample audio recording I made a few week ago Loading... 3.6 mb Patrik

---

## [Using Ruby on Rails to edit a script?](https://www.ruby-forum.com/t/using-ruby-on-rails-to-edit-a-script/176518)

<div class="topic-metadata">

**Author:** [@Sonix](https://www.ruby-forum.com/u/Sonix)\
**Replies:** 3\
**Last updated:** [October 2, 2009, 3:41am UTC](https://www.ruby-forum.com/t/using-ruby-on-rails-to-edit-a-script/176518 "2009-10-02T03:41:21Z")

</div>

Is ROR a good fit if I want to edit and expand on a developed script like RoundCube( http://roundcube.net/ )? I’m planing to edit it for my business as an order/transcript application. If anyone is interested this lin…

---

## [Sinatra, and web enabling existing .NET codebases](https://www.ruby-forum.com/t/sinatra-and-web-enabling-existing-net-codebases/171907)

<div class="topic-metadata">

**Author:** [@dotty](https://www.ruby-forum.com/u/dotty)\
**Replies:** 0\
**Last updated:** [July 11, 2009, 8:03am UTC](https://www.ruby-forum.com/t/sinatra-and-web-enabling-existing-net-codebases/171907 "2009-07-11T08:03:29Z")

</div>

Aaron Quint gave a very interesting talk at GoGaRuCo: http://pivotallabs.com/gogaruco/talks/51-sinatra-the-framework-within About using sinatra to quickly and easily REST-enable libraries. I think this might be a very…

---

## [Google App Engine Rails Template](https://www.ruby-forum.com/t/google-app-engine-rails-template/170190)

<div class="topic-metadata">

**Author:** [@skiz](https://www.ruby-forum.com/u/skiz)\
**Replies:** 3\
**Last updated:** [June 15, 2009, 11:39am UTC](https://www.ruby-forum.com/t/google-app-engine-rails-template/170190 "2009-06-15T11:39:13Z")

</div>

Hi, I just finished posting a rails template that creates an app ready to deploy on the Google App Engine. Check out the blog post http://www.codingforrent.com/posts/8001 and the template at http://github.com/joshs…

---

## [Stack level too deep](https://www.ruby-forum.com/t/stack-level-too-deep/165768)

<div class="topic-metadata">

**Author:** [@chirantan](https://www.ruby-forum.com/u/chirantan)\
**Replies:** 3\
**Last updated:** [April 17, 2009, 12:23pm UTC](https://www.ruby-forum.com/t/stack-level-too-deep/165768 "2009-04-17T12:23:20Z")

</div>

In my application there are 2 models - Profile and Topic. Profiles can be attached to topics and hence I have a many to many relationship between them. Things were good until recently I encountered a problem that said…

---

## [Guile / gmp problems](https://www.ruby-forum.com/t/guile-gmp-problems/158458)

<div class="topic-metadata">

**Author:** [@davek](https://www.ruby-forum.com/u/davek)\
**Replies:** 3\
**Last updated:** [January 24, 2009, 5:08am UTC](https://www.ruby-forum.com/t/guile-gmp-problems/158458 "2009-01-24T05:08:24Z")

</div>

gmp-4.2.4 installed finebut when configuring guile i still get ./configure … … checking whether sethostname is declared… yes checking whether strncasecmp is declared… yes checking for library containing crypt… none …

---

## [Omni-thread problem using multithreading with one thread being GNU Radio](https://www.ruby-forum.com/t/omni-thread-problem-using-multithreading-with-one-thread-being-gnu-radio/150840)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 3:37am UTC](https://www.ruby-forum.com/t/omni-thread-problem-using-multithreading-with-one-thread-being-gnu-radio/150840 "2008-10-14T03:37:34Z")

</div>

Eric, I created multiple threads in my application, one thread uses GNU Radio digital link, the others are for applications. However, every time I stop the digital link and prepare for reconfiguration, I have this e…

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

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