# Top

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

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

---

## [Auto detect URL for ActionMailer?](https://www.ruby-forum.com/t/auto-detect-url-for-actionmailer/85824)

<div class="topic-metadata">

**Author:** [@dkanders](https://www.ruby-forum.com/u/dkanders)\
**Replies:** 4\
**Last updated:** [February 21, 2007, 12:16am UTC](https://www.ruby-forum.com/t/auto-detect-url-for-actionmailer/85824 "2007-02-21T00:16:35Z")

</div>

Hi, how can I call the url in an actionMailer definition - so that it automatically detects what the rails application server is and puts it in the url that is mailed to the client? (I don’t want to have to change it…

---

## [Ruby on Rails Fixtures](https://www.ruby-forum.com/t/ruby-on-rails-fixtures/80472)

<div class="topic-metadata">

**Author:** [@asa](https://www.ruby-forum.com/u/asa)\
**Replies:** 4\
**Last updated:** [December 27, 2006, 8:25pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-fixtures/80472 "2006-12-27T20:25:29Z")

</div>

When I use test fixtures to populate test data into mysql database I am running into an unexpected behavior. Only columns explicitly defined in the fixture is populated into the database. However, created\_on, created\_…

---

## [\[ruby\] c#-like syntax and others](https://www.ruby-forum.com/t/ruby-c-like-syntax-and-others/78925)

<div class="topic-metadata">

**Author:** [@George](https://www.ruby-forum.com/u/George)\
**Replies:** 4\
**Last updated:** [December 10, 2006, 8:54pm UTC](https://www.ruby-forum.com/t/ruby-c-like-syntax-and-others/78925 "2006-12-10T20:54:51Z")

</div>

If I’m not mistaken I’ve read once about ruby’s flexibility in letting you do something your own way (there is always more than 1 way to do something and ruby lets you choose your own way). And yes, syntax in ruby is …

---

## [Fastthread 0.4](https://www.ruby-forum.com/t/fastthread-0-4/77064)

<div class="topic-metadata">

**Author:** [@MenTaLguY](https://www.ruby-forum.com/u/MenTaLguY)\
**Replies:** 4\
**Last updated:** [November 24, 2006, 5:30am UTC](https://www.ruby-forum.com/t/fastthread-0-4/77064 "2006-11-24T05:30:48Z")

</div>

fastthread is a library which replaces the synchronization primitives defined in stdlibâ€™s thread.rb (Mutex, ConditionVariable, Queue, and SizedQueue) with optimized versions which: \* are much faster (in the non-co…

---

## [Keeping a hash' sort order?](https://www.ruby-forum.com/t/keeping-a-hash-sort-order/74042)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [October 29, 2006, 2:34pm UTC](https://www.ruby-forum.com/t/keeping-a-hash-sort-order/74042 "2006-10-29T14:34:49Z")

</div>

hi - sure this is a common question… i have a hash of stuff that i want to load/keep in a particular order. irb(main):005:0\> hsh = { “one” =\> 1, “two” =\> 2, “three” =\> 3, “four”=\>4, “twentythree”=\>23 } gives back: …

---

## [How to do this?](https://www.ruby-forum.com/t/how-to-do-this/72438)

<div class="topic-metadata">

**Author:** [@Petr](https://www.ruby-forum.com/u/Petr)\
**Replies:** 4\
**Last updated:** [October 19, 2006, 2:41am UTC](https://www.ruby-forum.com/t/how-to-do-this/72438 "2006-10-19T02:41:57Z")

</div>

Hi, I’d like iterate through a model object(its an array object as you know) in the view so that it displays 2 database table rows in one html table row(in separate columns ) and then moves to display the next 2 dat…

---

## [How to populate a select list](https://www.ruby-forum.com/t/how-to-populate-a-select-list/72286)

<div class="topic-metadata">

**Author:** [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Replies:** 4\
**Last updated:** [October 16, 2006, 5:12pm UTC](https://www.ruby-forum.com/t/how-to-populate-a-select-list/72286 "2006-10-16T17:12:18Z")

</div>

I’m creating a simple ‘Yes/No’ select droplist. I thought the select tag accepted a hash. But, it doesn’t show any items when I view it. This is the code in Markaby 0.5. select\_tag( ‘work\_order’, ‘warranty\_work\_ny’,{…

---

## [How to display user data from one page on another?](https://www.ruby-forum.com/t/how-to-display-user-data-from-one-page-on-another/66333)

<div class="topic-metadata">

**Author:** [@dplante](https://www.ruby-forum.com/u/dplante)\
**Replies:** 4\
**Last updated:** [August 25, 2006, 2:11am UTC](https://www.ruby-forum.com/t/how-to-display-user-data-from-one-page-on-another/66333 "2006-08-25T02:11:01Z")

</div>

Can someone point me at some code that shows how to create a controller and a view that prompts the user to enter some data, and then displays this same data on another page (and I don’t want to persist this to the da…

---

## [Kernel#p and output record separator](https://www.ruby-forum.com/t/kernel-p-and-output-record-separator/97902)

<div class="topic-metadata">

**Author:** [@pool007](https://www.ruby-forum.com/u/pool007)\
**Replies:** 4\
**Last updated:** [July 12, 2006, 7:14am UTC](https://www.ruby-forum.com/t/kernel-p-and-output-record-separator/97902 "2006-07-12T07:14:53Z")

</div>

Hi. ri Kernel#p shows this: --------------------------------------------------------------- Kernel#p p(obj, …) =\> nil For each object, directly writes \_obj\_.+inspect+ followed by the current output record separat…

---

## [Remote\_function posting?](https://www.ruby-forum.com/t/remote-function-posting/63055)

<div class="topic-metadata">

**Author:** [@Wuher](https://www.ruby-forum.com/u/Wuher)\
**Replies:** 4\
**Last updated:** [June 12, 2006, 6:09am UTC](https://www.ruby-forum.com/t/remote-function-posting/63055 "2006-06-12T06:09:09Z")

</div>

Hi, I’ve noticed that my remote\_function calls are resulting in POST requests. As a result, my routes do not apply since it does not generate a url based on the parameters, but simply posts to the raw url with post …

---

## [What do you use RJS for?](https://www.ruby-forum.com/t/what-do-you-use-rjs-for/59655)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 4\
**Last updated:** [May 5, 2006, 6:55pm UTC](https://www.ruby-forum.com/t/what-do-you-use-rjs-for/59655 "2006-05-05T18:55:02Z")

</div>

I’ve read an intro or two for RJS, but I don’t fully get what it may be used for - AJAX? Please post what you currently use RJS for. Thanks! Joe

---

## [Ruby 1.8.4 on SUSE 10.0 howto](https://www.ruby-forum.com/t/ruby-1-8-4-on-suse-10-0-howto/93580)

<div class="topic-metadata">

**Author:** [@afg](https://www.ruby-forum.com/u/afg)\
**Replies:** 4\
**Last updated:** [April 5, 2006, 10:02pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4-on-suse-10-0-howto/93580 "2006-04-05T22:02:20Z")

</div>

All, I just installed ruby 1.8.4 on my SUSE 10.0 box. It was slightly convoluted so I thought I would post the solution here. Once this runs for a day or so I will try upgrading my rails to 1.1 === Ruby 1.8.4 on SU…

---

## [Feedtools](https://www.ruby-forum.com/t/feedtools/84839)

<div class="topic-metadata">

**Author:** [@regularfry](https://www.ruby-forum.com/u/regularfry)\
**Replies:** 4\
**Last updated:** [March 26, 2006, 10:21am UTC](https://www.ruby-forum.com/t/feedtools/84839 "2006-03-26T10:21:24Z")

</div>

Hi all, Is anyone else seeing silly amounts of segfaults with Feedtools? They’re regular enough to make it unusable, but I haven’t pinned down what’s triggering them yet. Here’s the error: deadlock 0xb75970a8: run:…

---

## [Rails-1.0.0 gem rdoc problem](https://www.ruby-forum.com/t/rails-1-0-0-gem-rdoc-problem/100152)

<div class="topic-metadata">

**Author:** [@sauy7](https://www.ruby-forum.com/u/sauy7)\
**Replies:** 4\
**Last updated:** [February 5, 2006, 4:00am UTC](https://www.ruby-forum.com/t/rails-1-0-0-gem-rdoc-problem/100152 "2006-02-05T04:00:43Z")

</div>

Just got a brand new install of ruby-1.8.4 and new gems downloaded, specifically rails-1.0.0. Seems rails does not generated rdoc for gem\_server. Looking into the problem, it seems that there is an error when doing ‘…

---

## [Random (connections.c.1330) error-handler not found: /dispat](https://www.ruby-forum.com/t/random-connections-c-1330-error-handler-not-found-dispat/53363)

<div class="topic-metadata">

**Author:** [@Bogdan\_I](https://www.ruby-forum.com/u/Bogdan_I)\
**Replies:** 4\
**Last updated:** [February 2, 2006, 3:48pm UTC](https://www.ruby-forum.com/t/random-connections-c-1330-error-handler-not-found-dispat/53363 "2006-02-02T15:48:15Z")

</div>

Hello, Again another random occurance of a problem. lighttpd.error.log contains lines like: 2006-02-02 05:02:00: (connections.c.1330) error-handler not found: /dispatch.fcgi 2006-02-02 05:02:00: (connections.c.1330)…

---

## [Need some help designing my messaging system](https://www.ruby-forum.com/t/need-some-help-designing-my-messaging-system/50653)

<div class="topic-metadata">

**Author:** [@i8ramin](https://www.ruby-forum.com/u/i8ramin)\
**Replies:** 4\
**Last updated:** [December 19, 2005, 8:42pm UTC](https://www.ruby-forum.com/t/need-some-help-designing-my-messaging-system/50653 "2005-12-19T20:42:55Z")

</div>

I am trying to create a messaging system for my users but I’m having a hard time designing my db. This is what i have in mind, but I am not sure if its the best approach. user has\_one inbox user has\_one outbox inbox…

---

## [New HTTP protocol from Google](https://www.ruby-forum.com/t/new-http-protocol-from-google/178903)

<div class="topic-metadata">

**Author:** [@Johan\_BergstrSSSSm](https://www.ruby-forum.com/u/Johan_BergstrSSSSm)\
**Replies:** 6\
**Last updated:** [November 13, 2009, 9:50pm UTC](https://www.ruby-forum.com/t/new-http-protocol-from-google/178903 "2009-11-13T21:50:24Z")

</div>

Hey, please don’t see this as a feature request - I just wanted to inform those who’ve missed the news about SPDY, an interesting new alternative protocol to HTTP. There are of course a plethora of alternatives even …

---

## [Heroku](https://www.ruby-forum.com/t/heroku/176206)

<div class="topic-metadata">

**Author:** [@halfbyte](https://www.ruby-forum.com/u/halfbyte)\
**Replies:** 6\
**Last updated:** [September 27, 2009, 9:41pm UTC](https://www.ruby-forum.com/t/heroku/176206 "2009-09-27T21:41:51Z")

</div>

Hi, have anyone some experience with Heroku? I have an account there, but I’m unable to tell git to work with it. Can some of you help me please? Regards Jan K.

---

## [Autoincrement](https://www.ruby-forum.com/t/autoincrement/176027)

<div class="topic-metadata">

**Author:** [@djames](https://www.ruby-forum.com/u/djames)\
**Replies:** 6\
**Last updated:** [September 24, 2009, 5:53pm UTC](https://www.ruby-forum.com/t/autoincrement/176027 "2009-09-24T17:53:34Z")

</div>

I am using SQLite 3. I have deleted all of the rows of a member table but one. The one row that remains is for the administrative user and has an id of 0. I’d sure like to zero out the autoincrement counter. The do…

---

## [Ruby On Rails Problems](https://www.ruby-forum.com/t/ruby-on-rails-problems/175688)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 6\
**Last updated:** [September 18, 2009, 4:44pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-problems/175688 "2009-09-18T16:44:41Z")

</div>

Ive posted the following on various forums and had no reply, and was told this was the place were i could get an answer: Hi, As you may know I currently own and maintain dev-hq.co.uk, and basically ive been trying to …

---

## [Search File Contents](https://www.ruby-forum.com/t/search-file-contents/139873)

<div class="topic-metadata">

**Author:** [@dbest](https://www.ruby-forum.com/u/dbest)\
**Replies:** 6\
**Last updated:** [June 8, 2008, 4:50pm UTC](https://www.ruby-forum.com/t/search-file-contents/139873 "2008-06-08T16:50:20Z")

</div>

Hi Guys, I have a small code block that is frustrating me for some time now. I want to search for some text in a file. Simple isnt it? def read\_file week\_num week\_num = week\_num.to\_s f = File.open(“fixtures.txt”, “r…

---

## [Code Review: WEBrick](https://www.ruby-forum.com/t/code-review-webrick/138579)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 6\
**Last updated:** [May 27, 2008, 6:23pm UTC](https://www.ruby-forum.com/t/code-review-webrick/138579 "2008-05-27T18:23:26Z")

</div>

tfpt review “/shelveset:WEBrick;REDMOND\\tomat” Implements IO.select, String#to\_f, Thread#kill, Thread#start, Thread#inspect, fixes TCPServer, File::Constants, and some other minor fixes. Tomas

---

## [Regex and lookahead to specific number of chars](https://www.ruby-forum.com/t/regex-and-lookahead-to-specific-number-of-chars/186763)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 6\
**Last updated:** [February 28, 2008, 12:51pm UTC](https://www.ruby-forum.com/t/regex-and-lookahead-to-specific-number-of-chars/186763 "2008-02-28T12:51:00Z")

</div>

If I have a string such as “I love ruby, i really do love ruby, oh yes i do blah blah blah” and i want to insert an asterix at every 10th char whether its a whitespace, digit whatever how do i go about it i was tryin…

---

## [How to access a method when method-name is in a variable](https://www.ruby-forum.com/t/how-to-access-a-method-when-method-name-is-in-a-variable/127290)

<div class="topic-metadata">

**Author:** [@jeanluca](https://www.ruby-forum.com/u/jeanluca)\
**Replies:** 6\
**Last updated:** [February 3, 2008, 1:21pm UTC](https://www.ruby-forum.com/t/how-to-access-a-method-when-method-name-is-in-a-variable/127290 "2008-02-03T13:21:32Z")

</div>

Hi All I have a method name stored in a variable. How do I now invoke the method ? my\_var = ‘some\_method’ my\_obj = Some\_Obj.new my\_obj.my\_var() doesn’t work Any suggestion thnx a lot LuCa

---

## [2.0?](https://www.ruby-forum.com/t/2-0/125535)

<div class="topic-metadata">

**Author:** [@tomn](https://www.ruby-forum.com/u/tomn)\
**Replies:** 6\
**Last updated:** [January 10, 2008, 4:09am UTC](https://www.ruby-forum.com/t/2-0/125535 "2008-01-10T04:09:33Z")

</div>

I’ve havn’t run across a brief synopsis via search so I thought I’d throw the question out here. As my first real application is still a work in progress I suppose I should upgrade to 2.0 before I finish it off. (espe…

---

## [Call with async method](https://www.ruby-forum.com/t/call-with-async-method/120486)

<div class="topic-metadata">

**Author:** [@flnative](https://www.ruby-forum.com/u/flnative)\
**Replies:** 6\
**Last updated:** [November 19, 2007, 9:56am UTC](https://www.ruby-forum.com/t/call-with-async-method/120486 "2007-11-19T09:56:01Z")

</div>

Hi @all I’m developing a tool who sniff the networktraffic on the nic. I would like to call the method asynchron from a other pc. I realize this problem with xmlrpc4r. To sniff the networkpackets, I use the pcaplet. N…

---

## [3 newbie questions](https://www.ruby-forum.com/t/3-newbie-questions/98629)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 6\
**Last updated:** [July 18, 2006, 1:29am UTC](https://www.ruby-forum.com/t/3-newbie-questions/98629 "2006-07-18T01:29:15Z")

</div>

hey all, I have 3 tables like this: Images (id,name) Tags (id,name) ImagesTags(imageid,tagid) in my image model I do a “has\_and\_belongs\_to\_many :tags” but to make it work I need to rename ImagesTags(imageid,tagid) …

---

## [\[ANN\] Instant Rails Screencast](https://www.ruby-forum.com/t/ann-instant-rails-screencast/98030)

<div class="topic-metadata">

**Author:** [@javamllama](https://www.ruby-forum.com/u/javamllama)\
**Replies:** 6\
**Last updated:** [July 17, 2006, 9:35pm UTC](https://www.ruby-forum.com/t/ann-instant-rails-screencast/98030 "2006-07-17T21:35:19Z")

</div>

I created a screencast showing how you can use Instant Rails to get a fully functional Rails environment running on Windows in under 5 minutes. Get started with Ruby on Rails in less than 5 minutes http://mattgriffit…

---

## [Glimmer DSL for Web 0.4.4 Released](https://www.ruby-forum.com/t/glimmer-dsl-for-web-0-4-4-released/264953)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [August 3, 2024, 6:20am UTC](https://www.ruby-forum.com/t/glimmer-dsl-for-web-0-4-4-released/264953 "2024-08-03T06:20:26Z")

</div>

Glimmer DSL for Web (Ruby-in-the-Browser Web Frontend Framework) version 0.4.4 has been released. GitHub : GitHub - AndyObtiva/glimmer-dsl-web: Glimmer DSL for Web (Ruby-in-the-Browser Web Frontend Framework) RubyGem :…

---

## [Database logic](https://www.ruby-forum.com/t/database-logic/245334)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [April 21, 2017, 2:18am UTC](https://www.ruby-forum.com/t/database-logic/245334 "2017-04-21T02:18:14Z")

</div>

I need to build a gouvernamental webapplication where I need to store some informations. This informations accept modifications in time. I need to retrieve this informations at a specific date, date entered by user, w…

---

## [Shoes - Searching a string in a file](https://www.ruby-forum.com/t/shoes-searching-a-string-in-a-file/245335)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [April 21, 2017, 8:54am UTC](https://www.ruby-forum.com/t/shoes-searching-a-string-in-a-file/245335 "2017-04-21T08:54:14Z")

</div>

Hi, can anyone help me to create a GUI using shoes which should search a word in file and print the line that having the search keyword and highlighting the same in each line it prints. Thanks in advance.

---

## [Is it possible to bind a parameter to a (unary) Proc object?](https://www.ruby-forum.com/t/is-it-possible-to-bind-a-parameter-to-a-unary-proc-object/245167)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [December 6, 2016, 1:41pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-bind-a-parameter-to-a-unary-proc-object/245167 "2016-12-06T13:41:42Z")

</div>

(Note: Having received no responses yet at this forum, I crossposted the question at ruby - Is it possible to bind a parameter to a (unary) Proc object? - Stack Overflow) Here is a (very) simplified, working version o…

---

## [\[For Hire\] Junior Ruby on Rails developer](https://www.ruby-forum.com/t/for-hire-junior-ruby-on-rails-developer/244998)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [July 31, 2016, 5:11pm UTC](https://www.ruby-forum.com/t/for-hire-junior-ruby-on-rails-developer/244998 "2016-07-31T17:11:13Z")

</div>

Hello, I am looking for a junior position in Ruby on Rails development. I have made a number of applications and deployed them on git and heroku. I am well versed in Linux system administration, HTML/CSS, Javascript, …

---

## [Parallel execution](https://www.ruby-forum.com/t/parallel-execution/234458)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [March 10, 2015, 9:44am UTC](https://www.ruby-forum.com/t/parallel-execution/234458 "2015-03-10T09:44:50Z")

</div>

hi, I have access to a huge cluster (several processors) and I would like to execute a ruby script in parallel. How can I do this. Any tutorial or url is highly appreciated! Thank you so much sbhattac

---

## [Ruby upload file with mechanize](https://www.ruby-forum.com/t/ruby-upload-file-with-mechanize/232770)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 27, 2014, 2:17pm UTC](https://www.ruby-forum.com/t/ruby-upload-file-with-mechanize/232770 "2014-10-27T14:17:12Z")

</div>

I try to automated upload file in youwatch and i blocked here ! When i execute the code it’s like he doesn’t send the file because,in the output i’ve #http://ebox2.youwatch.org/cgi-bin/upload.cgi?upload\_id=\>} I try t…

---

## [Using uhd\_fft with USRP N210](https://www.ruby-forum.com/t/using-uhd-fft-with-usrp-n210/241232)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [May 20, 2014, 6:49am UTC](https://www.ruby-forum.com/t/using-uhd-fft-with-usrp-n210/241232 "2014-05-20T06:49:29Z")

</div>

Hi, I,m trying to run uhd\_fft with USRP N210, my machine run Ubuntu 12.04.4 LTS. I’ve already install UHD, gnuradio, & OpenBTS in my machine & works fine. But when i try to run uhd\_fft which is in /var/opt/gnuradio-…

---

## [How to make that irb commands in the history?](https://www.ruby-forum.com/t/how-to-make-that-irb-commands-in-the-history/240384)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 11, 2014, 11:53pm UTC](https://www.ruby-forum.com/t/how-to-make-that-irb-commands-in-the-history/240384 "2014-04-11T23:53:45Z")

</div>

I want to store the commands input in irb in the history and use them next time. How should I do that? Thanks.

---

## [Embedding](https://www.ruby-forum.com/t/embedding/240253)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 4, 2014, 3:09pm UTC](https://www.ruby-forum.com/t/embedding/240253 "2014-04-04T15:09:07Z")

</div>

Hi Anyone with input as to the feasibility of maintaining either gnu-radio or math-lab design and have something embeddable without pulling the whole environment into the target? Generating c or c++ to be compiled fo…

---

## [Can't read fir taps](https://www.ruby-forum.com/t/cant-read-fir-taps/238806)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [January 30, 2014, 2:40pm UTC](https://www.ruby-forum.com/t/cant-read-fir-taps/238806 "2014-01-30T14:40:48Z")

</div>

Hi all guys, this two lines of code sort of doesn’t work as I expect. self.channel\_filter = gr.fir\_filter\_ccf(1, firdes.low\_pass(10, samp\_rate, 80000, 5000, firdes.WIN\_HAMMING, 6.76)) print self.channel\_filter.taps(…

---

## [Getting Rails to work with an existing database instead of a new one](https://www.ruby-forum.com/t/getting-rails-to-work-with-an-existing-database-instead-of-a-new-one/228508)

<div class="topic-metadata">

**Author:** [@Jason\_H.S\_Android\_d](https://www.ruby-forum.com/u/Jason_H.S_Android_d)\
**Replies:** 3\
**Last updated:** [April 25, 2013, 10:40am UTC](https://www.ruby-forum.com/t/getting-rails-to-work-with-an-existing-database-instead-of-a-new-one/228508 "2013-04-25T10:40:36Z")

</div>

All of the Rails tutorials I’ve looked at seem to revolve around creating a new database and then making the contents of the database accessible through the web page. The URL http://localhost:3000/users gives you ac…

---

## [Ruby migrations of plain SQL](https://www.ruby-forum.com/t/ruby-migrations-of-plain-sql/223919)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 23, 2012, 11:21pm UTC](https://www.ruby-forum.com/t/ruby-migrations-of-plain-sql/223919 "2012-10-23T23:21:49Z")

</div>

Hi, we have tons of SQL scripts with CREATE this UPDATE that etc etc, all nicely time stamped. These are currently run manually, but I was thinking about writing a tool to handle this, but first wanted to check if one…

---

## [Need help with this](https://www.ruby-forum.com/t/need-help-with-this/220184)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [June 1, 2012, 1:19pm UTC](https://www.ruby-forum.com/t/need-help-with-this/220184 "2012-06-01T13:19:08Z")

</div>

This is a homework question and I’m really confused by it: the method exp(x,y) is passed two integers and returns x^Y write a recursive version of exp(s,y) in Ruby. this is what I have: def exp(x,y) if y = 1 return…

---

## [If proxy\_read\_timeout - then do something?](https://www.ruby-forum.com/t/if-proxy-read-timeout-then-do-something/218485)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 2, 2012, 3:37pm UTC](https://www.ruby-forum.com/t/if-proxy-read-timeout-then-do-something/218485 "2012-04-02T15:37:25Z")

</div>

Hi, I would like to put a proxy\_read\_timeout and if it times out, I want to do a specific action in php and return some response to the user. Is this possible? How? Thanks, Shrinath Posted at Nginx Forum:

---

## [Help Converting from SQL to Rails syntax](https://www.ruby-forum.com/t/help-converting-from-sql-to-rails-syntax/218380)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 30, 2012, 11:35pm UTC](https://www.ruby-forum.com/t/help-converting-from-sql-to-rails-syntax/218380 "2012-03-30T23:35:59Z")

</div>

Hi all, I have a table where I’m deleting sparse records – basically cleaning up broken has\_many / belongs\_to relationships. (How we get into this situation is a trade-off. We can have '000’s of records, and deletes…

---

## [Message Queue Thread Safety](https://www.ruby-forum.com/t/message-queue-thread-safety/217023)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 23, 2012, 5:49pm UTC](https://www.ruby-forum.com/t/message-queue-thread-safety/217023 "2012-02-23T17:49:15Z")

</div>

I have an application with some nasty race conditions I am trying to pin-point. The application starts with a 256 channel filterbank. Approx 45 outputs are connected to files, a handful to other blocks ending with a …

---

## [The ^ and % operators in context](https://www.ruby-forum.com/t/the-and-operators-in-context/216438)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 6, 2012, 3:59pm UTC](https://www.ruby-forum.com/t/the-and-operators-in-context/216438 "2012-02-06T15:59:19Z")

</div>

The % is modulus (remainder) operator and ^ is bitwise. In this context, we take a file, and go through each character and encrypt it. But why are the ^ and % operators used here: def encrypt(reader, writer) key\_inde…

---

## [\[ruby-trunk - Feature #5895\]\[Open\] rb\_iter\_break\_value](https://www.ruby-forum.com/t/ruby-trunk-feature-5895-open-rb-iter-break-value/215750)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 24, 2012, 4:11am UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-5895-open-rb-iter-break-value/215750 "2012-01-24T04:11:01Z")

</div>

Issue #5895 has been reported by Nobuyoshi N… Feature #5895: rb\_iter\_break\_value Author: Nobuyoshi N. Status: Open Priority: Normal Assignee: Category: Target version: Rubyレベルではbreakで値を返すことができますが、Cレベルでは今のところ方法が…

---

## [Using Ruby to install/manage something from source - Features?](https://www.ruby-forum.com/t/using-ruby-to-install-manage-something-from-source-features/213813)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 29, 2011, 10:33am UTC](https://www.ruby-forum.com/t/using-ruby-to-install-manage-something-from-source-features/213813 "2011-12-29T10:33:01Z")

</div>

Hi, Since some time, as a hobby, I am working on an umbrella project in Ruby - anything that aids in installing software. Basically its main feature right now is to do something like this: compile http://dfn.dl.sourc…

---

## [Real and Imag data](https://www.ruby-forum.com/t/real-and-imag-data/212738)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [October 20, 2011, 5:17am UTC](https://www.ruby-forum.com/t/real-and-imag-data/212738 "2011-10-20T05:17:23Z")

</div>

Hi I’m quite new to the GNU Radio. Recently, I got a problem with how to pick I and Q parts from the file data\_source\_1.dat seperately in python. I have got the signal from the sentence below: src = gr.file\_source(gr…

---

## [Google+ API for Ruby](https://www.ruby-forum.com/t/google-api-for-ruby/211860)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 16, 2011, 4:31pm UTC](https://www.ruby-forum.com/t/google-api-for-ruby/211860 "2011-09-16T16:31:51Z")

</div>

Is there any Google+ API available for Ruby? Thanks, Jk

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

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