# Top

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

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

---

## ["su user -c 'command'" from within ruby](https://www.ruby-forum.com/t/su-user-c-command-from-within-ruby/80334)

<div class="topic-metadata">

**Author:** [@crytyca](https://www.ruby-forum.com/u/crytyca)\
**Replies:** 1\
**Last updated:** [December 24, 2006, 2:21pm UTC](https://www.ruby-forum.com/t/su-user-c-command-from-within-ruby/80334 "2006-12-24T14:21:48Z")

</div>

Hi, I want to invoke a shell command from within ruby but as another user in a Linux environment. I start the ruby script itself as root and in the script I do something like this: %x{su some\_user -c “some\_command”} …

---

## [Apache/FastCGI causes error?](https://www.ruby-forum.com/t/apache-fastcgi-causes-error/77062)

<div class="topic-metadata">

**Author:** [@sean](https://www.ruby-forum.com/u/sean)\
**Replies:** 1\
**Last updated:** [November 23, 2006, 10:33pm UTC](https://www.ruby-forum.com/t/apache-fastcgi-causes-error/77062 "2006-11-23T22:33:51Z")

</div>

I’m trying to get Ruby on Rails running on an Apache 1.3 server with mod\_fastcgi and I’m oh-so-close. When I run my application with this line in public/.htaccess it works fine. Unusably slow, but fine. RewriteRule …

---

## [Http post in chunks](https://www.ruby-forum.com/t/http-post-in-chunks/67819)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 1\
**Last updated:** [September 8, 2006, 2:22am UTC](https://www.ruby-forum.com/t/http-post-in-chunks/67819 "2006-09-08T02:22:29Z")

</div>

This isn’t strictly a rails query. I have created a rails application that accepts post data on an action and I’m writing a ruby client that sends a file using HTTP::Post. However, the file is quite big and I want to …

---

## [Ferret EOFError creating index](https://www.ruby-forum.com/t/ferret-eoferror-creating-index/58198)

<div class="topic-metadata">

**Author:** [@lofye](https://www.ruby-forum.com/u/lofye)\
**Replies:** 1\
**Last updated:** [April 25, 2006, 9:21am UTC](https://www.ruby-forum.com/t/ferret-eoferror-creating-index/58198 "2006-04-25T09:21:35Z")

</div>

I’ve been messing around with Ferret (no punn intended). After spending some time testing it out (indexing to file), I decided to index about 10% of the data I want to eventually index. It took several hours to comple…

---

## [ActiveRecord and multiple associations](https://www.ruby-forum.com/t/activerecord-and-multiple-associations/57792)

<div class="topic-metadata">

**Author:** [@acarlos](https://www.ruby-forum.com/u/acarlos)\
**Replies:** 1\
**Last updated:** [April 14, 2006, 8:40am UTC](https://www.ruby-forum.com/t/activerecord-and-multiple-associations/57792 "2006-04-14T08:40:34Z")

</div>

Hello, I have a Company that has\_and\_belongs\_to\_many Persons. A Person has\_many Emails. I want to display each Person’s Email for each Company, so I try this: companies = Company.find(:all) for company in companies …

---

## [Radio Button Tag and hash @Params](https://www.ruby-forum.com/t/radio-button-tag-and-hash-params/86859)

<div class="topic-metadata">

**Author:** [@axle988](https://www.ruby-forum.com/u/axle988)\
**Replies:** 1\
**Last updated:** [March 24, 2006, 8:31pm UTC](https://www.ruby-forum.com/t/radio-button-tag-and-hash-params/86859 "2006-03-24T20:31:15Z")

</div>

Hi, I’ve a little problem using the Radio Button Tag. I use the " @prove=MODEL.column\_names() " to keep attribute names of a table. After i used this code to select a attribute subsets of them : \<% i=‘0’%\> \<% for @…

---

## [Strange crc error when install rails with gem](https://www.ruby-forum.com/t/strange-crc-error-when-install-rails-with-gem/47660)

<div class="topic-metadata">

**Author:** [@pertl](https://www.ruby-forum.com/u/pertl)\
**Replies:** 1\
**Last updated:** [November 12, 2005, 12:50pm UTC](https://www.ruby-forum.com/t/strange-crc-error-when-install-rails-with-gem/47660 "2005-11-12T12:50:01Z")

</div>

has anyone seen this before: ~$ gem install rails Attempting local installation of ‘rails’ Local gem file not found: rails\*.gem Attempting remote installation of ‘rails’ Updating Gem source index for: http://gems.ru…

---

## [Clender help/advise](https://www.ruby-forum.com/t/clender-help-advise/232229)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 27, 2014, 5:40pm UTC](https://www.ruby-forum.com/t/clender-help-advise/232229 "2014-09-27T17:40:12Z")

</div>

im after somebody who is an expert at Ruby on Rails with calendars (prefereably the “fullcalendar” gem). I am wanting to display information on my calendar so that the attributes "name:, email:, mobile:, category:, ot…

---

## [Include Performance](https://www.ruby-forum.com/t/include-performance/239768)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [March 13, 2014, 7:04pm UTC](https://www.ruby-forum.com/t/include-performance/239768 "2014-03-13T19:04:52Z")

</div>

Is there any negative performance impact with chaining include commands on nginx? For example, are any of these worse than any of the others from a performance perspective: In nginx.conf: include domain\_config\_1.co…

---

## [Fwd: Question Concerning Custom Modulator Block](https://www.ruby-forum.com/t/fwd-question-concerning-custom-modulator-block/239284)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 20, 2014, 8:40pm UTC](https://www.ruby-forum.com/t/fwd-question-concerning-custom-modulator-block/239284 "2014-02-20T20:40:50Z")

</div>

Forgot to hit reply all. On Wed, Feb 19, 2014 at 3:30 AM, Martin B. removed\_email\_address@domain.invalidwrote: 800 items (samples). Do I make sure noutput\_items is equal to number of samples I wish to I am going t…

---

## [Names for gems - duplicates?](https://www.ruby-forum.com/t/names-for-gems-duplicates/239036)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [February 9, 2014, 6:46am UTC](https://www.ruby-forum.com/t/names-for-gems-duplicates/239036 "2014-02-09T06:46:02Z")

</div>

Hi, Whoever is the first to upload a gem gets to keep this name, even if inactive. Is there a way to register a gem with the same name, but as secondary gem name? Take the gem called “configuration”. I have a proje…

---

## [Can I cache a page conditionally based on cookie value?](https://www.ruby-forum.com/t/can-i-cache-a-page-conditionally-based-on-cookie-value/228989)

<div class="topic-metadata">

**Author:** [@patng323](https://www.ruby-forum.com/u/patng323)\
**Replies:** 2\
**Last updated:** [May 15, 2013, 11:18am UTC](https://www.ruby-forum.com/t/can-i-cache-a-page-conditionally-based-on-cookie-value/228989 "2013-05-15T11:18:59Z")

</div>

Hi, Using NginX as a reverse proxy, I want to cache the response ONLY if the user has NOT logged in, which can be checked by testing the existence of a cookie. First I tried to use “if”, but NginX complained that I …

---

## [Updaing a page continuously using ajax](https://www.ruby-forum.com/t/updaing-a-page-continuously-using-ajax/228278)

<div class="topic-metadata">

**Author:** [@deepak\_a](https://www.ruby-forum.com/u/deepak_a)\
**Replies:** 2\
**Last updated:** [April 18, 2013, 8:21am UTC](https://www.ruby-forum.com/t/updaing-a-page-continuously-using-ajax/228278 "2013-04-18T08:21:21Z")

</div>

I had written a small web app that gets the date(or any data) from a external device and print it on screen(browser screen) continously without refreshing the page. I am using below form\_tag inside view file (myapp/a…

---

## [GSOC ideas \[802.11\]](https://www.ruby-forum.com/t/gsoc-ideas-802-11/228122)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [April 11, 2013, 10:12am UTC](https://www.ruby-forum.com/t/gsoc-ideas-802-11/228122 "2013-04-11T10:12:11Z")

</div>

\----Messaggio originale---- Da: removed\_email\_address@domain.invalid Data: 10-apr-2013 11.10 A: removed\_email\_address@domain.invalid Ogg: GSOC ideas \[802.11\] Hello, I’m Marco Ribero, an italian student and I’m fol…

---

## [Ngx\_openresty devel version 1.2.7.3 released](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-7-3-released/227690)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 2\
**Last updated:** [April 7, 2013, 12:18am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-7-3-released/227690 "2013-04-07T00:18:07Z")

</div>

Hello! I am happy to announce that the new development version of ngx\_openresty, 1.2.7.3, is now released: http://openresty.org/#Download Special thanks go to all our contributors and users for helping make this rel…

---

## [Weird SSL Issue](https://www.ruby-forum.com/t/weird-ssl-issue/225482)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [January 10, 2013, 1:12pm UTC](https://www.ruby-forum.com/t/weird-ssl-issue/225482 "2013-01-10T13:12:38Z")

</div>

I use nginx to host multiple websites, and one of them has a valid SSL certificate. I’ve noticed recently (from early November 2012 according to Google Webmaster Tools), that if I make an SSL connection to one of the …

---

## [Ransack: come evitare di visualizzare la query sulla barra degli indirizzi?](https://www.ruby-forum.com/t/ransack-come-evitare-di-visualizzare-la-query-sulla-barra-degli-indirizzi/214555)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 5, 2011, 6:40pm UTC](https://www.ruby-forum.com/t/ransack-come-evitare-di-visualizzare-la-query-sulla-barra-degli-indirizzi/214555 "2011-12-05T18:40:36Z")

</div>

Chi di voi usa ransack per le ricerche sa che il form richiede il method :get altrimenti non funziona. In questo modo pero’ tutti i parametri vengono visualizzati nella barra degli indirizzi del browser cosa che a me …

---

## [\[ruby-trunk - Feature #5513\]\[Open\] Numeric へ述語語の追加](https://www.ruby-forum.com/t/ruby-trunk-feature-5513-open-numeric/213320)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [October 31, 2011, 2:28am UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-5513-open-numeric/213320 "2011-10-31T02:28:00Z")

</div>

Issue #5513 has been reported by tadayoshi funaba. Feature #5513: Numeric へ述語語の追加 Author: tadayoshi funaba Status: Open Priority: Normal Assignee: Category: Target version: 2.0 現在の Numeric では、その表現の特徴について問合せる基本的…

---

## [How to get week of the month](https://www.ruby-forum.com/t/how-to-get-week-of-the-month/210273)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 4, 2011, 1:23am UTC](https://www.ruby-forum.com/t/how-to-get-week-of-the-month/210273 "2011-08-04T01:23:06Z")

</div>

Hi, I want to display week of a particular month like for 10th August 2011, should get week of the month as 2. Thanks in advance. Sulabha

---

## [Create dialog box after receiving a security message](https://www.ruby-forum.com/t/create-dialog-box-after-receiving-a-security-message/210254)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 3, 2011, 5:07pm UTC](https://www.ruby-forum.com/t/create-dialog-box-after-receiving-a-security-message/210254 "2011-08-03T17:07:07Z")

</div>

Hi I just wondering, is it possible for me to create a dialog box (with some buttons in there) to be pop up after user receiving security message/warning. For example user would like to download application from thi…

---

## [Ngx\_http\_secure\_download report back to application?](https://www.ruby-forum.com/t/ngx-http-secure-download-report-back-to-application/207096)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 18, 2011, 4:35pm UTC](https://www.ruby-forum.com/t/ngx-http-secure-download-report-back-to-application/207096 "2011-05-18T16:35:54Z")

</div>

Hello, I’m thinking about writing an application, which should use nginx’ secure download module to generate secure - expireing - links and limit the number of (successful) downloads. Since it only should count succe…

---

## [Get the time zone of the datetime object](https://www.ruby-forum.com/t/get-the-time-zone-of-the-datetime-object/205486)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [April 7, 2011, 9:54pm UTC](https://www.ruby-forum.com/t/get-the-time-zone-of-the-datetime-object/205486 "2011-04-07T21:54:38Z")

</div>

Hi, I am using rails 3 for my application. My problem is that I am importing the events from meetup.com. I am getting the time of the event but I don’t know from which time zone. E.g. Thu Apr 07 07:00:00 PDT I want …

---

## [Cross-compiling Ruby 1.9.2](https://www.ruby-forum.com/t/cross-compiling-ruby-1-9-2/204234)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 10, 2011, 3:02am UTC](https://www.ruby-forum.com/t/cross-compiling-ruby-1-9-2/204234 "2011-03-10T03:02:09Z")

</div>

I am attempting to cross-compile Ruby 1.9.2 for ARM using Scratchbox (am new to cross-compiling). However, ./configure throws an error saying “checking whether setpgrp takes no argument… configure: error: cannot check…

---

## [Ruby 1.9/Rails method return anomality?](https://www.ruby-forum.com/t/ruby-1-9-rails-method-return-anomality/202969)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 10, 2011, 8:48am UTC](https://www.ruby-forum.com/t/ruby-1-9-rails-method-return-anomality/202969 "2011-02-10T08:48:06Z")

</div>

Hello I have a different return value from a method when the last line is either str.encode ‘UTF-8’ return str.encode ‘UTF-8’ # or: str.encode! ‘UTF-8’ In the first case the string is not in UTF-8! Both other retur…

---

## [Module\_function and Object include](https://www.ruby-forum.com/t/module-function-and-object-include/202264)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 26, 2011, 12:44pm UTC](https://www.ruby-forum.com/t/module-function-and-object-include/202264 "2011-01-26T12:44:42Z")

</div>

I understand that the use of the Module’s class method “module\_function” is to create class method copies of the instance methods defined in module make those instance methods “private” when mixed in. e.g. 1 module…

---

## [Error report usrp\_fft.py](https://www.ruby-forum.com/t/error-report-usrp-fft-py/188927)

<div class="topic-metadata">

**Author:** [@meco1982](https://www.ruby-forum.com/u/meco1982)\
**Replies:** 2\
**Last updated:** [May 20, 2010, 5:55pm UTC](https://www.ruby-forum.com/t/error-report-usrp-fft-py/188927 "2010-05-20T17:55:32Z")

</div>

Ubuntu 8.10 Intrepid Gnuradio git tarball 3.3.0 rc0 no problem in configure,make make install but… First error in find\_usrps was: find\_usrps: error while loading shared libraries: libusrp2.so.0…cannot open shared o…

---

## [JRuby on Rails on Google App Engine](https://www.ruby-forum.com/t/jruby-on-rails-on-google-app-engine/183394)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [April 13, 2010, 5:14pm UTC](https://www.ruby-forum.com/t/jruby-on-rails-on-google-app-engine/183394 "2010-04-13T17:14:26Z")

</div>

All, Was hoping to find out the current state of running Rails apps. under JRuby using the Java support for Google App Engine. Please advise, Wes G.

---

## [Htpasswd protection prompts for index.php download](https://www.ruby-forum.com/t/htpasswd-protection-prompts-for-index-php-download/185315)

<div class="topic-metadata">

**Author:** [@ppnx](https://www.ruby-forum.com/u/ppnx)\
**Replies:** 2\
**Last updated:** [March 18, 2010, 1:23am UTC](https://www.ruby-forum.com/t/htpasswd-protection-prompts-for-index-php-download/185315 "2010-03-18T01:23:29Z")

</div>

I could not find the information on the web or in the wiki, so I try this list. I am the user of a free hosting service using nginx. So I cannot acces or edit conf files myself, but I can ask the admin and he will do …

---

## [Ajaxy cross-tab form](https://www.ruby-forum.com/t/ajaxy-cross-tab-form/184457)

<div class="topic-metadata">

**Author:** [@ptorrsmith](https://www.ruby-forum.com/u/ptorrsmith)\
**Replies:** 2\
**Last updated:** [March 4, 2010, 1:28am UTC](https://www.ruby-forum.com/t/ajaxy-cross-tab-form/184457 "2010-03-04T01:28:50Z")

</div>

Hiya’ll. I’m trying to create an ajaxy form full of intersect values in which each intersect-field can be edited (in place style) and submitted back on change. I have 3 models :people (name) :wants (name) :people…

---

## [Has\_many :through eager loading only loading one record](https://www.ruby-forum.com/t/has-many-through-eager-loading-only-loading-one-record/183476)

<div class="topic-metadata">

**Author:** [@Jarrett](https://www.ruby-forum.com/u/Jarrett)\
**Replies:** 2\
**Last updated:** [February 15, 2010, 9:53am UTC](https://www.ruby-forum.com/t/has-many-through-eager-loading-only-loading-one-record/183476 "2010-02-15T09:53:39Z")

</div>

Hello, I’ve been using Rails for years, including has\_many :through and eager loading, but this one has me stumped. The problem is that Active Record is only eager-loading the first of many records. Here are the mode…

---

## [Image Slide Show](https://www.ruby-forum.com/t/image-slide-show/179695)

<div class="topic-metadata">

**Author:** [@plastik77](https://www.ruby-forum.com/u/plastik77)\
**Replies:** 2\
**Last updated:** [December 2, 2009, 8:31am UTC](https://www.ruby-forum.com/t/image-slide-show/179695 "2009-12-02T08:31:47Z")

</div>

The code bellow seem to only load the 1st image. How do i make it to load all the picture in the billboard model? Or is there any better way to do so beside using the :defaults js? \<% for billboard in @billboards %\> …

---

## [Ztex USB-FPGA board](https://www.ruby-forum.com/t/ztex-usb-fpga-board/178261)

<div class="topic-metadata">

**Author:** [@Luke\_Kenneth\_Casson](https://www.ruby-forum.com/u/Luke_Kenneth_Casson)\
**Replies:** 2\
**Last updated:** [November 1, 2009, 3:32pm UTC](https://www.ruby-forum.com/t/ztex-usb-fpga-board/178261 "2009-11-01T15:32:45Z")

</div>

http://shop.ztex.de/product\_info.php?cPath=21&products\_id=28 dear gnuradio developers, i was searching on opencores.org to see if there was a SoC that incorporates an FPGA(-like) device with an open core, and i accid…

---

## [Writing a cache module](https://www.ruby-forum.com/t/writing-a-cache-module/176301)

<div class="topic-metadata">

**Author:** [@AkinsS\_Brian](https://www.ruby-forum.com/u/AkinsS_Brian)\
**Replies:** 2\
**Last updated:** [September 28, 2009, 10:05pm UTC](https://www.ruby-forum.com/t/writing-a-cache-module/176301 "2009-09-28T22:05:18Z")

</div>

I need to write cache module that’s not upstream based. (Long story…) Reading through the upstream code and the proxy and fastcgi modules, it looks fairly simple. Just so I know I’m on the right track: to get somet…

---

## [Subdevice selection in USRP2](https://www.ruby-forum.com/t/subdevice-selection-in-usrp2/167813)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [May 13, 2009, 4:30pm UTC](https://www.ruby-forum.com/t/subdevice-selection-in-usrp2/167813 "2009-05-13T16:30:27Z")

</div>

Hi all- as part of my on-going efforts to acquire 2 channels (two independent signals) on my USRP2 with an LFRX board, I would like to know if there is an equivalent to the subdevice setup code that exists for the US…

---

## [Storing the order of items in a joined table](https://www.ruby-forum.com/t/storing-the-order-of-items-in-a-joined-table/167607)

<div class="topic-metadata">

**Author:** [@coltz](https://www.ruby-forum.com/u/coltz)\
**Replies:** 2\
**Last updated:** [May 10, 2009, 6:05am UTC](https://www.ruby-forum.com/t/storing-the-order-of-items-in-a-joined-table/167607 "2009-05-10T06:05:00Z")

</div>

I am new to rails and I have a question on tables. I have 2 tables. Points with :id, :name, :x, :y Polygons with :id, :name and an array of points (references to points from the Points table). What matters is the…

---

## [Div\_for and RJS](https://www.ruby-forum.com/t/div-for-and-rjs/167522)

<div class="topic-metadata">

**Author:** [@radkin](https://www.ruby-forum.com/u/radkin)\
**Replies:** 2\
**Last updated:** [May 9, 2009, 1:32am UTC](https://www.ruby-forum.com/t/div-for-and-rjs/167522 "2009-05-09T01:32:20Z")

</div>

Do you have to use an activeRecord object for div\_for? Perhaps I’m taking the wrong approach for “dynamic” divs so far my education: id= , is fine for just one div and prototype activity in an RJS (I got this to wor…

---

## [How to profile Ruby 1.9 and/or JRuby code? (ruby-prof works only on MRI Ruby 1.8)](https://www.ruby-forum.com/t/how-to-profile-ruby-1-9-and-or-jruby-code-ruby-prof-works-only-on-mri-ruby-1-8/167293)

<div class="topic-metadata">

**Author:** [@Shot\_SPiotr\_S.S](https://www.ruby-forum.com/u/Shot_SPiotr_S.S)\
**Replies:** 2\
**Last updated:** [May 7, 2009, 9:19am UTC](https://www.ruby-forum.com/t/how-to-profile-ruby-1-9-and-or-jruby-code-ruby-prof-works-only-on-mri-ruby-1-8/167293 "2009-05-07T09:19:12Z")

</div>

I love ruby-prof, but it unfortunately does not work neither under MRI Ruby 1.9 nor under JRuby. How can one profile MRI Ruby 1.9 and/or JRuby code? (I can try backporting my code to Ruby 1.8.7, but itâ€™s additional …

---

## [Short cut for gsub("word","")](https://www.ruby-forum.com/t/short-cut-for-gsub-word/165437)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 2\
**Last updated:** [April 15, 2009, 3:15pm UTC](https://www.ruby-forum.com/t/short-cut-for-gsub-word/165437 "2009-04-15T15:15:18Z")

</div>

is there any shortcut for removing a string of characters from text, like gsub(“word”,""). I looked into String#delete but it will delete all the characters in the entire word. Im guessing something like this already …

---

## [New User Issues](https://www.ruby-forum.com/t/new-user-issues/163529)

<div class="topic-metadata">

**Author:** [@Scott\_LaBounty](https://www.ruby-forum.com/u/Scott_LaBounty)\
**Replies:** 2\
**Last updated:** [March 22, 2009, 1:36am UTC](https://www.ruby-forum.com/t/new-user-issues/163529 "2009-03-22T01:36:14Z")

</div>

I just found RSpec and was trying to do the example on the main page for RSpec (the bowling example). I’m using Ubuntu and did the normal “sudo gem install rspec” and then tried to create the bowling\_spec.rb file. Whe…

---

## [Series of 'B' with Tunnel.py](https://www.ruby-forum.com/t/series-of-b-with-tunnel-py/162406)

<div class="topic-metadata">

**Author:** [@Ahmed\_Majeed\_K](https://www.ruby-forum.com/u/Ahmed_Majeed_K)\
**Replies:** 2\
**Last updated:** [March 9, 2009, 8:02pm UTC](https://www.ruby-forum.com/t/series-of-b-with-tunnel-py/162406 "2009-03-09T20:02:41Z")

</div>

Hi, I see a series of ‘BBBBB’ while running tunnel.py on one machine and this series coupled with with ‘uO’ sequences on the other. While ‘uO’ is for under-run stuff, what do the series of ‘B’ means?? -Ahmed – Ahme…

---

## [Click tracking for external links](https://www.ruby-forum.com/t/click-tracking-for-external-links/159577)

<div class="topic-metadata">

**Author:** [@Shannon](https://www.ruby-forum.com/u/Shannon)\
**Replies:** 2\
**Last updated:** [February 6, 2009, 3:02am UTC](https://www.ruby-forum.com/t/click-tracking-for-external-links/159577 "2009-02-06T03:02:04Z")

</div>

I’m new to Rails. I have an application with a group of external links . I would like to track the first time someone clicks on one of those links in my DB. What is the standard “Rails” way to do something like thi…

---

## [Paginating\_find repository missing?](https://www.ruby-forum.com/t/paginating-find-repository-missing/159044)

<div class="topic-metadata">

**Author:** [@Chad](https://www.ruby-forum.com/u/Chad)\
**Replies:** 2\
**Last updated:** [January 31, 2009, 4:31am UTC](https://www.ruby-forum.com/t/paginating-find-repository-missing/159044 "2009-01-31T04:31:14Z")

</div>

Am I totally crazy, is there a reason I can not find the paginating\_find plugin anywhere? Everyone points to cardboardrocket.com but that server has been down, apparently perm. I need to implement pagination and re…

---

## [Proxy SSL redirects](https://www.ruby-forum.com/t/proxy-ssl-redirects/158312)

<div class="topic-metadata">

**Author:** [@Pavel\_Ivashkov](https://www.ruby-forum.com/u/Pavel_Ivashkov)\
**Replies:** 2\
**Last updated:** [January 22, 2009, 11:06am UTC](https://www.ruby-forum.com/t/proxy-ssl-redirects/158312 "2009-01-22T11:06:56Z")

</div>

Hello all, I have configured nginx-0.7.31 to proxy SSL requests (see config below; and yes - I need SSL on the back-end as well as on the front-end). While it perfectly works for cia back-end, I have an issue with p…

---

## [How to define primary\_key at migrate](https://www.ruby-forum.com/t/how-to-define-primary-key-at-migrate/157748)

<div class="topic-metadata">

**Author:** [@hapkido\_kid](https://www.ruby-forum.com/u/hapkido_kid)\
**Replies:** 2\
**Last updated:** [January 15, 2009, 4:32pm UTC](https://www.ruby-forum.com/t/how-to-define-primary-key-at-migrate/157748 "2009-01-15T16:32:32Z")

</div>

Hi, I am a newbie. I am wondering if anyone can show me how to define a primary\_key at migrate create table (:zis, :primary\_key =\> ‘quwie’) do |t| t.column :quwie, :integer, :limit =\> 4 end Is it the right way to d…

---

## [Problem with carrier sense in USRP](https://www.ruby-forum.com/t/problem-with-carrier-sense-in-usrp/153256)

<div class="topic-metadata">

**Author:** [@shirve](https://www.ruby-forum.com/u/shirve)\
**Replies:** 2\
**Last updated:** [January 2, 2009, 5:29am UTC](https://www.ruby-forum.com/t/problem-with-carrier-sense-in-usrp/153256 "2009-01-02T05:29:18Z")

</div>

Hi, I am testing the carrier sense mechanism on USRP based on code from benchmark\_tx.py and tunnel.py. My scenario is to receive packets from two distinctive nodes simultaneously at the third node. I am prefixing the …

---

## [REST, Nested Routes and Best Practices](https://www.ruby-forum.com/t/rest-nested-routes-and-best-practices/154973)

<div class="topic-metadata">

**Author:** [@bmgreeley](https://www.ruby-forum.com/u/bmgreeley)\
**Replies:** 2\
**Last updated:** [December 5, 2008, 10:37pm UTC](https://www.ruby-forum.com/t/rest-nested-routes-and-best-practices/154973 "2008-12-05T22:37:40Z")

</div>

Hi everyone, I am trying to strictly adhere to REST and I have a few code organization questions. My database tables are as follows: USERS GROUPS GROUP\_USERS EVENTS EVENT\_USERS The relationships are as follows: …

---

## [How do I tell an object it is invalid?](https://www.ruby-forum.com/t/how-do-i-tell-an-object-it-is-invalid/145750)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [August 13, 2008, 9:24pm UTC](https://www.ruby-forum.com/t/how-do-i-tell-an-object-it-is-invalid/145750 "2008-08-13T21:24:56Z")

</div>

Hi, How do I tell an object that it is not valid? My model is class EcOrder \< ActiveRecord::Base has\_many :ec\_line\_items validates\_associated :ec\_line\_items … end and in addition to the above, I want the model to…

---

## [Is it a feature ? Or is it a bug?](https://www.ruby-forum.com/t/is-it-a-feature-or-is-it-a-bug/145409)

<div class="topic-metadata">

**Author:** [@gbenoit79](https://www.ruby-forum.com/u/gbenoit79)\
**Replies:** 2\
**Last updated:** [August 8, 2008, 10:47pm UTC](https://www.ruby-forum.com/t/is-it-a-feature-or-is-it-a-bug/145409 "2008-08-08T22:47:43Z")

</div>

Salut ! Un petit truc que je viens de trouver, et je n’arrive pas à comprendre le phénomène. En attendant, je devenais fou, et maintenant je sais pourquoi (-; Je crée un nouveau projet rails (je pense que ça ne le fa…

---

## [Using a has\_many association with a LEFt JOIN](https://www.ruby-forum.com/t/using-a-has-many-association-with-a-left-join/143757)

<div class="topic-metadata">

**Author:** [@Rory\_McKinley](https://www.ruby-forum.com/u/Rory_McKinley)\
**Replies:** 2\
**Last updated:** [July 23, 2008, 7:00am UTC](https://www.ruby-forum.com/t/using-a-has-many-association-with-a-left-join/143757 "2008-07-23T07:00:21Z")

</div>

Hello List I have a Milestone model as follows: class Milestone \< ActiveRecord::Base belongs\_to :goal belongs\_to :user has\_many :progresses, :order =\> ‘created\_at DESC’ has\_many :views Which has an association wit…

---

## [Selenium docs or tutorial?](https://www.ruby-forum.com/t/selenium-docs-or-tutorial/143371)

<div class="topic-metadata">

**Author:** [@djconcepcion](https://www.ruby-forum.com/u/djconcepcion)\
**Replies:** 2\
**Last updated:** [July 17, 2008, 9:00pm UTC](https://www.ruby-forum.com/t/selenium-docs-or-tutorial/143371 "2008-07-17T21:00:58Z")

</div>

Does anyone have links to any complete Selenium docs or tutorial? I have Selenium 1.0.9 installed (OS X, Leopard), the proxy server appears to launch ok, and got the test to reach: @browser = Selenium::SeleniumDriver.…

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

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