# Top

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

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

---

## [Ternary operator](https://www.ruby-forum.com/t/ternary-operator/146367)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 4\
**Last updated:** [August 20, 2008, 11:41am UTC](https://www.ruby-forum.com/t/ternary-operator/146367 "2008-08-20T11:41:28Z")

</div>

Hi In my rhtml file I have tried \<% @problem.reproducible ? "Yes" : "No" %\> reproducible is a boolean field.The above not working And i checked \<% @problem.reproducible ? puts("Yes") : puts("No") …

---

## [Recommendation for separating bilingual contents](https://www.ruby-forum.com/t/recommendation-for-separating-bilingual-contents/143658)

<div class="topic-metadata">

**Author:** [@tadatoshi](https://www.ruby-forum.com/u/tadatoshi)\
**Replies:** 4\
**Last updated:** [July 22, 2008, 11:56pm UTC](https://www.ruby-forum.com/t/recommendation-for-separating-bilingual-contents/143658 "2008-07-22T23:56:51Z")

</div>

Hi, Is there any recommended way to separate the contents for different languages e.g. English and French? Especially, when the content is added by the user separately in English and French for the same one topic, ho…

---

## [How to use a controller/model in a different view](https://www.ruby-forum.com/t/how-to-use-a-controller-model-in-a-different-view/132313)

<div class="topic-metadata">

**Author:** [@tresero](https://www.ruby-forum.com/u/tresero)\
**Replies:** 4\
**Last updated:** [March 20, 2008, 9:17pm UTC](https://www.ruby-forum.com/t/how-to-use-a-controller-model-in-a-different-view/132313 "2008-03-20T21:17:16Z")

</div>

I am trying to put a random rss feed in the main (application) view. The code works if I surf to /feed/, but if I use the same partial outside of views/feeds/ I get errors about nil objects. It seems that the partial …

---

## [Inheritance with Ruby](https://www.ruby-forum.com/t/inheritance-with-ruby/131099)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 4\
**Last updated:** [March 6, 2008, 4:57pm UTC](https://www.ruby-forum.com/t/inheritance-with-ruby/131099 "2008-03-06T16:57:38Z")

</div>

I would like to create a new superclass ‘Super’ for an existing class ‘Sub’ class Sub def new #do something second end end class Super \< Sub def new #do something first end end Is it possible create this new …

---

## [Each\_byte question](https://www.ruby-forum.com/t/each-byte-question/130066)

<div class="topic-metadata">

**Author:** [@lmcdougal](https://www.ruby-forum.com/u/lmcdougal)\
**Replies:** 4\
**Last updated:** [February 25, 2008, 3:12pm UTC](https://www.ruby-forum.com/t/each-byte-question/130066 "2008-02-25T15:12:27Z")

</div>

Hi, I am new to Ruby(v 1.8.6), I will like to know if is possible to use multiple lines on a block for the each\_byte method on strings. Something like: coset=9 i=0 message = “adsfasdfakjhkjhowerjkbvmzbcnvkfhoeiwr…

---

## [Suggestion: Proc#curry](https://www.ruby-forum.com/t/suggestion-proc-curry/128616)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 4\
**Last updated:** [February 13, 2008, 1:57pm UTC](https://www.ruby-forum.com/t/suggestion-proc-curry/128616 "2008-02-13T13:57:57Z")

</div>

e$B1sF#$H?=$7$^$9!#e(B http://subtech.g.hatena.ne.jp/cho45/20071119/1195420784 e$B$GDs0F$5$l$F$$$ke(B Proc#curry e$B$rAH$\_9~$\`$N$O$I$&$G$7$g$&$+!#e(B proc {|x, y, z| x + y + z }.curry e$B$,e(B proc {|x| proc {|y| pr…

---

## [1.8.6 or 2.0?](https://www.ruby-forum.com/t/1-8-6-or-2-0/125098)

<div class="topic-metadata">

**Author:** [@Bensoussan\_M](https://www.ruby-forum.com/u/Bensoussan_M)\
**Replies:** 4\
**Last updated:** [January 14, 2008, 10:18pm UTC](https://www.ruby-forum.com/t/1-8-6-or-2-0/125098 "2008-01-14T22:18:44Z")

</div>

Hi we are actually beginning a two-years project which will be developped in rails. Our developers dont know rails, they are learning it, but do you think its a better idea to begin with the 1.8.6 (with a lot of help…

---

## [Request timeout question](https://www.ruby-forum.com/t/request-timeout-question/122982)

<div class="topic-metadata">

**Author:** [@adrian](https://www.ruby-forum.com/u/adrian)\
**Replies:** 4\
**Last updated:** [December 13, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/request-timeout-question/122982 "2007-12-13T17:52:47Z")

</div>

Hi All I am trying to generate pdf reports/documents based on time consuming database queries and associated calculations. When these are run in development mode they work fine (apart from taking a long time 5-10mins…

---

## [Routing Problem using 2.0.1](https://www.ruby-forum.com/t/routing-problem-using-2-0-1/122555)

<div class="topic-metadata">

**Author:** [@bbebop](https://www.ruby-forum.com/u/bbebop)\
**Replies:** 4\
**Last updated:** [December 9, 2007, 8:58pm UTC](https://www.ruby-forum.com/t/routing-problem-using-2-0-1/122555 "2007-12-09T20:58:00Z")

</div>

I’ve run into a problem upgrading an app to rails 2.0.1. All of this worked under 1.2.6, but I’m not sure if the problem is caused by a bug or changed behavior in 2.0.1. this routing: map.resources :bands do |t| t.r…

---

## [Can't modify literal regexp: why?](https://www.ruby-forum.com/t/cant-modify-literal-regexp-why/120117)

<div class="topic-metadata">

**Author:** [@jeremysarda](https://www.ruby-forum.com/u/jeremysarda)\
**Replies:** 4\
**Last updated:** [November 14, 2007, 7:59pm UTC](https://www.ruby-forum.com/t/cant-modify-literal-regexp-why/120117 "2007-11-14T19:59:02Z")

</div>

I was just curious as to why this is illegal. Example: $ irb /blah/.clone SecurityError: can’t modify literal regexp from (irb):1:in initialize\_copy' from (irb):1:inclone’ from (irb):1 Regexp.new(/blah/).clon…

---

## [Has\_and\_belongs\_to\_many between the same model](https://www.ruby-forum.com/t/has-and-belongs-to-many-between-the-same-model/120086)

<div class="topic-metadata">

**Author:** [@albertosesena](https://www.ruby-forum.com/u/albertosesena)\
**Replies:** 4\
**Last updated:** [November 13, 2007, 5:21pm UTC](https://www.ruby-forum.com/t/has-and-belongs-to-many-between-the-same-model/120086 "2007-11-13T17:21:28Z")

</div>

Hi! I have two models: Jewel and Crate. A crate can contain other crates and it can also contain as many jewels as we want. So, in jewel.rb i put: belongs\_to :crate and in crate.rb: has\_many :jewels has\_and\_bel…

---

## [Setup to replace Lighttpd + FCGI?](https://www.ruby-forum.com/t/setup-to-replace-lighttpd-fcgi/116785)

<div class="topic-metadata">

**Author:** [@rohit](https://www.ruby-forum.com/u/rohit)\
**Replies:** 4\
**Last updated:** [October 9, 2007, 10:24pm UTC](https://www.ruby-forum.com/t/setup-to-replace-lighttpd-fcgi/116785 "2007-10-09T22:24:49Z")

</div>

I’m considering moving from my Lighttpd + FCGI setup to some server (Apache, Nginx, or Lighttpd) balancing a Mongrel cluster. As you know, everyone has different opinions about which setup is best. I have 512 MB VPS,…

---

## [Ajax request on page load](https://www.ruby-forum.com/t/ajax-request-on-page-load/116390)

<div class="topic-metadata">

**Author:** [@silvertab](https://www.ruby-forum.com/u/silvertab)\
**Replies:** 4\
**Last updated:** [October 5, 2007, 6:22am UTC](https://www.ruby-forum.com/t/ajax-request-on-page-load/116390 "2007-10-05T06:22:10Z")

</div>

I’m trying to do something rather simple (I think) but being new to rails, I’m not sure how I should proceed… What I want to do in simple terms is: When the my page load, get some data from a table (let’s call that ta…

---

## [Application error](https://www.ruby-forum.com/t/application-error/115602)

<div class="topic-metadata">

**Author:** [@Ruby\_Newby](https://www.ruby-forum.com/u/Ruby_Newby)\
**Replies:** 4\
**Last updated:** [September 26, 2007, 6:59pm UTC](https://www.ruby-forum.com/t/application-error/115602 "2007-09-26T18:59:01Z")

</div>

What could possibly cause this error: Application error Rails application failed to start properly" When I load a controller in a browser? I have created the controller, model, and view; created the database table, …

---

## [Application Trouble](https://www.ruby-forum.com/t/application-trouble/115280)

<div class="topic-metadata">

**Author:** [@MrSWatson](https://www.ruby-forum.com/u/MrSWatson)\
**Replies:** 4\
**Last updated:** [September 23, 2007, 2:42am UTC](https://www.ruby-forum.com/t/application-trouble/115280 "2007-09-23T02:42:27Z")

</div>

I cannot for any circumstances get my application to work. I have Ruby on Rails on Windows XP. It will NOT connect my database for some reason. I am using Instant Rails. I have Apache and MySQL turned on. What I have …

---

## [Checking for html forms with www::mechenize](https://www.ruby-forum.com/t/checking-for-html-forms-with-www-mechenize/115136)

<div class="topic-metadata">

**Author:** [@animate123](https://www.ruby-forum.com/u/animate123)\
**Replies:** 4\
**Last updated:** [September 21, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/checking-for-html-forms-with-www-mechenize/115136 "2007-09-21T17:50:17Z")

</div>

I want to run a check to see which pages have forms and which ones don’t from a file with url’s. I’m using the size of the form to make that determination. But after I get to the 13 url in the file I get an error and …

---

## [24 seconds for FASTCGI process to startup? Is this normal?](https://www.ruby-forum.com/t/24-seconds-for-fastcgi-process-to-startup-is-this-normal/111880)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 4\
**Last updated:** [August 15, 2007, 6:59pm UTC](https://www.ruby-forum.com/t/24-seconds-for-fastcgi-process-to-startup-is-this-normal/111880 "2007-08-15T18:59:41Z")

</div>

Hi, I’m on Dreamhost for hosting and have been finding that (noting Dreamhost kill off ruby processes) the first page return takes 20-40seconds, after which things go ok. I’ve put some logging in the “dispatch.fcgi”…

---

## [Attachment\_fu undefined method \`upload\_data='](https://www.ruby-forum.com/t/attachment-fu-undefined-method-upload-data/110421)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [July 27, 2007, 5:51pm UTC](https://www.ruby-forum.com/t/attachment-fu-undefined-method-upload-data/110421 "2007-07-27T17:51:15Z")

</div>

Uh, I’m kind of trying to follow the Mike C. tutorial on attachment\_fu but uh, seems it is incomplete… I get this error on submitting the form with upload undefined method \`upload\_data=’ What’s that? Where do I defi…

---

## [1.8.5 $B$N(B svn $B0\\9T$G$A$g$C$HLdBj(B](https://www.ruby-forum.com/t/1-8-5-b-n-b-svn-b0-9t-g-a-g-c-hldbj-b/80281)

<div class="topic-metadata">

**Author:** [@Urabe\_S](https://www.ruby-forum.com/u/Urabe_S)\
**Replies:** 4\
**Last updated:** [December 25, 2006, 9:33am UTC](https://www.ruby-forum.com/t/1-8-5-b-n-b-svn-b0-9t-g-a-g-c-hldbj-b/80281 "2006-12-25T09:33:22Z")

</div>

e$BKNIt$G$9!#e(B e$B$H$$$&$o$1$Ge(BSubversione$B$K$$$m$$$m0$C$?$o$1$G$9$,!"$J$s$+e(B{cvs,svn} export e$B$7$?$N$re(Bdiffe$B$H$C$F8+$?$i7k9=JQ$o$C$F$k$s$G$9$h!#%-!\<%o!\<%ICV49$N2s$j$,!#e(B e$B$^$"%3%a%s%H$NCf$K$R$C$=$je…

---

## [Acts\_as\_authenticated plugin test help](https://www.ruby-forum.com/t/acts-as-authenticated-plugin-test-help/79261)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [December 14, 2006, 10:59pm UTC](https://www.ruby-forum.com/t/acts-as-authenticated-plugin-test-help/79261 "2006-12-14T22:59:13Z")

</div>

Hi, We are using acts\_as\_authenticated plugin latest version as of a couple of days back. The before\_filter :login\_required was added to the application controller. So far so good. However the functional tests are a…

---

## [Cicli for nel controller, problema con le view](https://www.ruby-forum.com/t/cicli-for-nel-controller-problema-con-le-view/78615)

<div class="topic-metadata">

**Author:** [@giovanno](https://www.ruby-forum.com/u/giovanno)\
**Replies:** 4\
**Last updated:** [December 7, 2006, 5:33pm UTC](https://www.ruby-forum.com/t/cicli-for-nel-controller-problema-con-le-view/78615 "2006-12-07T17:33:01Z")

</div>

Ciao a tutti, una riunione ha piÃ¹ sessioni, una sessione ha piÃ¹ relazioni, ogni relazione ha un solo relatore. Voglio avere la lista di tutti i relatori con sotto a ciascuno le relazioni di cui Ã¨ relatore dentro qu…

---

## [Adding times](https://www.ruby-forum.com/t/adding-times/73405)

<div class="topic-metadata">

**Author:** [@EBEBEB](https://www.ruby-forum.com/u/EBEBEB)\
**Replies:** 4\
**Last updated:** [October 24, 2006, 2:52pm UTC](https://www.ruby-forum.com/t/adding-times/73405 "2006-10-24T14:52:17Z")

</div>

Ok, I try to use ruby for all sorts on-the-fly things as they come up so that I can practice & learn about it :slight\_smile: So, I’m looking up Ruby in a Nutshell, and amazon says if I order in the next 10 hours and 4…

---

## [Ruby / osx / mysql](https://www.ruby-forum.com/t/ruby-osx-mysql/70584)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [September 30, 2006, 6:24pm UTC](https://www.ruby-forum.com/t/ruby-osx-mysql/70584 "2006-09-30T18:24:38Z")

</div>

hi list - on windows i was able to install mysql drivers for ruby simply with gem. on osx, these seem not to work (pure ruby drivers) with current versions of mysql… is it really true i have to go through compiling /…

---

## [Paying Others?](https://www.ruby-forum.com/t/paying-others/69957)

<div class="topic-metadata">

**Author:** [@sshefer](https://www.ruby-forum.com/u/sshefer)\
**Replies:** 4\
**Last updated:** [September 26, 2006, 4:22am UTC](https://www.ruby-forum.com/t/paying-others/69957 "2006-09-26T04:22:40Z")

</div>

Hi all, I have built a web shop and love the PayPal plugin but am looking for a way to pay contributors that upload content. Is there any easy way to do this? Ideally, I would like to transfer it to their paypal acco…

---

## [Any good Javascript learning book recommendations?](https://www.ruby-forum.com/t/any-good-javascript-learning-book-recommendations/68735)

<div class="topic-metadata">

**Author:** [@Terry\_D](https://www.ruby-forum.com/u/Terry_D)\
**Replies:** 4\
**Last updated:** [September 15, 2006, 6:17am UTC](https://www.ruby-forum.com/t/any-good-javascript-learning-book-recommendations/68735 "2006-09-15T06:17:09Z")

</div>

I’m looking for a good book on learning javascript to help round out my webdev skills. Any opinions on what the best book to get to learn would be? Thanks for any suggestions! – Terry (TAD) Donaghe http://www.tads…

---

## [\#88 Chip-8](https://www.ruby-forum.com/t/88-chip-8/100601)

<div class="topic-metadata">

**Author:** [@tomrobinson](https://www.ruby-forum.com/u/tomrobinson)\
**Replies:** 4\
**Last updated:** [July 31, 2006, 11:05pm UTC](https://www.ruby-forum.com/t/88-chip-8/100601 "2006-07-31T23:05:50Z")

</div>

Hi, Here is my solution to the current quiz. It has a few flaws, and it uses a method call for each statement (which is probably quite slow). The nice thing is that you can dump a program and view it in an assembler-…

---

## [Subversion and Capistrano](https://www.ruby-forum.com/t/subversion-and-capistrano/59179)

<div class="topic-metadata">

**Author:** [@al-evans](https://www.ruby-forum.com/u/al-evans)\
**Replies:** 4\
**Last updated:** [May 3, 2006, 6:56pm UTC](https://www.ruby-forum.com/t/subversion-and-capistrano/59179 "2006-05-03T18:56:34Z")

</div>

I have a project under Subversion, deployed by Capistrano. When it is deployed, obviously I need to deploy “real” copies of database.yml, deploy.rb, and maybe a couple of other files. But if I offer it for public chec…

---

## [Beginner - multiobject searches](https://www.ruby-forum.com/t/beginner-multiobject-searches/53865)

<div class="topic-metadata">

**Author:** [@djmorphine](https://www.ruby-forum.com/u/djmorphine)\
**Replies:** 4\
**Last updated:** [February 16, 2006, 5:19pm UTC](https://www.ruby-forum.com/t/beginner-multiobject-searches/53865 "2006-02-16T17:19:58Z")

</div>

Hi folks, Bit confused by rails and the active record stuff for searching across tables. Say I have a property which has an address and I want to search to provide a form that takes one item and searches across both …

---

## [Simple formmail question](https://www.ruby-forum.com/t/simple-formmail-question/96730)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 4\
**Last updated:** [January 25, 2006, 7:37pm UTC](https://www.ruby-forum.com/t/simple-formmail-question/96730 "2006-01-25T19:37:43Z")

</div>

I have a few forms that I’d like users to fill out. The results of the form will be sent to a few addresses. What’s the least painless way to do this and keep everything DRY? There’s no database involved. Ideally, I…

---

## [Class Method](https://www.ruby-forum.com/t/class-method/242652)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [July 14, 2015, 12:36pm UTC](https://www.ruby-forum.com/t/class-method/242652 "2015-07-14T12:36:31Z")

</div>

class TaxCalculator attr\_accessor :legal\_name, :total\_income, :health\_insurance, :pension, :unemployment, :flat\_tax\_rate @@flat\_tax\_rate=0.10 #The flat income tax rate is the same across all individuals. def initia…

---

## [How make a \*.t block](https://www.ruby-forum.com/t/how-make-a-t-block/241854)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 6, 2015, 8:37am UTC](https://www.ruby-forum.com/t/how-make-a-t-block/241854 "2015-05-06T08:37:10Z")

</div>

Looking inside gnuradio,I’ve found blocks like divide\_XX where relative files have an extension .t (like divide\_XX\_impl.cc.t )…in this way,is possible to manage different types for the same block. How is posssible to …

---

## [FCDproplus: "FunCumb Dongle V2.0 soundcard found but not controlpart"](https://www.ruby-forum.com/t/fcdproplus-funcumb-dongle-v2-0-soundcard-found-but-not-controlpart/241834)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 5, 2015, 7:15am UTC](https://www.ruby-forum.com/t/fcdproplus-funcumb-dongle-v2-0-soundcard-found-but-not-controlpart/241834 "2015-05-05T07:15:21Z")

</div>

There were a few threads a while back where this problem was discussed.It seemed the issue was never debugged, just disappeared after a clean install. About as clean as I know to make it: Running Ubuntu 14.04 LTS fro…

---

## [How to "undo" a global server deny all in a location block](https://www.ruby-forum.com/t/how-to-undo-a-global-server-deny-all-in-a-location-block/234507)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 10, 2015, 1:07am UTC](https://www.ruby-forum.com/t/how-to-undo-a-global-server-deny-all-in-a-location-block/234507 "2015-03-10T01:07:32Z")

</div>

Is it possible to undo a server level deny all; inside a more specific location block? See the following: server { allow 1.2.3.4; allow 2.3.4.5; deny all; location / { location ~ ^/api/(?\<url\>.\*) { # …

---

## [How can I log into this site using ruby?](https://www.ruby-forum.com/t/how-can-i-log-into-this-site-using-ruby/233861)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 18, 2015, 5:10pm UTC](https://www.ruby-forum.com/t/how-can-i-log-into-this-site-using-ruby/233861 "2015-01-18T17:10:04Z")

</div>

I’ve mucked with mechanize in the past but I can’t get mechanize to log into Customer Login, looks like its javascript. Can someone help me automate a log into this site?

---

## [IEEE Signal Intelligence Challenge -- Recap and Preview](https://www.ruby-forum.com/t/ieee-signal-intelligence-challenge-recap-and-preview/233427)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 7, 2015, 3:52pm UTC](https://www.ruby-forum.com/t/ieee-signal-intelligence-challenge-recap-and-preview/233427 "2015-01-07T15:52:19Z")

</div>

Everyone, in 2014, the IEEE Student Branch Karlsruhe organized a signal intelligence challenge for students. I had promised to send a recap to this list, but completely forgotten about it – however, this does mean th…

---

## [Cmake error](https://www.ruby-forum.com/t/cmake-error/231649)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 21, 2014, 11:37am UTC](https://www.ruby-forum.com/t/cmake-error/231649 "2014-08-21T11:37:47Z")

</div>

Hi I tried to implement python OOT module as given in the new tutorial. Everything was fine till I reached the installation step. cmake command made the following error… – Build type not specified: defaulting to rele…

---

## [Query on simulation of MIMO on Gnuradio](https://www.ruby-forum.com/t/query-on-simulation-of-mimo-on-gnuradio/231398)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 7, 2014, 10:35am UTC](https://www.ruby-forum.com/t/query-on-simulation-of-mimo-on-gnuradio/231398 "2014-08-07T10:35:53Z")

</div>

Hi, we are trying to implement alamouti encoding and decoding on an underlying ofdm communication system in Gnuradio. So we are using benchmark\_tx.py. In ofdm mapper block we have written our own block which does a…

---

## [Nginx +](https://www.ruby-forum.com/t/nginx/230395)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 16, 2014, 5:14pm UTC](https://www.ruby-forum.com/t/nginx/230395 "2014-06-16T17:14:46Z")

</div>

Sorry to ask this, but does using this require a support contract? I’m interested in the streaming stuff, but it’s not worth $1300/yr to me… Cheers, Steve Steve H. BSc(Hons) MIITP Linkedin: http://www.linkedin.com/…

---

## [Nginx like Rewrite feature (.htaccess) doesn't seem to be working (Help)](https://www.ruby-forum.com/t/nginx-like-rewrite-feature-htaccess-doesnt-seem-to-be-working-help/239185)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [February 17, 2014, 11:38am UTC](https://www.ruby-forum.com/t/nginx-like-rewrite-feature-htaccess-doesnt-seem-to-be-working-help/239185 "2014-02-17T11:38:03Z")

</div>

Good Morning. I’m making a site and I want to make the link more usable so I used the Apache’s RewriteCond which is the one I more comfortable with. I know that there are a site or two that lets me convert and so I u…

---

## [\[ruby-trunk - Bug #8060\]\[Open\] Dir.new に意味のないキーワード引数を与えてもエラーにならない](https://www.ruby-forum.com/t/ruby-trunk-bug-8060-open-dir-new/227279)

<div class="topic-metadata">

**Author:** [@tadf\_Stadayoshi\_fun](https://www.ruby-forum.com/u/tadf_Stadayoshi_fun)\
**Replies:** 1\
**Last updated:** [November 29, 2013, 11:16am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8060-open-dir-new/227279 "2013-11-29T11:16:46Z")

</div>

Issue #8060 has been reported by tadf (tadayoshi funaba). Bug #8060: Dir.new に意味のないキーワード引数を与えてもエラーにならない Author: tadf (tadayoshi funaba) Status: Open Priority: Low Assignee: Category: Target version: ruby -v: ru…

---

## [Link error in compilation of sample programs in /uhd/host/examples](https://www.ruby-forum.com/t/link-error-in-compilation-of-sample-programs-in-uhd-host-examples/228610)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 30, 2013, 5:47am UTC](https://www.ruby-forum.com/t/link-error-in-compilation-of-sample-programs-in-uhd-host-examples/228610 "2013-04-30T05:47:27Z")

</div>

Hi all, I installed GnuRadio+UHD onto Ubuntu 12.10(64bit) and 13.04(64bit) by using build-gnuradio script in http://www.sbrac.org/files/build-gnuradio. No error message had been displayed in the installation. But a …

---

## [Clue about deleting empty directories in a file structure?](https://www.ruby-forum.com/t/clue-about-deleting-empty-directories-in-a-file-structure/224684)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [November 21, 2012, 6:50pm UTC](https://www.ruby-forum.com/t/clue-about-deleting-empty-directories-in-a-file-structure/224684 "2012-11-21T18:50:26Z")

</div>

I have been playing around w Dir and FileUtils, and I can delete the stuff I want to get rid off , but then I get some empty folders is there any way to remove ( recursively… ) all empty folders ? I found a piece of …

---

## [Postgres Timestamp Fields Displayed with Time format](https://www.ruby-forum.com/t/postgres-timestamp-fields-displayed-with-time-format/206214)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [April 26, 2011, 9:56am UTC](https://www.ruby-forum.com/t/postgres-timestamp-fields-displayed-with-time-format/206214 "2011-04-26T09:56:59Z")

</div>

I have Time fields in my PostgreSQL tables, which I force to display as time only with this entry in config/locales/en.yml: time: formats: default: “%H:%M:%S” Problem is, that format is now applied to Timestamp fiel…

---

## [Adding images for pagination links in will\_paginate](https://www.ruby-forum.com/t/adding-images-for-pagination-links-in-will-paginate/203285)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 17, 2011, 8:24am UTC](https://www.ruby-forum.com/t/adding-images-for-pagination-links-in-will-paginate/203285 "2011-02-17T08:24:17Z")

</div>

Hi, I am using will\_paginate for pagination. I have to show only Previous and Next links, that I have achieved by “:page\_links=\>false” parameter. Now I want to show the images instead of “Previous” and “Next” labels. …

---

## [RVM can't find executables](https://www.ruby-forum.com/t/rvm-cant-find-executables/201985)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 19, 2011, 12:50pm UTC](https://www.ruby-forum.com/t/rvm-cant-find-executables/201985 "2011-01-19T12:50:39Z")

</div>

System: Ubuntu 10.10 x64, Ruby: 1.9.2-p136 My paths seem to be ok, e.g. ruby -r rubygems -e "p Gem.path" =\> \["/home/myaccount/.rvm/gems/ruby-1.9.2-p136", “/home/myaccount/.rvm/gems/ruby-1.9.2-p136@global”\] gem -v =\> …

---

## [Correct spec for a scoped controller](https://www.ruby-forum.com/t/correct-spec-for-a-scoped-controller/194578)

<div class="topic-metadata">

**Author:** [@fannus](https://www.ruby-forum.com/u/fannus)\
**Replies:** 1\
**Last updated:** [September 7, 2010, 1:58pm UTC](https://www.ruby-forum.com/t/correct-spec-for-a-scoped-controller/194578 "2010-09-07T13:58:33Z")

</div>

In almost all my controllers I scope everything through an @account model object, e.g: #teams\_controller.rb def new @team = @account.teams.build end So far I have got passing specs using these: describe TeamsContr…

---

## [Life Phases of a Ruby Method](https://www.ruby-forum.com/t/life-phases-of-a-ruby-method/194432)

<div class="topic-metadata">

**Author:** [@reverri](https://www.ruby-forum.com/u/reverri)\
**Replies:** 1\
**Last updated:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/life-phases-of-a-ruby-method/194432 "2010-09-06T16:39:34Z")

</div>

The following is my idea of the phases that a Ruby method could go thru in it’s “lifetime.” (I’m generally applying this to Ruby Application APIs, not the MRI Core, but may work for the Core as well.) A method would n…

---

## [Rake spec - no output](https://www.ruby-forum.com/t/rake-spec-no-output/166861)

<div class="topic-metadata">

**Author:** [@tick](https://www.ruby-forum.com/u/tick)\
**Replies:** 1\
**Last updated:** [April 30, 2009, 9:52am UTC](https://www.ruby-forum.com/t/rake-spec-no-output/166861 "2009-04-30T09:52:10Z")

</div>

rake spec does not seem to be doing anything. Could it be a problem with ruby 1.9? Here is what I did: rails rspec-test cd rspec-test test.rb: config.gem “rspec”, :lib =\> false, :version =\> “\>= 1.2.0” test.rb: confi…

---

## [Rspec 1.1.99.10 rails 2.3 - help needed](https://www.ruby-forum.com/t/rspec-1-1-99-10-rails-2-3-help-needed/162154)

<div class="topic-metadata">

**Author:** [@rick](https://www.ruby-forum.com/u/rick)\
**Replies:** 1\
**Last updated:** [March 6, 2009, 11:19am UTC](https://www.ruby-forum.com/t/rspec-1-1-99-10-rails-2-3-help-needed/162154 "2009-03-06T11:19:17Z")

</div>

I checked first and found no conversation that matched my problem so here it is: I’m trying to get rspec going on ruby 1.9.1 / rails 2.3.0 - here’s my current gem list: \*\*\* LOCAL GEMS \*\*\* actionmailer (2.3.0) actio…

---

## [Recursive directory rename problem](https://www.ruby-forum.com/t/recursive-directory-rename-problem/159580)

<div class="topic-metadata">

**Author:** [@ransom](https://www.ruby-forum.com/u/ransom)\
**Replies:** 1\
**Last updated:** [February 6, 2009, 6:05am UTC](https://www.ruby-forum.com/t/recursive-directory-rename-problem/159580 "2009-02-06T06:05:36Z")

</div>

Problem: trying to standardize on a naming convention for all of my directories(OS agnostic). new structure should be all lower-case with hyphphens for spaces Using windows, I am running the following: Dir.foreach(".…

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

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