# Top

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

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

---

## [Rails/Ruby OR](https://www.ruby-forum.com/t/rails-ruby-or/93293)

<div class="topic-metadata">

**Author:** [@nmealey](https://www.ruby-forum.com/u/nmealey)\
**Replies:** 8\
**Last updated:** [November 21, 2005, 10:51pm UTC](https://www.ruby-forum.com/t/rails-ruby-or/93293 "2005-11-21T22:51:32Z")

</div>

I seem to be having trouble using a conditional OR statement in my code. Hopefully someone can point out my error. In one of my controllers I have the following statement: if @thisVar == (0||1||6) dosomething end B…

---

## [Understanding the code functionality](https://www.ruby-forum.com/t/understanding-the-code-functionality/252748)

<div class="topic-metadata">

**Author:** [@Prof](https://www.ruby-forum.com/u/Prof)\
**Replies:** 3\
**Last updated:** [July 23, 2019, 5:39am UTC](https://www.ruby-forum.com/t/understanding-the-code-functionality/252748 "2019-07-23T05:39:21Z")

</div>

Hello everyone! I’m new to Ruby and I’m trying to understand a program one of my colleagues has written. To be more precise, I stumbled upon this: failed\_hosts.reject!{ |h| ca\_hosts\_down.any? { |c| (c\[:host\] == h\[:host…

---

## [Build from source pointing to installed libs (e.g. pcre)](https://www.ruby-forum.com/t/build-from-source-pointing-to-installed-libs-e-g-pcre/227209)

<div class="topic-metadata">

**Author:** [@anthony\_kerz](https://www.ruby-forum.com/u/anthony_kerz)\
**Replies:** 3\
**Last updated:** [March 7, 2013, 4:14pm UTC](https://www.ruby-forum.com/t/build-from-source-pointing-to-installed-libs-e-g-pcre/227209 "2013-03-07T16:14:34Z")

</div>

hi, i’m trying to build from source on an ubuntu system which has libpcre3 installed: tony@quantal:~/Downloads/nginx-1.3.14$ dpkg -l | grep pcre ii libpcre3:i386 1:8.30-5ubuntu1 i386 Perl 5 Compatible Regular Expres…

---

## [RubyInstaller 1.9.3-p392 released](https://www.ruby-forum.com/t/rubyinstaller-1-9-3-p392-released/226848)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 24, 2013, 7:05am UTC](https://www.ruby-forum.com/t/rubyinstaller-1-9-3-p392-released/226848 "2013-02-24T07:05:15Z")

</div>

In combination with the rest of the RubyInstaller team, I’m very pleased to announce the release of RubyInstaller packages for Ruby 1.9.3-p392 Upgrade to this version is extremely recommended as contains security fix…

---

## [Request for comments: Scenario](https://www.ruby-forum.com/t/request-for-comments-scenario/207874)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 5, 2011, 9:39pm UTC](https://www.ruby-forum.com/t/request-for-comments-scenario/207874 "2011-06-05T21:39:57Z")

</div>

I created a gem a few weeks ago that I think the RSpec community might be interested in: GitHub - tysonmote/scenario: Basic spec scenarios for RSpec. (dormant) (and that I’d love to get feedback on). It supports RSpe…

---

## [Flash CSS styling](https://www.ruby-forum.com/t/flash-css-styling/103731)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [May 9, 2007, 8:00pm UTC](https://www.ruby-forum.com/t/flash-css-styling/103731 "2007-05-09T20:00:08Z")

</div>

I realize this is a CSS question, and not a rails question, so forgive the off-topicness, but I thought rails users might have some experience with this… In my app I typically set one of two flash messages to inform u…

---

## [Engines 1.2 experimental branch is now the release branch](https://www.ruby-forum.com/t/engines-1-2-experimental-branch-is-now-the-release-branch/81074)

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 3\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/engines-1-2-experimental-branch-is-now-the-release-branch/81074 "2007-01-06T19:30:47Z")

</div>

… which means things are going to break if your running the Rails 1.2 release candidate. You can find the new 1.2 release branch here: http://svn.rails-engines.org/engines/branches/rb\_1.2 If you must maintain compatib…

---

## [Can somebody help me to rewrite this?](https://www.ruby-forum.com/t/can-somebody-help-me-to-rewrite-this/242061)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [May 25, 2015, 7:43pm UTC](https://www.ruby-forum.com/t/can-somebody-help-me-to-rewrite-this/242061 "2015-05-25T19:43:54Z")

</div>

Hi guys, i really need some help here. I plan to move my forum from the root domain to a subfolder named “/forum” I need to rewrite from: www.mywebsite.com/showthread.php?t=123456 To www.mywebsite.com/forum/showthr…

---

## [Goes lrit?](https://www.ruby-forum.com/t/goes-lrit/246493)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [October 25, 2013, 2:27pm UTC](https://www.ruby-forum.com/t/goes-lrit/246493 "2013-10-25T14:27:30Z")

</div>

Hello, Is there any GOES LRIT decoder available under Linux and GNU Radio with support for USRP or RTL-SDR. In case there is only USRP compatibility, perhaps with the GRC file freely available it can be attempted to b…

---

## [Possible to have a limit\_req "nodelay burst" option?](https://www.ruby-forum.com/t/possible-to-have-a-limit-req-nodelay-burst-option/228264)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 6\
**Last updated:** [July 4, 2013, 6:04pm UTC](https://www.ruby-forum.com/t/possible-to-have-a-limit-req-nodelay-burst-option/228264 "2013-07-04T18:04:49Z")

</div>

Hello, I’m using the limit\_req directive to control the rate at which my backends are hit with requests. Typically a backend will generate a page and the client will not request anything for a short while, so a rate …

---

## [Dealing with buffered data with upstream generated response](https://www.ruby-forum.com/t/dealing-with-buffered-data-with-upstream-generated-response/214321)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [December 2, 2011, 5:13pm UTC](https://www.ruby-forum.com/t/dealing-with-buffered-data-with-upstream-generated-response/214321 "2011-12-02T17:13:14Z")

</div>

I am developing a body filter which transforms outgoing stream. As part of the function, the incoming stream is copied in new buffer and sent. This in some cases results in a condition where my filter has busy buffers…

---

## [E100 - dial\_tone.py error](https://www.ruby-forum.com/t/e100-dial-tone-py-error/204256)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [March 9, 2011, 9:28am UTC](https://www.ruby-forum.com/t/e100-dial-tone-py-error/204256 "2011-03-09T09:28:34Z")

</div>

Hi, I am new to using GNUradio and the USRP hardware.I installed GNUradio, GRC and UHD on the E100. I have run the examples for the UHD and it is working without any problem. From the GNUradio examples, When I tried …

---

## [Problems running rake test (possibly gem/debian issues)](https://www.ruby-forum.com/t/problems-running-rake-test-possibly-gem-debian-issues/171705)

<div class="topic-metadata">

**Author:** [@ksader](https://www.ruby-forum.com/u/ksader)\
**Replies:** 6\
**Last updated:** [July 9, 2009, 1:35am UTC](https://www.ruby-forum.com/t/problems-running-rake-test-possibly-gem-debian-issues/171705 "2009-07-09T01:35:29Z")

</div>

Hi, I seem to have a constant battle going on my machine about gems. The latest problem is when i attempt to run “rake test” on my rails project, here is the output: ~/code/tradertips(with\_clearance) $ rake test (in…

---

## [Form\_for con :onsubmit](https://www.ruby-forum.com/t/form-for-con-onsubmit/158953)

<div class="topic-metadata">

**Author:** [@maite](https://www.ruby-forum.com/u/maite)\
**Replies:** 6\
**Last updated:** [February 1, 2009, 2:59pm UTC](https://www.ruby-forum.com/t/form-for-con-onsubmit/158953 "2009-02-01T14:59:45Z")

</div>

hola lista tengo el siguiente problema tengo esto en mi vista \_antiguos.html.erb \<% javascript\_tag do %\> function closeKeepAlive(){ alert(‘aqui’); } \<% end %\> y un formulario donde tengo \<% form\_for :accion, :url…

---

## [Error Posting from Weblog Client Software](https://www.ruby-forum.com/t/error-posting-from-weblog-client-software/111941)

<div class="topic-metadata">

**Author:** [@mhinton](https://www.ruby-forum.com/u/mhinton)\
**Replies:** 6\
**Last updated:** [August 14, 2007, 10:50pm UTC](https://www.ruby-forum.com/t/error-posting-from-weblog-client-software/111941 "2007-08-14T22:50:07Z")

</div>

I am running Typo 4.1.1 and I cannot seem to post to my weblog from client software. I am stuck on Windows at work and I have tried using Scribefire in Firefox and Windows Live Writer. They both setup fine and get …

---

## [Sidebars](https://www.ruby-forum.com/t/sidebars/84247)

<div class="topic-metadata">

**Author:** [@Piers\_C](https://www.ruby-forum.com/u/Piers_C)\
**Replies:** 6\
**Last updated:** [March 21, 2006, 9:54pm UTC](https://www.ruby-forum.com/t/sidebars/84247 "2006-03-21T21:54:50Z")

</div>

I love sidebars, sidebars are cool. I’m less enamoured of our current implementation of 'em, because they’re components and components are slow and a pain in the bum to test. With that in mind I’ve been playing with …

---

## [Regexp ambiguity/error](https://www.ruby-forum.com/t/regexp-ambiguity-error/198853)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [November 9, 2010, 11:21am UTC](https://www.ruby-forum.com/t/regexp-ambiguity-error/198853 "2010-11-09T11:21:23Z")

</div>

Hello, This is definitely an edge case, but an interesting one. Suppose we have a configuration string like “mux:off mix:on” and we want to match the “mix:on” (actually either) part passively (i.e. not captured). “…

---

## [Mailman web interface on nginx](https://www.ruby-forum.com/t/mailman-web-interface-on-nginx/133687)

<div class="topic-metadata">

**Author:** [@Renaud\_Allard](https://www.ruby-forum.com/u/Renaud_Allard)\
**Replies:** 1\
**Last updated:** [April 2, 2008, 4:54pm UTC](https://www.ruby-forum.com/t/mailman-web-interface-on-nginx/133687 "2008-04-02T16:54:07Z")

</div>

Hello, Does someone run mailman web interface under nginx? Of course, without using another web server such as thttpd. The biggest problem seems to be mailman urls are of the type: http://mailman.example.com/admin/my…

---

## [Double quotes embedded in a string](https://www.ruby-forum.com/t/double-quotes-embedded-in-a-string/100380)

<div class="topic-metadata">

**Author:** [@dale](https://www.ruby-forum.com/u/dale)\
**Replies:** 1\
**Last updated:** [July 28, 2006, 6:10pm UTC](https://www.ruby-forum.com/t/double-quotes-embedded-in-a-string/100380 "2006-07-28T18:10:45Z")

</div>

Here is something that I am struggling with – I would like to execute a command string with an IO.popen call that contains embedded double quote characters. When I build the initial command string everything seems to …

---

## [Blocks.complex\_to\_arg() implementation](https://www.ruby-forum.com/t/blocks-complex-to-arg-implementation/231529)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [August 14, 2014, 5:32pm UTC](https://www.ruby-forum.com/t/blocks-complex-to-arg-implementation/231529 "2014-08-14T17:32:45Z")

</div>

Hello, I haven’t checked if it is true for the code currently in git (some network problems here, I cannot access the repository), but in GNURadio 3.7.2 the complex\_to\_arg() block is implemented with an atan2() functi…

---

## [Date e valuta in italiano](https://www.ruby-forum.com/t/date-e-valuta-in-italiano/219251)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 5\
**Last updated:** [April 26, 2012, 9:58am UTC](https://www.ruby-forum.com/t/date-e-valuta-in-italiano/219251 "2012-04-26T09:58:17Z")

</div>

Ho un form con campi per l’inserimento di date e valori rappresentanti euro. L’inserimento delle date lo faccio in un campo di tipo string e utilizzo jquery-ui, mi visualizza il calendario attraverso il quale l’utent…

---

## [Tx path segfaults on ucla zigbee\_phy](https://www.ruby-forum.com/t/tx-path-segfaults-on-ucla-zigbee-phy/207919)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [July 22, 2011, 4:46am UTC](https://www.ruby-forum.com/t/tx-path-segfaults-on-ucla-zigbee-phy/207919 "2011-07-22T04:46:13Z")

</div>

Hi! I checked out various branches on the UCLA Zigbee stack, that is on cgran: https://www.cgran.org/wiki/UCLAZigBee Actually I have some success using it as a sniffer with a USRP1. But using this implementation wit…

---

## [Conditional cache](https://www.ruby-forum.com/t/conditional-cache/194268)

<div class="topic-metadata">

**Author:** [@paul2791](https://www.ruby-forum.com/u/paul2791)\
**Replies:** 5\
**Last updated:** [September 3, 2010, 12:31pm UTC](https://www.ruby-forum.com/t/conditional-cache/194268 "2010-09-03T12:31:35Z")

</div>

I’ve been trying to set up two separate proxy caches, one for logged in users, one for guests. The one for guests had a very long expiry as guest pages don’t change much, User pages are very dynamic and expiry is very…

---

## [Where to put macros](https://www.ruby-forum.com/t/where-to-put-macros/170777)

<div class="topic-metadata">

**Author:** [@diabolist](https://www.ruby-forum.com/u/diabolist)\
**Replies:** 5\
**Last updated:** [June 22, 2009, 7:57pm UTC](https://www.ruby-forum.com/t/where-to-put-macros/170777 "2009-06-22T19:57:36Z")

</div>

Recently I got some wonderful help from the list to create my NamedAddress module/macro which tests NamedAddresses for a number of different resources. The question I have is where should I put this module? At the mo…

---

## [Problema con un formulario REST](https://www.ruby-forum.com/t/problema-con-un-formulario-rest/167624)

<div class="topic-metadata">

**Author:** [@farebalk](https://www.ruby-forum.com/u/farebalk)\
**Replies:** 5\
**Last updated:** [May 10, 2009, 5:21pm UTC](https://www.ruby-forum.com/t/problema-con-un-formulario-rest/167624 "2009-05-10T17:21:25Z")

</div>

Hola amigos, He hecho ya unos cuantos tutos obre REST, me lo he empollado a fondo y en mi aplición ya lo vengo utilizando sin problemas (me refiero a algun recurso anidado sobre todo, ya que los demás no tienen mucho …

---

## [Webrick mount app](https://www.ruby-forum.com/t/webrick-mount-app/148003)

<div class="topic-metadata">

**Author:** [@samrus](https://www.ruby-forum.com/u/samrus)\
**Replies:** 5\
**Last updated:** [September 22, 2008, 2:05am UTC](https://www.ruby-forum.com/t/webrick-mount-app/148003 "2008-09-22T02:05:00Z")

</div>

Hi All, I am currently developing against webrick and as such my application appears under http://localhost:3000/ but in my continuous integration environment (jruby war deployed to tomcat) the application appears un…

---

## [Changing default behavior of fieldWithErrors](https://www.ruby-forum.com/t/changing-default-behavior-of-fieldwitherrors/54149)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 5\
**Last updated:** [December 13, 2006, 8:16pm UTC](https://www.ruby-forum.com/t/changing-default-behavior-of-fieldwitherrors/54149 "2006-12-13T20:16:24Z")

</div>

Hi! The topic can be a bit misleading, because it may suggest that i want to change css style. What i’d like to change is that normally, when there’s an error, rails creates a div element with the fieldWithErrors cla…

---

## [Form\_tag + fields\_for Rails 4](https://www.ruby-forum.com/t/form-tag-fields-for-rails-4/237999)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 12, 2013, 3:51pm UTC](https://www.ruby-forum.com/t/form-tag-fields-for-rails-4/237999 "2013-12-12T15:51:11Z")

</div>

Hi There, I’m trying to user fields\_for inside a form\_tag, but i can’t catch it on my controller. I just take some html code off to makes it easy to read my view… i’m using campuses\_path(current\_church, @campus) in…

---

## [Unable to use Range method for excel](https://www.ruby-forum.com/t/unable-to-use-range-method-for-excel/221454)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 17, 2012, 3:06am UTC](https://www.ruby-forum.com/t/unable-to-use-range-method-for-excel/221454 "2012-07-17T03:06:09Z")

</div>

Hi, Why the Range function (excel)inside my def is not recognize? Below is my code: class XLS @@excel = WIN32OLE::new(“excel.Application”) @@workbook = @@excel.Workbooks.Open(“D:\\TestData.xlsx”) @@worksheet = @@wor…

---

## [Gauging interest for an SDR PA](https://www.ruby-forum.com/t/gauging-interest-for-an-sdr-pa/237737)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [November 28, 2013, 4:00pm UTC](https://www.ruby-forum.com/t/gauging-interest-for-an-sdr-pa/237737 "2013-11-28T16:00:23Z")

</div>

Given the availability of SDR hardware (USRPs, BladeRF, HackRF, etc) covering VHF through S/C bands, is there any interest in a wide band power amp to complement this hardware? GaN seems to be ubiquitous now, and the…

---

## [Routing Error with Passenger for Images and stylesheets](https://www.ruby-forum.com/t/routing-error-with-passenger-for-images-and-stylesheets/169169)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 4\
**Last updated:** [June 1, 2009, 2:50pm UTC](https://www.ruby-forum.com/t/routing-error-with-passenger-for-images-and-stylesheets/169169 "2009-06-01T14:50:21Z")

</div>

Hi, I updated my server with the latest Rails (2.3.2) and Passenger (2.2.2). I also updated my Rails app to run under 2.3.2. It runs fine locally under Mongrel. The app is deployed into my own home directory under: (…

---

## [RoR on Bluehost](https://www.ruby-forum.com/t/ror-on-bluehost/162486)

<div class="topic-metadata">

**Author:** [@prichard](https://www.ruby-forum.com/u/prichard)\
**Replies:** 4\
**Last updated:** [March 11, 2009, 5:59am UTC](https://www.ruby-forum.com/t/ror-on-bluehost/162486 "2009-03-11T05:59:09Z")

</div>

Hi all. I’m having problems getting a RoR app to run on bluehost. Here’s the rundown. First I’m frustrated because I have two accounts, I’ve gotten an app to run on one account, and I can’t get one running on the othe…

---

## [Limitierung von textarea feldern](https://www.ruby-forum.com/t/limitierung-von-textarea-feldern/162226)

<div class="topic-metadata">

**Author:** [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Replies:** 4\
**Last updated:** [March 7, 2009, 9:48am UTC](https://www.ruby-forum.com/t/limitierung-von-textarea-feldern/162226 "2009-03-07T09:48:05Z")

</div>

Hi RoR Kollegen, gibt es eine MÃ¶glichkeit die Scaffold-Index-Ausgabe des Ruby-Codes \<%=h user.kommentar %\> auf eine Zeichenanzahl z.B. 20 zu begrenzen/abzuschneiden? Habe :size =\> 20 usw. getestet aber es funktionier…

---

## [How to connect and retrieve data from a MS SQL SERVER 2000 d](https://www.ruby-forum.com/t/how-to-connect-and-retrieve-data-from-a-ms-sql-server-2000-d/92340)

<div class="topic-metadata">

**Author:** [@jeremy](https://www.ruby-forum.com/u/jeremy)\
**Replies:** 4\
**Last updated:** [April 18, 2007, 4:53pm UTC](https://www.ruby-forum.com/t/how-to-connect-and-retrieve-data-from-a-ms-sql-server-2000-d/92340 "2007-04-18T16:53:53Z")

</div>

Good eveningHO HOIt’s 19:51 in China now. :slight\_smile: I’m new to Ruby on Rails. I wanna know how to connect to a MS SQL SERVER 2000 database. Can I use a T-SQL query in Ruby on Rails directly? If I can do it direct…

---

## [Model class conditional on ENV\["RAILS\_ENV"\] == "test"](https://www.ruby-forum.com/t/model-class-conditional-on-env-rails-env-test/94879)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 4\
**Last updated:** [May 17, 2006, 4:16pm UTC](https://www.ruby-forum.com/t/model-class-conditional-on-env-rails-env-test/94879 "2006-05-17T16:16:37Z")

</div>

I am trying to setup a model class that I want to inherit from ActveRecord when in the test mode, and not inherit when in production and/or development mode. The reason for this is so that I can use fixtures to test t…

---

## [Proper setup for forward secrecy](https://www.ruby-forum.com/t/proper-setup-for-forward-secrecy/222040)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [March 25, 2015, 10:26pm UTC](https://www.ruby-forum.com/t/proper-setup-for-forward-secrecy/222040 "2015-03-25T22:26:48Z")

</div>

Hello, I was reading an article written by Adam Langley and he says: "You also need to be aware of Session Tickets in order to implement forward secrecy correctly. There are two ways to resume a TLS connection: eithe…

---

## [How to create a new QT GUI SINK](https://www.ruby-forum.com/t/how-to-create-a-new-qt-gui-sink/227234)

<div class="topic-metadata">

**Author:** [@aarosoft](https://www.ruby-forum.com/u/aarosoft)\
**Replies:** 1\
**Last updated:** [March 8, 2013, 7:54am UTC](https://www.ruby-forum.com/t/how-to-create-a-new-qt-gui-sink/227234 "2013-03-08T07:54:22Z")

</div>

Hi all, I need to create a new QT GUI SINK with aditional buttons, i found the blocks structure in the repository ( http://gnuradio.org/redmine/projects/gnuradio/repository/revisions/master/show/gr-qtgui), but i don’…

---

## [Supporting multiple versions of an API](https://www.ruby-forum.com/t/supporting-multiple-versions-of-an-api/221783)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [August 2, 2012, 10:03pm UTC](https://www.ruby-forum.com/t/supporting-multiple-versions-of-an-api/221783 "2012-08-02T22:03:04Z")

</div>

Any recommendations on the management of API versions. I have a case in which it is important that my library support all versions. For example, currently I am basically doing: module MyLib module V0 module Main … …

---

## [Gnuradio on E100](https://www.ruby-forum.com/t/gnuradio-on-e100/216499)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [February 7, 2012, 2:13pm UTC](https://www.ruby-forum.com/t/gnuradio-on-e100/216499 "2012-02-07T14:13:55Z")

</div>

hi ,all I am building gnuradio on E100 from source ,but is keep failing at the ./bootstrap Knowing it worked before here is the error any help is appreciated ----------------------------------------- error --------…

---

## [StringIO#{readlines(0), each\_line(0)}が無限ループする](https://www.ruby-forum.com/t/stringio-readlines-0-each-line-0/205544)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [April 9, 2011, 5:15pm UTC](https://www.ruby-forum.com/t/stringio-readlines-0-each-line-0/205544 "2011-04-09T17:15:37Z")

</div>

$B%a!\<%k$N%?%$%H%kDL$j$J$N$G$9$,!"(B StringIO#{readlines, each\_line} $B$N(B limit $B0z?t$K(B 0 $B$rEO$9$H(B $BL58B%k!\<%W$,H/@8$7$^$9!#(B $B8=\>\]$O(B ruby1.9.2-p180 $B$\*$h$S(B trunk head $B$G3NG’$7$F$$$^$9!#(B $ ruby -…

---

## [Buiding anamgrams](https://www.ruby-forum.com/t/buiding-anamgrams/156382)

<div class="topic-metadata">

**Author:** [@andrea](https://www.ruby-forum.com/u/andrea)\
**Replies:** 7\
**Last updated:** [January 2, 2009, 9:15am UTC](https://www.ruby-forum.com/t/buiding-anamgrams/156382 "2009-01-02T09:15:32Z")

</div>

I’m studying ruby (and I really love it even more than python) and I want to do a little exercise. I want to create an efficient module to generate every possible anagrams of a word, of any given size… I already done…

---

## [A smarter autospec?](https://www.ruby-forum.com/t/a-smarter-autospec/152911)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 7\
**Last updated:** [November 9, 2008, 9:09pm UTC](https://www.ruby-forum.com/t/a-smarter-autospec/152911 "2008-11-09T21:09:40Z")

</div>

Let’s say I change a method in one of my models in a Rails app. I hit save: autospec kicks in and starts specing. But I haven’t yet edited my spec(s) to the new method name so the specs will obviously fail, but I alre…

---

## [Can I use standard Rails plugin?](https://www.ruby-forum.com/t/can-i-use-standard-rails-plugin/119358)

<div class="topic-metadata">

**Author:** [@sgabello](https://www.ruby-forum.com/u/sgabello)\
**Replies:** 7\
**Last updated:** [November 7, 2007, 11:27pm UTC](https://www.ruby-forum.com/t/can-i-use-standard-rails-plugin/119358 "2007-11-07T23:27:37Z")

</div>

Hi all, I noticed that my sites losts a lot of time loading js e css file. I searched for a solution and I found this great rails plugin: http://www.artweb-design.de/2007/4/13/rails-plugin-blazing-fast-page-loads-thro…

---

## [Redirect on AJAX request](https://www.ruby-forum.com/t/redirect-on-ajax-request/116344)

<div class="topic-metadata">

**Author:** [@shishir\_s](https://www.ruby-forum.com/u/shishir_s)\
**Replies:** 7\
**Last updated:** [October 4, 2007, 11:00pm UTC](https://www.ruby-forum.com/t/redirect-on-ajax-request/116344 "2007-10-04T23:00:07Z")

</div>

Hi, Is there a way to redirect the page through a ajax request. I tried using link\_to\_remote tag as the logout link on a page and used the ‘redirect\_to index’ in the called method. But I get the whole page in the req…

---

## [Render and routes](https://www.ruby-forum.com/t/render-and-routes/85392)

<div class="topic-metadata">

**Author:** [@dean](https://www.ruby-forum.com/u/dean)\
**Replies:** 7\
**Last updated:** [February 16, 2007, 2:08pm UTC](https://www.ruby-forum.com/t/render-and-routes/85392 "2007-02-16T14:08:41Z")

</div>

I have a common situation: a create operation fails and so I want to render the new view again for correction. Wouldn’t be too hard to render the right thing, but I need to tack an extra parameter onto the url. I ca…

---

## [When to use optimistic locking?](https://www.ruby-forum.com/t/when-to-use-optimistic-locking/60040)

<div class="topic-metadata">

**Author:** [@jtoy](https://www.ruby-forum.com/u/jtoy)\
**Replies:** 7\
**Last updated:** [May 9, 2006, 9:22pm UTC](https://www.ruby-forum.com/t/when-to-use-optimistic-locking/60040 "2006-05-09T21:22:22Z")

</div>

Hi All, I’m having some trouble deciding when and how to implement optimistic locking. Let’s say I have a multiuser Rails app, and let’s say it stores, among other things “vital” customer information. The standard m…

---

## [Python a hungrier beast than Ruby?](https://www.ruby-forum.com/t/python-a-hungrier-beast-than-ruby/54649)

<div class="topic-metadata">

**Author:** [@baalbek](https://www.ruby-forum.com/u/baalbek)\
**Replies:** 7\
**Last updated:** [March 14, 2006, 1:15am UTC](https://www.ruby-forum.com/t/python-a-hungrier-beast-than-ruby/54649 "2006-03-14T01:15:05Z")

</div>

I have tested two implementations of wxRuby/wxPython applications (stock price data displayed as a simple graph, and as candlesticks). The Python implementation only showed graphs from one company, while the Ruby impl…

---

## [Is autoload broken in 2.3?](https://www.ruby-forum.com/t/is-autoload-broken-in-2-3/243918)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [February 29, 2016, 6:17pm UTC](https://www.ruby-forum.com/t/is-autoload-broken-in-2-3/243918 "2016-02-29T18:17:35Z")

</div>

Has anyone been experiencing any issues with autoload within threads in 2.3? I have been getting some random NameErrors in situations where I should not. I have been unable to reproduce the problem or nail down spec…

---

## [A super-easy and great way to implement Gem configuration](https://www.ruby-forum.com/t/a-super-easy-and-great-way-to-implement-gem-configuration/223122)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 27, 2012, 3:28pm UTC](https://www.ruby-forum.com/t/a-super-easy-and-great-way-to-implement-gem-configuration/223122 "2012-09-27T15:28:40Z")

</div>

Just did this in my constance gem, and totally love it as a way to add configuration or options configurability to your gem: http://stufftohelpyouout.blogspot.com/2012/09/forget-struct-and-openstruct-flexible.html lik…

---

## [Nested resources vertauscht ID's](https://www.ruby-forum.com/t/nested-resources-vertauscht-ids/152299)

<div class="topic-metadata">

**Author:** [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Replies:** 3\
**Last updated:** [November 2, 2008, 8:53am UTC](https://www.ruby-forum.com/t/nested-resources-vertauscht-ids/152299 "2008-11-02T08:53:33Z")

</div>

Hallo, ich habe ein Problem mit nested resources. Ich habe in der routes.rb folgenden Eintrag: map.resources :projects do |project| project.resources :iterations do |iteration| iteration.resources :tasks end end w…

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

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