# Top

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

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

---

## [Form Filler](https://www.ruby-forum.com/t/form-filler/67675)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [February 15, 2006, 2:34am UTC](https://www.ruby-forum.com/t/form-filler/67675 "2006-02-15T02:34:32Z")

</div>

Is there an equivalent in Ruby to the Perl modules which can “fill out an html/http form”? Given a hash, I’d like to either get the query string to append to the URL for GET’s, or the POST contents to append for POST’…

---

## [What causes SyntaxError: get\_local\_var\_idx: -1 when loading .rb with Ruby Encoder](https://www.ruby-forum.com/t/what-causes-syntaxerror-get-local-var-idx-1-when-loading-rb-with-ruby-encoder/264711)

<div class="topic-metadata">

**Author:** [@Whaat](https://www.ruby-forum.com/u/Whaat)\
**Replies:** 0\
**Last updated:** [April 1, 2024, 10:41pm UTC](https://www.ruby-forum.com/t/what-causes-syntaxerror-get-local-var-idx-1-when-loading-rb-with-ruby-encoder/264711 "2024-04-01T22:41:33Z")

</div>

Hello! I’ve been developing SketchUp extensions using Ruby since 2006 but just joined this forum. I’m using Ruby Encoder for the first time in a project but have ran into an issue where an error is getting triggered wh…

---

## [(SyntaxError) (ruby filter code):30: syntax error, unexpected end-of-file](https://www.ruby-forum.com/t/syntaxerror-ruby-filter-code-syntax-error-unexpected-end-of-file/252504)

<div class="topic-metadata">

**Author:** [@mmk1995](https://www.ruby-forum.com/u/mmk1995)\
**Replies:** 0\
**Last updated:** [May 30, 2019, 3:29am UTC](https://www.ruby-forum.com/t/syntaxerror-ruby-filter-code-syntax-error-unexpected-end-of-file/252504 "2019-05-30T03:29:47Z")

</div>

if event.get(‘srcip’) srcip = event.get(‘srcip’) else srcip = ‘’ end if event.get(‘poluuid’) poluuid = event.get(‘poluuid’) else poluuid = ‘’ end params = { :hash\_pair =\> \[ 'srcip' + '-' + srcip, 'poluu…

---

## [USRP MIMO-OFDM cannot receive packet](https://www.ruby-forum.com/t/usrp-mimo-ofdm-cannot-receive-packet/244968)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 20, 2016, 2:26pm UTC](https://www.ruby-forum.com/t/usrp-mimo-ofdm-cannot-receive-packet/244968 "2016-07-20T14:26:49Z")

</div>

Recently,I build the 2x2 mimo-ofdm system with only mimo cable.The transmitting end can successful the packet,while the send end can only do coarse freq1 and freq2 estimation,sometimes could receiver one or two packet…

---

## [Newbie needs help with controller](https://www.ruby-forum.com/t/newbie-needs-help-with-controller/243818)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [January 12, 2016, 10:17am UTC](https://www.ruby-forum.com/t/newbie-needs-help-with-controller/243818 "2016-01-12T10:17:01Z")

</div>

Hey there, I’m super new to RoR. I’ve been working on an eCommerce project for practice. Currently my website has buyers and sellers. Each seller has personal page. I’m trying to figure out how to show each seller’s …

---

## [\[ruby-trunk - Bug #10647\] \[Closed\] fail install without zlib](https://www.ruby-forum.com/t/ruby-trunk-bug-10647-closed-fail-install-without-zlib/233581)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 25, 2014, 5:52pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-10647-closed-fail-install-without-zlib/233581 "2014-12-25T17:52:56Z")

</div>

Issue #10647 has been updated by Usaku NAKAMURA. Status changed from Open to Closed Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED r49015(とr49016)でスキ…

---

## [Odd Behavior](https://www.ruby-forum.com/t/odd-behavior/233458)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [December 16, 2014, 1:14am UTC](https://www.ruby-forum.com/t/odd-behavior/233458 "2014-12-16T01:14:52Z")

</div>

Problem: Real and Imaginary outputs of CPFSK sometimes seem flipped in the transmitter. I’m using the CPFSK block to modulate for a binary FSK radio. All that I reference here is in the transmitter. There are 3 input…

---

## ["dynamic constant assignment"](https://www.ruby-forum.com/t/dynamic-constant-assignment/232845)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 30, 2014, 10:42pm UTC](https://www.ruby-forum.com/t/dynamic-constant-assignment/232845 "2014-10-30T22:42:44Z")

</div>

Can someone PLEASE help me with this error I can NOT understand what is wrong with this code on lines 124 and 145 it’s reading…dynamic constant assignment Screen = Screen.new for both lines 124 and 125. here is the sc…

---

## [Link\_to if POST needed is a a hard nut to crack](https://www.ruby-forum.com/t/link-to-if-post-needed-is-a-a-hard-nut-to-crack/227261)

<div class="topic-metadata">

**Author:** [@barry](https://www.ruby-forum.com/u/barry)\
**Replies:** 3\
**Last updated:** [March 10, 2013, 11:10pm UTC](https://www.ruby-forum.com/t/link-to-if-post-needed-is-a-a-hard-nut-to-crack/227261 "2013-03-10T23:10:35Z")

</div>

So, I’m pretty much a beginner, so I would appreciate some help with this issue. So, I have link\_to helper (yes, I know that button\_to is much easer, but for the needs of application it should be link\_to), which shou…

---

## [DragonFly Object not found in Production](https://www.ruby-forum.com/t/dragonfly-object-not-found-in-production/224258)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 8, 2012, 12:01pm UTC](https://www.ruby-forum.com/t/dragonfly-object-not-found-in-production/224258 "2012-11-08T12:01:55Z")

</div>

could please anyone help me with this issue? thanks, enrico – Enrico Stano twitter @enricostano skype ocirneonats

---

## [Getting waitpid error](https://www.ruby-forum.com/t/getting-waitpid-error/223638)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 18, 2012, 4:52pm UTC](https://www.ruby-forum.com/t/getting-waitpid-error/223638 "2012-10-18T16:52:55Z")

</div>

Hi, While calling nginx stop we are getting following error: \[alert\] 25563#0: waitpid() failed (10: No child processes) What could be the reason for this problem? How can we solve this? or Can we ignore this error ? …

---

## [ActionMailer Linode](https://www.ruby-forum.com/t/actionmailer-linode/219538)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 8, 2012, 1:58am UTC](https://www.ruby-forum.com/t/actionmailer-linode/219538 "2012-05-08T01:58:21Z")

</div>

Hi Guys, I created a mail server at Linode. I would like to configure my rails app to send mails using one of this mail accounts. Does anybody know any tutorial about how to do it? Thx Bruno M.

---

## [Custom 404 error\_page seems to conflict with access\_log off](https://www.ruby-forum.com/t/custom-404-error-page-seems-to-conflict-with-access-log-off/217274)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 26, 2012, 11:18pm UTC](https://www.ruby-forum.com/t/custom-404-error-page-seems-to-conflict-with-access-log-off/217274 "2012-02-26T23:18:04Z")

</div>

Hello, In my server block, I configured a custom 404 error page and I tried to disable access log for /favicon.ico error\_page 404 /404.html; location = /favicon.ico { access\_log off; } It seems that both conflic…

---

## [Has many through with an extra field](https://www.ruby-forum.com/t/has-many-through-with-an-extra-field/216832)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 15, 2012, 12:09pm UTC](https://www.ruby-forum.com/t/has-many-through-with-an-extra-field/216832 "2012-02-15T12:09:05Z")

</div>

Hello, I’m trying to solve a common task with many to many relationships. Here are my class definitions: class User \< ActiveRecord::Base has\_many :questionnaires has\_many :forms, :through =\> :questionnaires end cl…

---

## [Unwanted relative phase change after programming a device](https://www.ruby-forum.com/t/unwanted-relative-phase-change-after-programming-a-device/215660)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 12, 2012, 7:55pm UTC](https://www.ruby-forum.com/t/unwanted-relative-phase-change-after-programming-a-device/215660 "2012-01-12T19:55:37Z")

</div>

Dear all I am using USRP1 with two basic RX daughter boards and two input signals (one at each Basic RX) with the same frequency. The two 10. 7 MHz signals cartesian components: (I1, Q1) from one channel of the 1st …

---

## [Col 1.0.1](https://www.ruby-forum.com/t/col-1-0-1/215356)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 2, 2012, 8:54am UTC](https://www.ruby-forum.com/t/col-1-0-1/215356 "2012-01-02T08:54:24Z")

</div>

col: high-level console color formatting for Ruby If you want a dash of color in your Ruby console program, use Term::ANSIColor. If your color formatting requirements are more complicated, use Col. Col provides as mu…

---

## [Underrun occurs when frequency changing](https://www.ruby-forum.com/t/underrun-occurs-when-frequency-changing/214718)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 13, 2011, 3:23pm UTC](https://www.ruby-forum.com/t/underrun-occurs-when-frequency-changing/214718 "2011-12-13T15:23:25Z")

</div>

Dear all, I am trying to transmit a sequence at various frequencies on USRP N200 with LFTX. When I use the uhd.single\_usrp\_source.set\_center\_freq() to change the frequency then insert the the sequence as a message in…

---

## [Sync multi nginx (persistent) caching proxy for one(or more) app server](https://www.ruby-forum.com/t/sync-multi-nginx-persistent-caching-proxy-for-one-or-more-app-server/210189)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 2, 2011, 4:06pm UTC](https://www.ruby-forum.com/t/sync-multi-nginx-persistent-caching-proxy-for-one-or-more-app-server/210189 "2011-08-02T16:06:28Z")

</div>

Hi, I am a newbie Nginx user, so bear with me here :wink: I want to setup multiple (identical) caching proxy in front of my app server. Basically - Load balancer - multiple nginx caching proxy - app server(s) So I …

---

## [Each Array Method Skipping first Array position](https://www.ruby-forum.com/t/each-array-method-skipping-first-array-position/202422)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 28, 2011, 5:00pm UTC](https://www.ruby-forum.com/t/each-array-method-skipping-first-array-position/202422 "2011-01-28T17:00:34Z")

</div>

Could someone tell me why in the following code, when it iterates on the array ‘arraya’ it skips the first position? It is strange because immediatley before each is called on arraya, I call inspect and you can clearl…

---

## [Gnuradio-3.3.0 Build Error On Fedora 14 (x86\_64)](https://www.ruby-forum.com/t/gnuradio-3-3-0-build-error-on-fedora-14-x86-64/199080)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 15, 2010, 7:42pm UTC](https://www.ruby-forum.com/t/gnuradio-3-3-0-build-error-on-fedora-14-x86-64/199080 "2010-11-15T19:42:37Z")

</div>

Hi List, I’m trying to build gnuradio-3.3.0 on Fedora 14 x86\_64. I’ve installed all the prerequisites, and I run ./configure and it completes fine, reporting the modules going to be built. But when I run ‘make’, it r…

---

## [How do I stub a view in rspec-2](https://www.ruby-forum.com/t/how-do-i-stub-a-view-in-rspec-2/189838)

<div class="topic-metadata">

**Author:** [@treybean](https://www.ruby-forum.com/u/treybean)\
**Replies:** 3\
**Last updated:** [June 8, 2010, 6:49pm UTC](https://www.ruby-forum.com/t/how-do-i-stub-a-view-in-rspec-2/189838 "2010-06-08T18:49:29Z")

</div>

Hi, I’m in the process of upgrading an app to Rails 3/Rspec 2. I see that stubbing a view helper method has changed in Rspec 2. It looks like instead of doing template.stub!, we’re now supposed to do view.stub!, bu…

---

## [Jruby 1.5 current state of ruby 1.9 compatibility/performanc](https://www.ruby-forum.com/t/jruby-1-5-current-state-of-ruby-1-9-compatibility-performanc/188812)

<div class="topic-metadata">

**Author:** [@christoforever](https://www.ruby-forum.com/u/christoforever)\
**Replies:** 3\
**Last updated:** [May 19, 2010, 1:23am UTC](https://www.ruby-forum.com/t/jruby-1-5-current-state-of-ruby-1-9-compatibility-performanc/188812 "2010-05-19T01:23:47Z")

</div>

I was wondering if any jruby dev’s could give a run-down of the current state of jruby 1.5 compatibility with ruby 1.9? And if you guys/gals have done any performance tests recently, are there any gains from using –1.…

---

## [Checkboxes in a loop - I get the same id](https://www.ruby-forum.com/t/checkboxes-in-a-loop-i-get-the-same-id/187210)

<div class="topic-metadata">

**Author:** [@oreng](https://www.ruby-forum.com/u/oreng)\
**Replies:** 3\
**Last updated:** [April 22, 2010, 11:41pm UTC](https://www.ruby-forum.com/t/checkboxes-in-a-loop-i-get-the-same-id/187210 "2010-04-22T23:41:47Z")

</div>

\<% f.fields\_for :keys do |key\_form| %\> \<%= check\_box\_tag “keys\_to\_update\[\]”, key\_form.object.id %\> \<%= key\_form.label :name, key\_form.object.name %\> \<% end %\> This is the output: I try to use cucumber and check …

---

## [Detect whether a key is being held before script execution?](https://www.ruby-forum.com/t/detect-whether-a-key-is-being-held-before-script-execution/186893)

<div class="topic-metadata">

**Author:** [@wet](https://www.ruby-forum.com/u/wet)\
**Replies:** 3\
**Last updated:** [April 14, 2010, 3:43am UTC](https://www.ruby-forum.com/t/detect-whether-a-key-is-being-held-before-script-execution/186893 "2010-04-14T03:43:20Z")

</div>

Hi All! I am looking for a way to have a script detect whether or not a key is pressed and held down before it runs. Basically, I want the script to execute one way if the key is pressed and another if it is not pres…

---

## [Flash error & fade away](https://www.ruby-forum.com/t/flash-error-fade-away/185710)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 3\
**Last updated:** [March 25, 2010, 10:07pm UTC](https://www.ruby-forum.com/t/flash-error-fade-away/185710 "2010-03-25T22:07:03Z")

</div>

this is my current code: #notice { border: solid 1px #99cc99; background-color: #e2f9e3; color: #006600; padding: 5px; margin-bottom: 5px; } #notice.error { border-color: #e2f9e3; background-color: #eeaaaa; co…

---

## [Proxy to all backends](https://www.ruby-forum.com/t/proxy-to-all-backends/176558)

<div class="topic-metadata">

**Author:** [@jkolen](https://www.ruby-forum.com/u/jkolen)\
**Replies:** 3\
**Last updated:** [October 2, 2009, 11:53pm UTC](https://www.ruby-forum.com/t/proxy-to-all-backends/176558 "2009-10-02T23:53:22Z")

</div>

I have a rails app sitting behind nginx and every request is going to both of the mongrel instances. Pages are getting through. However, there are a few db intensive tasks that I don’t want run two instances of. I’ve …

---

## [\[ANN\] Initial release of the desc\_method gem--a "run time RI for methods"](https://www.ruby-forum.com/t/ann-initial-release-of-the-desc-method-gem-a-run-time-ri-for-methods/173956)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [August 18, 2009, 6:58pm UTC](https://www.ruby-forum.com/t/ann-initial-release-of-the-desc-method-gem-a-run-time-ri-for-methods/173956 "2009-08-18T18:58:37Z")

</div>

I am pleased to announce the release of desc\_method. A “run time RI for methods”, this gem allows you to query for information about objects’ methods within irb or a ruby-debug prompt. It reveals everything known abou…

---

## [Can't get value params\[:model\] first request?](https://www.ruby-forum.com/t/cant-get-value-params-model-first-request/172364)

<div class="topic-metadata">

**Author:** [@samnang](https://www.ruby-forum.com/u/samnang)\
**Replies:** 0\
**Last updated:** [July 20, 2009, 9:47am UTC](https://www.ruby-forum.com/t/cant-get-value-params-model-first-request/172364 "2009-07-20T09:47:19Z")

</div>

I get nil from params\[:model\] in create action of my controller for the first request when I start my mongrel server by using mongrel\_rails start. After that for second and third time are ok. In addition, if I start m…

---

## [Excel con win32ole](https://www.ruby-forum.com/t/excel-con-win32ole/155741)

<div class="topic-metadata">

**Author:** [@er3c](https://www.ruby-forum.com/u/er3c)\
**Replies:** 3\
**Last updated:** [December 17, 2008, 8:55am UTC](https://www.ruby-forum.com/t/excel-con-win32ole/155741 "2008-12-17T08:55:05Z")

</div>

Hola estoy intentando hacer un reporte en excel desde ruby y no se como hacerle para cambiar la orientacion de la pagina y para autoajustar el texto al tamaÃ±o de la celda como le puedo hacer ?

---

## [Parsing xml (xmpp) with ruby](https://www.ruby-forum.com/t/parsing-xml-xmpp-with-ruby/149671)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 3\
**Last updated:** [September 28, 2008, 1:12am UTC](https://www.ruby-forum.com/t/parsing-xml-xmpp-with-ruby/149671 "2008-09-28T01:12:16Z")

</div>

Hello World, I am writing an XMPP (Jabber) server in Ruby. XMPP uses XML for its protocol. This means I have to do a good deal of XML parsing, in Ruby. Right now I am using REXML to parse the individual stanzas as the…

---

## [Why is this cause an infinite loop?](https://www.ruby-forum.com/t/why-is-this-cause-an-infinite-loop/143352)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 3\
**Last updated:** [July 17, 2008, 7:36pm UTC](https://www.ruby-forum.com/t/why-is-this-cause-an-infinite-loop/143352 "2008-07-17T19:36:40Z")

</div>

Why is this cause an infinite loop? class X def m; “m”; end end class Y \< X def self.method\_added(sym) alias\_method("\_\_#{sym}", sym) remove\_method(sym) end end class Y def m; m; end end Y.new.\_\_m T.

---

## [ActiveRecord adapter](https://www.ruby-forum.com/t/activerecord-adapter/143131)

<div class="topic-metadata">

**Author:** [@Jay\_McGaffigan](https://www.ruby-forum.com/u/Jay_McGaffigan)\
**Replies:** 3\
**Last updated:** [July 15, 2008, 3:39pm UTC](https://www.ruby-forum.com/t/activerecord-adapter/143131 "2008-07-15T15:39:30Z")

</div>

Sorry for the last post… send got hit indavertently (darn web based mail client) As I said I am trying to use the active record jdbc adapter. When I install and run the activerecord-jdbcmysql-adapter i get: WARNING: …

---

## [Using Javascript variables](https://www.ruby-forum.com/t/using-javascript-variables/139507)

<div class="topic-metadata">

**Author:** [@sachin](https://www.ruby-forum.com/u/sachin)\
**Replies:** 3\
**Last updated:** [June 5, 2008, 11:21am UTC](https://www.ruby-forum.com/t/using-javascript-variables/139507 "2008-06-05T11:21:49Z")

</div>

How one can use a JS variable in the ruby code?

---

## [Problem deploying on Site5](https://www.ruby-forum.com/t/problem-deploying-on-site5/139194)

<div class="topic-metadata">

**Author:** [@naevity](https://www.ruby-forum.com/u/naevity)\
**Replies:** 3\
**Last updated:** [June 2, 2008, 4:21pm UTC](https://www.ruby-forum.com/t/problem-deploying-on-site5/139194 "2008-06-02T16:21:39Z")

</div>

I’m finally ready to deploy my site, and I’m having some problems. I’ve been able to upload the application and SSH in to run the commands to put it into production mode, but when I try to run the rake db:migrate comm…

---

## [Fresh rspec on rails install blows up](https://www.ruby-forum.com/t/fresh-rspec-on-rails-install-blows-up/122782)

<div class="topic-metadata">

**Author:** [@Keith\_McDonnell](https://www.ruby-forum.com/u/Keith_McDonnell)\
**Replies:** 3\
**Last updated:** [December 12, 2007, 12:57pm UTC](https://www.ruby-forum.com/t/fresh-rspec-on-rails-install-blows-up/122782 "2007-12-12T12:57:46Z")

</div>

Hi there, I installed the rspec on rails plugin for a new project today and guess what – it blows up! All by other rspec on rails projects are working fine. I updated all gems & still no joy. Any ideas how I can trou…

---

## [So how do I work authentication into an API?](https://www.ruby-forum.com/t/so-how-do-i-work-authentication-into-an-api/82539)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:46pm UTC](https://www.ruby-forum.com/t/so-how-do-i-work-authentication-into-an-api/82539 "2007-09-25T22:46:45Z")

</div>

We’ve built a RESTful API that’s really easy to use. The question now is how do I build in authentication? My app itself has uses acts\_as\_authenticated to manage authentication when someone is using the app. But wh…

---

## [Tx\_empty in fpga](https://www.ruby-forum.com/t/tx-empty-in-fpga/82511)

<div class="topic-metadata">

**Author:** [@Loconut](https://www.ruby-forum.com/u/Loconut)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:30pm UTC](https://www.ruby-forum.com/t/tx-empty-in-fpga/82511 "2007-09-25T22:30:19Z")

</div>

(originally posted on nabble without subscribing- previously was subscribed as removed\_email\_address@domain.invalid) Trying to fix the problem of the transmitter repeating the last sample when the fifo empties for d…

---

## [How to select rows between two dates?](https://www.ruby-forum.com/t/how-to-select-rows-between-two-dates/113950)

<div class="topic-metadata">

**Author:** [@Kim\_G](https://www.ruby-forum.com/u/Kim_G)\
**Replies:** 3\
**Last updated:** [September 7, 2007, 12:15am UTC](https://www.ruby-forum.com/t/how-to-select-rows-between-two-dates/113950 "2007-09-07T00:15:30Z")

</div>

Hi. I have a table with two fields, from\_date and to\_date. Now I want to do something like this: SELECT \* FROM table WHERE from\_date \< TODAY AND to\_date \> today; I’m new to Ruby on Rails, so any help is much apprecia…

---

## [I18n nombre de acciones en controladores](https://www.ruby-forum.com/t/i18n-nombre-de-acciones-en-controladores/113262)

<div class="topic-metadata">

**Author:** [@Serabe](https://www.ruby-forum.com/u/Serabe)\
**Replies:** 3\
**Last updated:** [August 29, 2007, 4:18pm UTC](https://www.ruby-forum.com/t/i18n-nombre-de-acciones-en-controladores/113262 "2007-08-29T16:18:51Z")

</div>

Hola a todos: Quisiera tener traducidos los nombres de los controladores y de sus acciones. Se me había ocurrido tener una acción protegida en el que se tradujesen dichas frases, pero me preguntaba si gettext trae alg…

---

## [Integrate Click Router and GnuRadio](https://www.ruby-forum.com/t/integrate-click-router-and-gnuradio/112576)

<div class="topic-metadata">

**Author:** [@LiS\_W\_David](https://www.ruby-forum.com/u/LiS_W_David)\
**Replies:** 3\
**Last updated:** [August 21, 2007, 4:31am UTC](https://www.ruby-forum.com/t/integrate-click-router-and-gnuradio/112576 "2007-08-21T04:31:59Z")

</div>

Hello, Has anyone done this integration before? My first question is both Click and GnuRadio are in C++ so it would not be hard (in theory) to do so. But I haven’t seen an example of calling GnuRadio APIs in C++. All …

---

## [Edit method: Populating select box values](https://www.ruby-forum.com/t/edit-method-populating-select-box-values/105657)

<div class="topic-metadata">

**Author:** [@reback](https://www.ruby-forum.com/u/reback)\
**Replies:** 3\
**Last updated:** [June 1, 2007, 9:07pm UTC](https://www.ruby-forum.com/t/edit-method-populating-select-box-values/105657 "2007-06-01T21:07:31Z")

</div>

I have an employees table that contains fields that are boolean to control information formatting. The ‘new’ method sets the value of the select box to the default value contained in the table. During the ‘edit’ met…

---

## [Any similar to mysql\_insert\_id (PHP) in RoR](https://www.ruby-forum.com/t/any-similar-to-mysql-insert-id-php-in-ror/91987)

<div class="topic-metadata">

**Author:** [@wynners33](https://www.ruby-forum.com/u/wynners33)\
**Replies:** 3\
**Last updated:** [April 14, 2007, 9:01pm UTC](https://www.ruby-forum.com/t/any-similar-to-mysql-insert-id-php-in-ror/91987 "2007-04-14T21:01:50Z")

</div>

I used a PHP function mysql\_insert\_id to get the ID generated from the previous INSERT operation. I wonder if there is something similar that I can use in Ruby/Rails? Thanks in advance!

---

## [Error installing ROR on Ubuntu](https://www.ruby-forum.com/t/error-installing-ror-on-ubuntu/85470)

<div class="topic-metadata">

**Author:** [@Felipe\_SodrSSSS\_Sil](https://www.ruby-forum.com/u/Felipe_SodrSSSS_Sil)\
**Replies:** 3\
**Last updated:** [February 19, 2007, 7:12pm UTC](https://www.ruby-forum.com/t/error-installing-ror-on-ubuntu/85470 "2007-02-19T19:12:32Z")

</div>

Hi, I’m trying to install Ruby On Rails on Ubuntu 6.06, running on a AMD Turion64. I installed the ruby interpreter, RubyGems and wrote: \*gem install rails --include-dependencies \*but I’m receiving the following erro…

---

## [Always eager load](https://www.ruby-forum.com/t/always-eager-load/85908)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [February 18, 2007, 5:49am UTC](https://www.ruby-forum.com/t/always-eager-load/85908 "2007-02-18T05:49:58Z")

</div>

Is it possible to make a model always eager load an association, without explicitly specifying it every time? For example: class Article \< AR::Base has\_one :author end I’m always going to need the Author for the Art…

---

## [Freeride under windows (totally newbie question)](https://www.ruby-forum.com/t/freeride-under-windows-totally-newbie-question/85671)

<div class="topic-metadata">

**Author:** [@scoundrel](https://www.ruby-forum.com/u/scoundrel)\
**Replies:** 3\
**Last updated:** [February 15, 2007, 6:48pm UTC](https://www.ruby-forum.com/t/freeride-under-windows-totally-newbie-question/85671 "2007-02-15T18:48:44Z")

</div>

Hi All, I’ve downloaded Ruby O.-Click installer (ruby185-21.exe), and tried to run freeride IDE. As the result I’ve got a console window with infinite stream of error messages like this: – Failing to load: rubyide\_…

---

## [A waste of rhtml](https://www.ruby-forum.com/t/a-waste-of-rhtml/85591)

<div class="topic-metadata">

**Author:** [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Replies:** 3\
**Last updated:** [February 14, 2007, 11:44pm UTC](https://www.ruby-forum.com/t/a-waste-of-rhtml/85591 "2007-02-14T23:44:06Z")

</div>

Hi. with an RJS, if you have just a one liner, instead of making an rjs page for it, you’d do render :update do |page|… but what about rhtml pages? I just have a dinky \<%= render :partial =\> %\> in there…

---

## [Form\_remote\_tag display: inline](https://www.ruby-forum.com/t/form-remote-tag-display-inline/84168)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [February 2, 2007, 12:42am UTC](https://www.ruby-forum.com/t/form-remote-tag-display-inline/84168 "2007-02-02T00:42:34Z")

</div>

is there a way to have multiple buttons using the form\_remote\_tag to appear in line with one another? I’m trying to add Ajax to an application where I have three buttons in a span, when I changed them from button\_to t…

---

## [Adding "extended" content to existing page?](https://www.ruby-forum.com/t/adding-extended-content-to-existing-page/75678)

<div class="topic-metadata">

**Author:** [@Brian\_Capouch](https://www.ruby-forum.com/u/Brian_Capouch)\
**Replies:** 3\
**Last updated:** [November 13, 2006, 6:21pm UTC](https://www.ruby-forum.com/t/adding-extended-content-to-existing-page/75678 "2006-11-13T18:21:36Z")

</div>

Newb here. Doing my best. I’ve spent many hours trying to figure this one out, so far w/o success. Is there any way to “extend” an article once it’s written. By that, I mean to show only the first part of it and let…

---

## [Slow ActiveRecord - MySQL](https://www.ruby-forum.com/t/slow-activerecord-mysql/75441)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [November 10, 2006, 5:16pm UTC](https://www.ruby-forum.com/t/slow-activerecord-mysql/75441 "2006-11-10T17:16:49Z")

</div>

I use find\_by\_sql to execute a query which takes around 120 seconds to execute in Ruby. When I execute the same request using SQLyog (GUI), the requests takes around 15 seconds to execute. Here’s roughly what the quer…

---

## [Error/exception documentation](https://www.ruby-forum.com/t/error-exception-documentation/69921)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 3\
**Last updated:** [September 25, 2006, 6:41pm UTC](https://www.ruby-forum.com/t/error-exception-documentation/69921 "2006-09-25T18:41:17Z")

</div>

hi! browsing through the ruby documentation(http://www.ruby-doc.org/core/), i noticed that there was no info on which errors might be thrown by a method. since error/exception handling is necessary for coding robust …

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

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