# Top

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

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

---

## [Optparse: Arguments as Arguments Unexpectedness](https://www.ruby-forum.com/t/optparse-arguments-as-arguments-unexpectedness/168404)

<div class="topic-metadata">

**Author:** [@blacknight](https://www.ruby-forum.com/u/blacknight)\
**Replies:** 2\
**Last updated:** [May 20, 2009, 2:49pm UTC](https://www.ruby-forum.com/t/optparse-arguments-as-arguments-unexpectedness/168404 "2009-05-20T14:49:52Z")

</div>

Hi, I am trying to use the standard optionparser to read in some arguments, but one of those arguments is an argument itself. Is this a bug? opt.rb: require ‘optparse’ OptionParser.new do |opts| opts.on(’-a’,’–args…

---

## [Localization expected, got HashWithIndifferentAccess](https://www.ruby-forum.com/t/localization-expected-got-hashwithindifferentaccess/166074)

<div class="topic-metadata">

**Author:** [@felipecsl](https://www.ruby-forum.com/u/felipecsl)\
**Replies:** 2\
**Last updated:** [April 22, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/localization-expected-got-hashwithindifferentaccess/166074 "2009-04-22T15:06:04Z")

</div>

Well I Have this models Localization has\_many :event Event belongs\_to :localization in the view events/new.html.erb \<% f.fields\_for :localization do |L| %\> \<%= l.text\_field :country %\> \<%= l.text\_field :state %\> \<%…

---

## [Extending GTK+ Classes in Ruby (revisited)](https://www.ruby-forum.com/t/extending-gtk-classes-in-ruby-revisited/148108)

<div class="topic-metadata">

**Author:** [@Andrew\_SSTownley](https://www.ruby-forum.com/u/Andrew_SSTownley)\
**Replies:** 2\
**Last updated:** [September 9, 2008, 4:24pm UTC](https://www.ruby-forum.com/t/extending-gtk-classes-in-ruby-revisited/148108 "2008-09-09T16:24:47Z")

</div>

Hi, I’m trying to figure out if it’s possible to create a custom cell renderer using a Ruby class. Digging through the source, I found the type\_register example, and that does allow me to provide default handlers fo…

---

## [Getting IP address using UDP Socket](https://www.ruby-forum.com/t/getting-ip-address-using-udp-socket/129311)

<div class="topic-metadata">

**Author:** [@jackster](https://www.ruby-forum.com/u/jackster)\
**Replies:** 2\
**Last updated:** [February 16, 2008, 6:45pm UTC](https://www.ruby-forum.com/t/getting-ip-address-using-udp-socket/129311 "2008-02-16T18:45:36Z")

</div>

Hi Ruby Forum… I have a simple UDP Socket that I’m opening which listens for Syslog messages on port 514. I am receiving all syslog messages with no problem but I need to log what IP address is sending the messages. …

---

## [Mongrel won't start](https://www.ruby-forum.com/t/mongrel-wont-start/127270)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 2\
**Last updated:** [January 29, 2008, 2:10am UTC](https://www.ruby-forum.com/t/mongrel-wont-start/127270 "2008-01-29T02:10:28Z")

</div>

after doing some server updates I can no longer start mongrel or at least get it working. I get 404’s whenever I now try to access a dynamic page. This is what I get when I run cap deploy:restart \*\* \[out :: li21-118…

---

## [MySQL backup using rails](https://www.ruby-forum.com/t/mysql-backup-using-rails/117996)

<div class="topic-metadata">

**Author:** [@jagan](https://www.ruby-forum.com/u/jagan)\
**Replies:** 2\
**Last updated:** [October 23, 2007, 1:35pm UTC](https://www.ruby-forum.com/t/mysql-backup-using-rails/117996 "2007-10-23T13:35:59Z")

</div>

Hi, I want to backup and restore my database using Ruby code. Does any one can give an idea of how to do this. My requirement is the Admin who is logged in to the application should be able to create a backup of the…

---

## [Open-URI and percent sign in url](https://www.ruby-forum.com/t/open-uri-and-percent-sign-in-url/115689)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [September 27, 2007, 6:26pm UTC](https://www.ruby-forum.com/t/open-uri-and-percent-sign-in-url/115689 "2007-09-27T18:26:07Z")

</div>

I am trying to use open-uri to open the following url http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-4.html#%\_toc\_start and I’m getting the following error :/ruby/lib/ruby/1.8/uri/common.rb:436:in split': bad UR…

---

## [Problems with sorting of search results](https://www.ruby-forum.com/t/problems-with-sorting-of-search-results/108909)

<div class="topic-metadata">

**Author:** [@kuzb](https://www.ruby-forum.com/u/kuzb)\
**Replies:** 2\
**Last updated:** [July 9, 2007, 7:12pm UTC](https://www.ruby-forum.com/t/problems-with-sorting-of-search-results/108909 "2007-07-09T19:12:31Z")

</div>

Hey … maybe someone got a hint for me … I’ve got a problem with the sorting of search results … strangely enough, the sorting is fine on my mac development environment, but not okay on my linux live system. I got …

---

## [Render partials in folders](https://www.ruby-forum.com/t/render-partials-in-folders/96249)

<div class="topic-metadata">

**Author:** [@Larrytheliquid](https://www.ruby-forum.com/u/Larrytheliquid)\
**Replies:** 2\
**Last updated:** [June 27, 2006, 8:13pm UTC](https://www.ruby-forum.com/t/render-partials-in-folders/96249 "2006-06-27T20:13:04Z")

</div>

Right now I have partials in a view folder corresponding with my controller. ie: controller: example, view: example/\_partial.rhtml and I call it with render :partial =\> ‘partial’ How do I add the partial to another f…

---

## [How to check which directive actually delivers the files?](https://www.ruby-forum.com/t/how-to-check-which-directive-actually-delivers-the-files/243928)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [January 29, 2016, 12:40pm UTC](https://www.ruby-forum.com/t/how-to-check-which-directive-actually-delivers-the-files/243928 "2016-01-29T12:40:41Z")

</div>

Hi, I’ve setup nginx + php-fpm for a typo3. It looks like this: server { listen 80; server\_name the\_server; access\_log /home/the\_server/logs/nginx\_access\_log mycustom; error\_log /home/the\_server/logs/nginx\_error\_l…

---

## [Hotlinking protection not working on firefox 28.0!](https://www.ruby-forum.com/t/hotlinking-protection-not-working-on-firefox-28-0/240000)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [March 24, 2014, 2:20pm UTC](https://www.ruby-forum.com/t/hotlinking-protection-not-working-on-firefox-28-0/240000 "2014-03-24T14:20:44Z")

</div>

Hello, hotlinking protection works fine with chrome and gives 403 forbidden error but somehow it is not working for firefox clients and plays the forbidden video without restrictions. Following is the config : s…

---

## [AutoIt: Any support for OCR?](https://www.ruby-forum.com/t/autoit-any-support-for-ocr/143050)

<div class="topic-metadata">

**Author:** [@anukulsinghal](https://www.ruby-forum.com/u/anukulsinghal)\
**Replies:** 1\
**Last updated:** [May 5, 2011, 6:42pm UTC](https://www.ruby-forum.com/t/autoit-any-support-for-ocr/143050 "2011-05-05T18:42:34Z")

</div>

Hi, I am automating my set top box, having a Client app which has a remote which synchronizes with the TV at the time it connects. (after having entered STB IP and box type). After successfully connecting, I can simu…

---

## [How build two translated model in the same time with globalize2?](https://www.ruby-forum.com/t/how-build-two-translated-model-in-the-same-time-with-globalize2/182053)

<div class="topic-metadata">

**Author:** [@Arnette31](https://www.ruby-forum.com/u/Arnette31)\
**Replies:** 1\
**Last updated:** [January 22, 2010, 5:22pm UTC](https://www.ruby-forum.com/t/how-build-two-translated-model-in-the-same-time-with-globalize2/182053 "2010-01-22T17:22:10Z")

</div>

Hi, I a new user of ruby on rails (2.3.4) and globalize 2 (0.2.0). I have some prolems to use globalize2. I think globalize 2 is powerfull and perhaps I don’t understand how it works… with the documentation, the use …

---

## [Reading a zip file from a GET request without saving?](https://www.ruby-forum.com/t/reading-a-zip-file-from-a-get-request-without-saving/167358)

<div class="topic-metadata">

**Author:** [@artchrst](https://www.ruby-forum.com/u/artchrst)\
**Replies:** 1\
**Last updated:** [May 7, 2009, 6:30am UTC](https://www.ruby-forum.com/t/reading-a-zip-file-from-a-get-request-without-saving/167358 "2009-05-07T06:30:57Z")

</div>

All: I am trying read zip file from HTTP GET request. One way to do it is by saving the response body to a physical file first and then reading the zip file to read the files inside the zip. Is there a way to read th…

---

## [GSL function error on Cygwin](https://www.ruby-forum.com/t/gsl-function-error-on-cygwin/161232)

<div class="topic-metadata">

**Author:** [@Yong\_JSChang](https://www.ruby-forum.com/u/Yong_JSChang)\
**Replies:** 1\
**Last updated:** [February 24, 2009, 3:57pm UTC](https://www.ruby-forum.com/t/gsl-function-error-on-cygwin/161232 "2009-02-24T15:57:51Z")

</div>

Hi all, I’m trying to use GNU radio on Cygwin environment. It has taken couple of days to compile depedent stuffs. I’m on my almost final stage. I have following error messages when I compile ‘gnuradio-core’. \*\*\* Wa…

---

## [Typo site somewhat hosed, need tips to recover](https://www.ruby-forum.com/t/typo-site-somewhat-hosed-need-tips-to-recover/144756)

<div class="topic-metadata">

**Author:** [@Ben\_Armstrong](https://www.ruby-forum.com/u/Ben_Armstrong)\
**Replies:** 1\
**Last updated:** [August 2, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/typo-site-somewhat-hosed-need-tips-to-recover/144756 "2008-08-02T15:07:31Z")

</div>

My typo site had not been updated in a while, but the host it runs on has undergone upgrades recently. Some time over the past month or two, suddenly I couldn’t access vital admin areas (to write a post, review/confi…

---

## [Need help opening and saving a file with FileChooser](https://www.ruby-forum.com/t/need-help-opening-and-saving-a-file-with-filechooser/90117)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 1\
**Last updated:** [March 26, 2007, 6:47am UTC](https://www.ruby-forum.com/t/need-help-opening-and-saving-a-file-with-filechooser/90117 "2007-03-26T06:47:54Z")

</div>

I have a question about using ruby and ruby-gtk2. I have a simple gui and am using SourceView as my text buffer and have added a menu to open and save files. My question is how in the world to I open a file and disp…

---

## [Globalize mailing list: experiences article by Sven Fuchs](https://www.ruby-forum.com/t/globalize-mailing-list-experiences-article-by-sven-fuchs/62907)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 1\
**Last updated:** [June 13, 2006, 11:54am UTC](https://www.ruby-forum.com/t/globalize-mailing-list-experiences-article-by-sven-fuchs/62907 "2006-06-13T11:54:23Z")

</div>

Since not everyone might be subscriped to the Globalize list and I still don’t know if there’s an archive: Sven F. wrote an article about his experiences setting up / using Globalize – begin – After having got total…

---

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

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [September 25, 2012, 4:08pm UTC](https://www.ruby-forum.com/t/how-to-do-this/223161 "2012-09-25T16:08:53Z")

</div>

I wish to select one value from drop down and second drop down should shows those values which are related to that selected value from first drop down. It should be dynamic ? Did i have to use Ajax ?

---

## [Is there some seach algorithm available](https://www.ruby-forum.com/t/is-there-some-seach-algorithm-available/221565)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [July 19, 2012, 4:40pm UTC](https://www.ruby-forum.com/t/is-there-some-seach-algorithm-available/221565 "2012-07-19T16:40:46Z")

</div>

excel\_value = “Deal Bitte” person\_list = Person.people\_of\_project(session\[:projectid\]) %\> Person\_list can have either the name deal or the name bitte eg person\_list= deal mueller Barack Obama Joachim Gauck In th…

---

## [NOT executing if statement](https://www.ruby-forum.com/t/not-executing-if-statement/216511)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 8, 2012, 5:00pm UTC](https://www.ruby-forum.com/t/not-executing-if-statement/216511 "2012-02-08T17:00:53Z")

</div>

\#!/usr/bin/ruby def sumtotal(x, y, mathop) puts "Given Math Operation is: "+mathop puts “X = #{x}” puts “Y = #{y}” puts “\\n” if mathop == “+” z = x + y elsif mathop == “-” z = x - y elsif mathop == “\*” z = x \*…

---

## [Ruby on Rails download page misleading instructions: Ruby 1.9.2p0 + RubyGems = error](https://www.ruby-forum.com/t/ruby-on-rails-download-page-misleading-instructions-ruby-1-9-2p0-rubygems-error/194656)

<div class="topic-metadata">

**Author:** [@kwikwag](https://www.ruby-forum.com/u/kwikwag)\
**Replies:** 6\
**Last updated:** [January 5, 2011, 1:50am UTC](https://www.ruby-forum.com/t/ruby-on-rails-download-page-misleading-instructions-ruby-1-9-2p0-rubygems-error/194656 "2011-01-05T01:50:06Z")

</div>

Attempting to install RubyGems onto Ruby 1.9.2 (in my case - installer for Windows) as the RoR download page suggests causes the following very non-informative error: source\_index.rb:68:in installed\_spec\_directories':…

---

## [Problem with will\_paginate](https://www.ruby-forum.com/t/problem-with-will-paginate/156249)

<div class="topic-metadata">

**Author:** [@nihil\_chauhan](https://www.ruby-forum.com/u/nihil_chauhan)\
**Replies:** 6\
**Last updated:** [January 17, 2009, 9:00am UTC](https://www.ruby-forum.com/t/problem-with-will-paginate/156249 "2009-01-17T09:00:41Z")

</div>

hiii all i am new to ruby on rails. i am facing a problem with pagination. i have a page on which i have three partial and all have pagination. if i click on one partial’s next page it will update all the three parti…

---

## [No such file or directory, file\_column problem](https://www.ruby-forum.com/t/no-such-file-or-directory-file-column-problem/149181)

<div class="topic-metadata">

**Author:** [@changwu](https://www.ruby-forum.com/u/changwu)\
**Replies:** 6\
**Last updated:** [October 9, 2008, 2:52am UTC](https://www.ruby-forum.com/t/no-such-file-or-directory-file-column-problem/149181 "2008-10-09T02:52:31Z")

</div>

Hi,All: I met a strange problem with file\_column. My application worked well before I changed my Model, I only changed the size of picture. but cause the following problems: No such file or directory - D:/WORK\_HOME/…

---

## [Mysterious spaces in output](https://www.ruby-forum.com/t/mysterious-spaces-in-output/148397)

<div class="topic-metadata">

**Author:** [@yachtman](https://www.ruby-forum.com/u/yachtman)\
**Replies:** 6\
**Last updated:** [September 16, 2008, 8:23pm UTC](https://www.ruby-forum.com/t/mysterious-spaces-in-output/148397 "2008-09-16T20:23:17Z")

</div>

Here is a probably an easy output formatting problem. I am trying to output a sentence that uses commas between each item (retailer) and a period once there are no more items. The problem is, I can’t remove the space …

---

## [Getting value from session - syntax help](https://www.ruby-forum.com/t/getting-value-from-session-syntax-help/131814)

<div class="topic-metadata">

**Author:** [@drsharp](https://www.ruby-forum.com/u/drsharp)\
**Replies:** 6\
**Last updated:** [March 14, 2008, 9:27pm UTC](https://www.ruby-forum.com/t/getting-value-from-session-syntax-help/131814 "2008-03-14T21:27:54Z")

</div>

Hi, I’m trying to make a rails app and although I understand the logic of what I’m trying to do, the syntax used in ruby really confuses me as it seems to do a lot of the work automatically. I have 3 tables, user, for…

---

## [Rollbacks, Sqlite3 bug](https://www.ruby-forum.com/t/rollbacks-sqlite3-bug/118255)

<div class="topic-metadata">

**Author:** [@sthorpe](https://www.ruby-forum.com/u/sthorpe)\
**Replies:** 6\
**Last updated:** [October 25, 2007, 5:27pm UTC](https://www.ruby-forum.com/t/rollbacks-sqlite3-bug/118255 "2007-10-25T17:27:46Z")

</div>

Okay - so the sqlite bug reported a day or so ago on the list is real bug. I’m going to file something in the tracker for that… I also learned that before(:all)…after(:all) is not wrapped in a transaction, the way be…

---

## [Optimizing Hash deletions](https://www.ruby-forum.com/t/optimizing-hash-deletions/107781)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 6\
**Last updated:** [June 27, 2007, 1:18am UTC](https://www.ruby-forum.com/t/optimizing-hash-deletions/107781 "2007-06-27T01:18:49Z")

</div>

I have a recursive file-compare program that I run on 2 directories that each contain about 10,000 files, 99% of which don’t change. I read all the filenames into hashes and then (first) delete all the matches, using …

---

## [FXTreeList-App crashes](https://www.ruby-forum.com/t/fxtreelist-app-crashes/86455)

<div class="topic-metadata">

**Author:** [@jabe](https://www.ruby-forum.com/u/jabe)\
**Replies:** 6\
**Last updated:** [February 23, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/fxtreelist-app-crashes/86455 "2007-02-23T17:05:11Z")

</div>

My FX-Application crashes, when I update an FXTreeItem-Icon in an FXTreeList (setopenIcon / setClosedIcon) with an event-method (right-mouse-click). Does anybody have an idea ?

---

## [Qtruby - calling a C application](https://www.ruby-forum.com/t/qtruby-calling-a-c-application/81842)

<div class="topic-metadata">

**Author:** [@Fredrik\_J](https://www.ruby-forum.com/u/Fredrik_J)\
**Replies:** 6\
**Last updated:** [January 16, 2007, 11:33am UTC](https://www.ruby-forum.com/t/qtruby-calling-a-c-application/81842 "2007-01-16T11:33:50Z")

</div>

Hello all! Here is a question for all you Qtruby experts: I am writing a GUI with Qtruby, which is working great. I am also using some software written in C (RTP, http://web.cecs.pdx.edu/~watt/rtp/) that is plotting …

---

## [Ruby newbie & XML - What's the simplest way to get XML data](https://www.ruby-forum.com/t/ruby-newbie-xml-whats-the-simplest-way-to-get-xml-data/76248)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [November 17, 2006, 12:20am UTC](https://www.ruby-forum.com/t/ruby-newbie-xml-whats-the-simplest-way-to-get-xml-data/76248 "2006-11-17T00:20:25Z")

</div>

Sorry for having such a specific question, but is there a simple way to take the XML document below and put it into some sort of organized hash value without first knowing anything about it? This is an easy job using …

---

## [Setting up simple CGI on Ubuntu](https://www.ruby-forum.com/t/setting-up-simple-cgi-on-ubuntu/71183)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [October 6, 2006, 6:46pm UTC](https://www.ruby-forum.com/t/setting-up-simple-cgi-on-ubuntu/71183 "2006-10-06T18:46:41Z")

</div>

I’ve done all this numerous times before but, sigh, apparently I’m forgetting something. I’m just trying to serve up a straight CGI script, nothing fancy. Running Ubuntu Apache2: \<VirtualHost \*\> #SetEnv RAILS\_ENV de…

---

## [Google Calendar lib?](https://www.ruby-forum.com/t/google-calendar-lib/58608)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 6\
**Last updated:** [April 25, 2006, 11:43pm UTC](https://www.ruby-forum.com/t/google-calendar-lib/58608 "2006-04-25T23:43:07Z")

</div>

I’ve been hacking around with the Google calendar API, but before I reinvent another wheel, I wanted to see if anyone has assembled anything already. There is Google calendar project on RubyForge, but it appears to be …

---

## [Compare to strings](https://www.ruby-forum.com/t/compare-to-strings/93594)

<div class="topic-metadata">

**Author:** [@pachl](https://www.ruby-forum.com/u/pachl)\
**Replies:** 6\
**Last updated:** [April 6, 2006, 3:15am UTC](https://www.ruby-forum.com/t/compare-to-strings/93594 "2006-04-06T03:15:55Z")

</div>

Hello, What is the best approach to searching a string for another string? For instance, I have: url1 = ‘http://www.url.com’ url2 = ‘http://www.url.com/page’ If part of url1 is in url2, like above, I’d like to decla…

---

## [Simple programming q](https://www.ruby-forum.com/t/simple-programming-q/53826)

<div class="topic-metadata">

**Author:** [@grrr](https://www.ruby-forum.com/u/grrr)\
**Replies:** 6\
**Last updated:** [February 15, 2006, 2:13am UTC](https://www.ruby-forum.com/t/simple-programming-q/53826 "2006-02-15T02:13:24Z")

</div>

I am a ruby newbie. I want to make a simple script that replaces certain characters in a block of text with specific other characters. I am wondering what kind of loop or algo is thought to be most effective for this …

---

## [Front end ruby on rails developer - full time remote job](https://www.ruby-forum.com/t/front-end-ruby-on-rails-developer-full-time-remote-job/244714)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [May 31, 2016, 8:58pm UTC](https://www.ruby-forum.com/t/front-end-ruby-on-rails-developer-full-time-remote-job/244714 "2016-05-31T20:58:00Z")

</div>

Ruby on Rails Developer Five years of experience as a front end developer Front end ROR (controllers, views, asset pipeline) Rspec JQuery Bootstrap CoffeeScript Responsive Development We seeking a full-time Senior Fro…

---

## [Building xml/json api](https://www.ruby-forum.com/t/building-xml-json-api/244056)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [February 15, 2016, 11:18pm UTC](https://www.ruby-forum.com/t/building-xml-json-api/244056 "2016-02-15T23:18:55Z")

</div>

Hi! I’m building my first API with rails and i hope someone can point me in the right direction. What I want to know is which tutorials I should watch/read and also which gems/framework I should use. All tips will be…

---

## [How Can I Do This?](https://www.ruby-forum.com/t/how-can-i-do-this/241594)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [April 18, 2015, 6:04pm UTC](https://www.ruby-forum.com/t/how-can-i-do-this/241594 "2015-04-18T18:04:51Z")

</div>

I have two methods that do the same thing in different ways. Let’s call them method ‘a’ and method ‘b’. I currently have two other methods ‘ma’ and ‘mb’ which are identical except where one uses ‘a’ and the other uses…

---

## [Pipe Variable to BBEdit](https://www.ruby-forum.com/t/pipe-variable-to-bbedit/233866)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 22, 2015, 10:37am UTC](https://www.ruby-forum.com/t/pipe-variable-to-bbedit/233866 "2015-01-22T10:37:40Z")

</div>

Hi folks. Just trying to find a way to pipe a current variable to BBEdit. Essentially I would like some output to go directly to BBEdit. This is what I got so far: res = Net::HTTP.post\_form(uri, params) cmd = %w{ r…

---

## [How can I make this model the best?](https://www.ruby-forum.com/t/how-can-i-make-this-model-the-best/230594)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [June 25, 2014, 11:19pm UTC](https://www.ruby-forum.com/t/how-can-i-make-this-model-the-best/230594 "2014-06-25T23:19:37Z")

</div>

Hello, I have a model called abbonement which should contain a title and a amount. Then I have a model called members which contains the name, adress, city and which abbonement the member has. Can I then use belong…

---

## [NGINX 2014 survey: I know you have opinions](https://www.ruby-forum.com/t/nginx-2014-survey-i-know-you-have-opinions/240627)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 6, 2014, 2:08am UTC](https://www.ruby-forum.com/t/nginx-2014-survey-i-know-you-have-opinions/240627 "2014-05-06T02:08:31Z")

</div>

Hello! As Valentin mentioned in another thread, its that time of year again when we want to tune up our strategy; see how NGINX is used; what you the community thinks of us; where we can improve our products, communi…

---

## [Hartl rails tutorial need help - regd "Test-driven development" introduction](https://www.ruby-forum.com/t/hartl-rails-tutorial-need-help-regd-test-driven-development-introduction/238456)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [January 11, 2014, 8:40pm UTC](https://www.ruby-forum.com/t/hartl-rails-tutorial-need-help-regd-test-driven-development-introduction/238456 "2014-01-11T20:40:34Z")

</div>

Hi, I am getting some unexpected error which is not mentioned in the rails tutorials(http://ruby.railstutorial.org/chapters/static-pages#sec-TDD) I am following : (arup~\>sample\_app)$ bundle exec rspec spec/requests/s…

---

## [\[ActiveRecord\] Attribute aliasing is driving me nuts :-)](https://www.ruby-forum.com/t/activerecord-attribute-aliasing-is-driving-me-nuts/228159)

<div class="topic-metadata">

**Author:** [@marcin\_r](https://www.ruby-forum.com/u/marcin_r)\
**Replies:** 0\
**Last updated:** [April 11, 2013, 5:55pm UTC](https://www.ruby-forum.com/t/activerecord-attribute-aliasing-is-driving-me-nuts/228159 "2013-04-11T17:55:01Z")

</div>

Hi folks! Quick question about alias\_attribute in context of legacy database. I am on AR 3.2.11. I got very weird, but easy to follow, naming scheme to deal with. That is - every attribute is suffixed by ‘\_’. I thoug…

---

## [Chi vuole giocare con me? Spits!](https://www.ruby-forum.com/t/chi-vuole-giocare-con-me-spits/220348)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 6, 2012, 5:16pm UTC](https://www.ruby-forum.com/t/chi-vuole-giocare-con-me-spits/220348 "2012-06-06T17:16:14Z")

</div>

Ciao a tutti, qui al lavoro non mi comprano il framework di cui ho bisogno per lavorare. Dopo un paio di giorni a giocare a Counter Strike per protesta ho deciso di fare una app per facebook. Si chiama Spits e permett…

---

## [Radio buttons](https://www.ruby-forum.com/t/radio-buttons/214208)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 2, 2011, 8:39am UTC](https://www.ruby-forum.com/t/radio-buttons/214208 "2011-12-02T08:39:48Z")

</div>

I am new to ruby on rails.i need to create a page with a question and multiple choice answers with radio button to answer .i ve stored the database in a table with one column ha the question and the other four with an…

---

## [Nginx redirect loop under ssl](https://www.ruby-forum.com/t/nginx-redirect-loop-under-ssl/201581)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 25, 2011, 11:51pm UTC](https://www.ruby-forum.com/t/nginx-redirect-loop-under-ssl/201581 "2011-09-25T23:51:30Z")

</div>

I’ve been banging my head on it for a few days now with no luck. Nothing seems to be busted, just keeps redirecting to the root domain when ever I try and visit any url requiring ssl Posted at Nginx Forum:

---

## [Returning an array from Java to JRuby?](https://www.ruby-forum.com/t/returning-an-array-from-java-to-jruby/210812)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 18, 2011, 5:24pm UTC](https://www.ruby-forum.com/t/returning-an-array-from-java-to-jruby/210812 "2011-08-18T17:24:50Z")

</div>

Howdy! I’m running a JRuby script on top of a pretty hefty Java application, and there are some cases where I’ll need to call a Java method from the JRuby script, and have it return a bunch of objects. For example, I …

---

## [Threadsafing a mixin module without using self.new or initialize](https://www.ruby-forum.com/t/threadsafing-a-mixin-module-without-using-self-new-or-initialize/208429)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [June 18, 2011, 5:23am UTC](https://www.ruby-forum.com/t/threadsafing-a-mixin-module-without-using-self-new-or-initialize/208429 "2011-06-18T05:23:35Z")

</div>

Threadsafing a mixin module without using self.new or initialize. Project: Eventable - GitHub - mikbe/eventable: Eventable is an easy to use and understand event model; it's the simplest way to add fine-grain events to …

---

## [About cleanup of subrequests](https://www.ruby-forum.com/t/about-cleanup-of-subrequests/199254)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 17, 2010, 1:35pm UTC](https://www.ruby-forum.com/t/about-cleanup-of-subrequests/199254 "2010-11-17T13:35:37Z")

</div>

HI,ALL I have written a nginx module which may produce thousands of subrequests.Each subrequest may connect to the upstream and fetch data. Like map-reduce, my module map the main request to many subrequest and redu…

---

## [Using a custom block](https://www.ruby-forum.com/t/using-a-custom-block/186705)

<div class="topic-metadata">

**Author:** [@Kurt\_Holmquist](https://www.ruby-forum.com/u/Kurt_Holmquist)\
**Replies:** 3\
**Last updated:** [April 13, 2010, 6:02am UTC](https://www.ruby-forum.com/t/using-a-custom-block/186705 "2010-04-13T06:02:24Z")

</div>

I’m looking for some information or references on what to do after doing everything in the “how to write a block” tutorial in order to be able to access this block from other GNU radio python programs, for example cha…

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

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