# Top

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

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

---

## [Shallow Routes en Edge no funciona del todo bien](https://www.ruby-forum.com/t/shallow-routes-en-edge-no-funciona-del-todo-bien/149258)

<div class="topic-metadata">

**Author:** [@aprendiz\_basico](https://www.ruby-forum.com/u/aprendiz_basico)\
**Replies:** 8\
**Last updated:** [September 23, 2008, 11:25pm UTC](https://www.ruby-forum.com/t/shallow-routes-en-edge-no-funciona-del-todo-bien/149258 "2008-09-23T23:25:43Z")

</div>

Hola gente, En routes agrego lo siguiente : map.resources :users, :shallow =\> true do |user| user.resources :articles do |article| article.resources :comments end end Aqui \[1\] se menciona que debe generar las ruta…

---

## [Eliminating threading](https://www.ruby-forum.com/t/eliminating-threading/80614)

<div class="topic-metadata">

**Author:** [@Piers\_C](https://www.ruby-forum.com/u/Piers_C)\
**Replies:** 8\
**Last updated:** [December 30, 2006, 3:15pm UTC](https://www.ruby-forum.com/t/eliminating-threading/80614 "2006-12-30T15:15:55Z")

</div>

I’ve just removed all threading from the ping sending code. I expect this to have a couple of effects: A probable perceived slowdown in posting. A possible improvement in memory usage. Threading certainly causes pain…

---

## [The RoR equivalent of out.write() in JSP?](https://www.ruby-forum.com/t/the-ror-equivalent-of-out-write-in-jsp/81861)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 8\
**Last updated:** [March 14, 2006, 10:02pm UTC](https://www.ruby-forum.com/t/the-ror-equivalent-of-out-write-in-jsp/81861 "2006-03-14T22:02:25Z")

</div>

All, In JSP, I can output strings in the Web page by either \<%= foo %\> //foo is a string or returns a string or \<% out.write(“test”) %\> //write directly to the output stream. What is the method of “writing to the ou…

---

## [Fastcgi cache use stale "updating" — improvement suggestion](https://www.ruby-forum.com/t/fastcgi-cache-use-stale-updating-improvement-suggestion/231971)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [September 11, 2014, 3:43pm UTC](https://www.ruby-forum.com/t/fastcgi-cache-use-stale-updating-improvement-suggestion/231971 "2014-09-11T15:43:09Z")

</div>

Hello All, fastcgi\_cache\_use\_stale is awesome, especially with “updating” parameter. But I have a feeling that it lacks a complementary parameter (or a separate setting to tune “updating” behaviour) that would instr…

---

## [Gaussian elimination or matrix inversion (solving a linear system) in GNURADIO](https://www.ruby-forum.com/t/gaussian-elimination-or-matrix-inversion-solving-a-linear-system-in-gnuradio/238335)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [January 5, 2014, 3:30pm UTC](https://www.ruby-forum.com/t/gaussian-elimination-or-matrix-inversion-solving-a-linear-system-in-gnuradio/238335 "2014-01-05T15:30:38Z")

</div>

Hi all, I am looking for any function/code or project which is helpful to solve a linear equation system by Gaussian elimination (or other kinds of matrix inversion). We know that In matlab there are many functions f…

---

## [No file uploads possible with mongrel?](https://www.ruby-forum.com/t/no-file-uploads-possible-with-mongrel/186720)

<div class="topic-metadata">

**Author:** [@logicat2001](https://www.ruby-forum.com/u/logicat2001)\
**Replies:** 3\
**Last updated:** [September 3, 2010, 2:19pm UTC](https://www.ruby-forum.com/t/no-file-uploads-possible-with-mongrel/186720 "2010-09-03T14:19:13Z")

</div>

Hello all! I am using mongrel in several production environments and it is working great! Now I have to put up some really large files (html multipart, no plugin used, some hundret Mb). The only thing I can produce wi…

---

## [Sort date array without using ruby's built-in date class](https://www.ruby-forum.com/t/sort-date-array-without-using-rubys-built-in-date-class/148010)

<div class="topic-metadata">

**Author:** [@newbee-robert](https://www.ruby-forum.com/u/newbee-robert)\
**Replies:** 3\
**Last updated:** [September 8, 2008, 10:53am UTC](https://www.ruby-forum.com/t/sort-date-array-without-using-rubys-built-in-date-class/148010 "2008-09-08T10:53:15Z")

</div>

Say for instance I have an array of dates in string format dates = \[‘06/12/08’, ‘11/11/06’, ‘01/01/07’\] I want to sort this array in ascending order without using Ruby’s built-in date class. Is there a way of doing th…

---

## [Somebody help me to get previous page url in RoR](https://www.ruby-forum.com/t/somebody-help-me-to-get-previous-page-url-in-ror/133768)

<div class="topic-metadata">

**Author:** [@karthikragu](https://www.ruby-forum.com/u/karthikragu)\
**Replies:** 3\
**Last updated:** [April 3, 2008, 1:12pm UTC](https://www.ruby-forum.com/t/somebody-help-me-to-get-previous-page-url-in-ror/133768 "2008-04-03T13:12:28Z")

</div>

hi all, im having a view page called “edit” and im having a back button in it.im using this edit view page in many place of my application.i want to go back to the page which calls this “edit” page no matter what th…

---

## [Java\_send with a CharSequence not working](https://www.ruby-forum.com/t/java-send-with-a-charsequence-not-working/241738)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 28, 2015, 11:57pm UTC](https://www.ruby-forum.com/t/java-send-with-a-charsequence-not-working/241738 "2015-04-28T23:57:07Z")

</div>

Consider the following in irb: a = java.lang.StringBuilder.new a.java\_send :append, \[java.lang.String\], “I am Here\\n” puts a yields “I am Here”, as expected. a.java\_send :append, \[java.lang.CharSequence\], “I am n…

---

## [Undefined local variable or method '\_FILE\_'](https://www.ruby-forum.com/t/undefined-local-variable-or-method-file/195111)

<div class="topic-metadata">

**Author:** [@metanolbr](https://www.ruby-forum.com/u/metanolbr)\
**Replies:** 2\
**Last updated:** [September 17, 2010, 6:09am UTC](https://www.ruby-forum.com/t/undefined-local-variable-or-method-file/195111 "2010-09-17T06:09:18Z")

</div>

Hi all, Don’t know why but when I try to use the FILE variable I’m getting the following error: irb(main):001:0\> puts File.dirname(FILE) NameError: undefined local variable or method \`FILE’ for main:Object from (irb…

---

## [Anything rails based app like pligg or digg out there?](https://www.ruby-forum.com/t/anything-rails-based-app-like-pligg-or-digg-out-there/73966)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [October 28, 2006, 8:23pm UTC](https://www.ruby-forum.com/t/anything-rails-based-app-like-pligg-or-digg-out-there/73966 "2006-10-28T20:23:47Z")

</div>

I am wanting to do something like digg but internally at our company and am looking for a rails based starting point. There is something out there called pligg which seems pretty good, but it is PHP based and I expec…

---

## [Rake tasks to copy files?](https://www.ruby-forum.com/t/rake-tasks-to-copy-files/54074)

<div class="topic-metadata">

**Author:** [@subimage](https://www.ruby-forum.com/u/subimage)\
**Replies:** 2\
**Last updated:** [February 23, 2006, 2:47am UTC](https://www.ruby-forum.com/t/rake-tasks-to-copy-files/54074 "2006-02-23T02:47:22Z")

</div>

How/when are the files in my engine’s public folder copied over into engine\_files? Is there a rake task or something I can call to transfer it over? I looked but I’m feeling that I might be missing something… Thanks …

---

## [JRuby Rack question....is the java request + session available globally?](https://www.ruby-forum.com/t/jruby-rack-question-is-the-java-request-session-available-globally/150278)

<div class="topic-metadata">

**Author:** [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Replies:** 7\
**Last updated:** [October 7, 2008, 7:50pm UTC](https://www.ruby-forum.com/t/jruby-rack-question-is-the-java-request-session-available-globally/150278 "2008-10-07T19:50:42Z")

</div>

Hi All- I’ve got a rails app I’m converting to jruby/warbler that uses Memcache to cache some web service calls. I’d like to remove that dependency to Memcache. To that end, I’m trying to change the cache location …

---

## [Root ignored for "location = /"?](https://www.ruby-forum.com/t/root-ignored-for-location/238988)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 6, 2014, 4:53pm UTC](https://www.ruby-forum.com/t/root-ignored-for-location/238988 "2014-02-06T16:53:12Z")

</div>

Hello, I want the index.html file in a particular directory to only be served when the domain’s root URI is requested. Using the config server example.com; index index.html; location = / { root path/to/dir; } a …

---

## [UHD recv timestamp differs from stream command time spec](https://www.ruby-forum.com/t/uhd-recv-timestamp-differs-from-stream-command-time-spec/194345)

<div class="topic-metadata">

**Author:** [@meckart](https://www.ruby-forum.com/u/meckart)\
**Replies:** 2\
**Last updated:** [September 2, 2010, 8:42pm UTC](https://www.ruby-forum.com/t/uhd-recv-timestamp-differs-from-stream-command-time-spec/194345 "2010-09-02T20:42:06Z")

</div>

I’m using a USRP2 with UHD and starting a receive a short time in the future. I have an external reference and PPS. Below is the pertinent code, slightly simplified. The timestamp returned in the metadata by recv is a…

---

## [Encoding, "extended ansi", and unicode in 1.9](https://www.ruby-forum.com/t/encoding-extended-ansi-and-unicode-in-1-9/190174)

<div class="topic-metadata">

**Author:** [@denno](https://www.ruby-forum.com/u/denno)\
**Replies:** 4\
**Last updated:** [February 6, 2022, 3:49pm UTC](https://www.ruby-forum.com/t/encoding-extended-ansi-and-unicode-in-1-9/190174 "2022-02-06T15:49:22Z")

</div>

I have a routine for converting ansi with “extended” ibm characters to html. It is as follows… EXTENDED\_ANSI\_TABLE = { 227.chr =\> “ ”, 32.chr =\> " ", 128.chr =\> “Ç”, #128 C, cedilla (199) 129.chr =\> “ü”, #129 u,…

---

## [Undefined method \`key?' for nil:NilClass, bcrypt-ruby, has\_secure\_password](https://www.ruby-forum.com/t/undefined-method-key-for-nil-nilclass-bcrypt-ruby-has-secure-password/219712)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [May 13, 2012, 2:05pm UTC](https://www.ruby-forum.com/t/undefined-method-key-for-nil-nilclass-bcrypt-ruby-has-secure-password/219712 "2012-05-13T14:05:29Z")

</div>

I’m going through DHH’s Agile Web D. with Rails for Rails 3.1. In chapter 14 they create a Users sign-in model/view/controller using the has\_secure\_password method. My user.rb file looks like this class User \< Active…

---

## [Rendering partials with ajax checkbox/observer](https://www.ruby-forum.com/t/rendering-partials-with-ajax-checkbox-observer/171617)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 4\
**Last updated:** [July 6, 2009, 6:21pm UTC](https://www.ruby-forum.com/t/rendering-partials-with-ajax-checkbox-observer/171617 "2009-07-06T18:21:26Z")

</div>

I decided to create an advanced search form which is stored in a partial called: \_search.html.erb Right now the partial just contains a simple two box nested form\_tag… In my index.html I have the following: \<% form\_…

---

## [Before\_filter for ActionMailer](https://www.ruby-forum.com/t/before-filter-for-actionmailer/129159)

<div class="topic-metadata">

**Author:** [@jonzo](https://www.ruby-forum.com/u/jonzo)\
**Replies:** 4\
**Last updated:** [February 15, 2008, 10:07am UTC](https://www.ruby-forum.com/t/before-filter-for-actionmailer/129159 "2008-02-15T10:07:06Z")

</div>

I’d like to execute some kind of before filter in my ActionMailer class… does anyone know how to do this? Specifically I let my users turn off email notifications, and I’d like to check their notification settings bef…

---

## [Accept sh heredocs to Ruby script](https://www.ruby-forum.com/t/accept-sh-heredocs-to-ruby-script/171738)

<div class="topic-metadata">

**Author:** [@ole](https://www.ruby-forum.com/u/ole)\
**Replies:** 5\
**Last updated:** [July 8, 2009, 5:35pm UTC](https://www.ruby-forum.com/t/accept-sh-heredocs-to-ruby-script/171738 "2009-07-08T17:35:55Z")

</div>

In sh, you can do this: $ cat \<\<donenow i like jam donenow i like jam $ This suggests to me that cat should receive a temporary file as a result of the heredoc that it can then display similar to the \<() con…

---

## [Question about Mechanize and Google API](https://www.ruby-forum.com/t/question-about-mechanize-and-google-api/116673)

<div class="topic-metadata">

**Author:** [@JesSSSSs\_Gabriel\_y\_S](https://www.ruby-forum.com/u/JesSSSSs_Gabriel_y_S)\
**Replies:** 5\
**Last updated:** [October 9, 2007, 9:33am UTC](https://www.ruby-forum.com/t/question-about-mechanize-and-google-api/116673 "2007-10-09T09:33:10Z")

</div>

Hi, I’m trying to use Mechanize to retrieve spreadsheets from Google Docs using the Google API. So far I got the ClientLogin to work, but I can’t seem to be able to use the Auth token they give me back. This is what …

---

## [ObjectSpace.define\_finalizer and memory leaks](https://www.ruby-forum.com/t/objectspace-define-finalizer-and-memory-leaks/115484)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 6:50pm UTC](https://www.ruby-forum.com/t/objectspace-define-finalizer-and-memory-leaks/115484 "2007-09-25T18:50:12Z")

</div>

i don’t think i’ve ever noticed this behaviour: cfp:~ \> cat a.rb class C def self.count c = 0 ObjectSpace.each\_object do |object| c += 1 if self === object rescue next end c end end loop do c = nil ### try w…

---

## [Syntax highlighting in IRB](https://www.ruby-forum.com/t/syntax-highlighting-in-irb/194235)

<div class="topic-metadata">

**Author:** [@ceekays](https://www.ruby-forum.com/u/ceekays)\
**Replies:** 3\
**Last updated:** [September 1, 2010, 2:26pm UTC](https://www.ruby-forum.com/t/syntax-highlighting-in-irb/194235 "2010-09-01T14:26:29Z")

</div>

I would like to know if there is a way of changing colors for IRB standard input ($stdin). What I am interested in “is having IRB highlighting syntax as I type”. Among other stuff, I would like to be able to: \* set i…

---

## [Eventfd() failed (38: Function not implemented)](https://www.ruby-forum.com/t/eventfd-failed-38-function-not-implemented/244009)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [February 5, 2016, 2:05pm UTC](https://www.ruby-forum.com/t/eventfd-failed-38-function-not-implemented/244009 "2016-02-05T14:05:59Z")

</div>

I try to run Nginx, but i have error: eventfd() failed (38: Function not implemented) I found this patch (Re: \[1.8.0 stable\] bug when install on old linux version) to 1.9.0, i cannot do diff so i do it manualy. So…

---

## [How to use gr-audio on Windows?](https://www.ruby-forum.com/t/how-to-use-gr-audio-on-windows/236187)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [August 20, 2013, 2:13am UTC](https://www.ruby-forum.com/t/how-to-use-gr-audio-on-windows/236187 "2013-08-20T02:13:25Z")

</div>

Hi Lists, I’ve install gnuradio on Windows following the link: http://voltronics.blogspot.com/2013/01/gnu-radio-windows-build-guide.html. It’s OK.After that, I’ve write program to read data from soundcard with gr-aud…

---

## [Nginx eating all RAM, log files?](https://www.ruby-forum.com/t/nginx-eating-all-ram-log-files/228438)

<div class="topic-metadata">

**Author:** [@jchengj](https://www.ruby-forum.com/u/jchengj)\
**Replies:** 6\
**Last updated:** [April 22, 2013, 9:33pm UTC](https://www.ruby-forum.com/t/nginx-eating-all-ram-log-files/228438 "2013-04-22T21:33:45Z")

</div>

I have two nginx instances (nginx/1.0.15) on a 4GB RAM machine. Each instance runs fewer than 25 requests as reported with stub\_status on; The problem is that once nginx is started from scratch it starts eating (or re…

---

## [Connecting Ruby and MySQL](https://www.ruby-forum.com/t/connecting-ruby-and-mysql/211193)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [August 30, 2011, 12:04am UTC](https://www.ruby-forum.com/t/connecting-ruby-and-mysql/211193 "2011-08-30T00:04:54Z")

</div>

I installed MySQL 5.5 ( mysql-installer-5.5.15.0.msi ) and mysql gem ( with “gem install mysql” command ) . Now I write a simple program ( from this website : Learn How to Blog and Build Websites for Profit! ) and wh…

---

## [Update\_rubygems problem](https://www.ruby-forum.com/t/update-rubygems-problem/201165)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [January 1, 2011, 3:46pm UTC](https://www.ruby-forum.com/t/update-rubygems-problem/201165 "2011-01-01T15:46:04Z")

</div>

I am using ubuntu 10.04. Downloaded ruby-1.9.2-p136 and installed it successfully. Then I tried to update rubygems, but whatever I try it does not work. sudo update\_rubygems or sudo gem update --system or cd /usr…

---

## [Safe sandbox for running untrusted code](https://www.ruby-forum.com/t/safe-sandbox-for-running-untrusted-code/139289)

<div class="topic-metadata">

**Author:** [@rubenfonseca](https://www.ruby-forum.com/u/rubenfonseca)\
**Replies:** 6\
**Last updated:** [June 3, 2008, 10:01am UTC](https://www.ruby-forum.com/t/safe-sandbox-for-running-untrusted-code/139289 "2008-06-03T10:01:26Z")

</div>

Hello @all! I’m sorry if this has been answered before, but I’m looking for an expert voice for this question. I would need if Ruby have a safe mechanism of running unsafe code on a sandbox environment. Image this si…

---

## [Ruby IDE for Windows](https://www.ruby-forum.com/t/ruby-ide-for-windows/195108)

<div class="topic-metadata">

**Author:** [@tomfarm](https://www.ruby-forum.com/u/tomfarm)\
**Replies:** 8\
**Last updated:** [September 17, 2010, 4:38am UTC](https://www.ruby-forum.com/t/ruby-ide-for-windows/195108 "2010-09-17T04:38:34Z")

</div>

I’ve looked at quite a few IDE’s (or editors) for Ruby on Windows, but seem quite unimpressed by them. I’ve tried Netbeans, RadRails, IntelliJ, Redcar and others. I’m yet to find an editor that does basic code complet…

---

## [JRuby 1.2.0RC1 Released](https://www.ruby-forum.com/t/jruby-1-2-0rc1-released/161289)

<div class="topic-metadata">

**Author:** [@Thomas\_E](https://www.ruby-forum.com/u/Thomas_E)\
**Replies:** 8\
**Last updated:** [February 26, 2009, 6:33am UTC](https://www.ruby-forum.com/t/jruby-1-2-0rc1-released/161289 "2009-02-26T06:33:38Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.2.0RC1 Homepage: http://www.jruby.org/ Download: http://dist.codehaus.org/jruby/ JRuby 1.2.0RC1 has fixed many many compatibility issues and continued …

---

## [Erratic behavior with ferret 0.95 and acts\_as\_ferret](https://www.ruby-forum.com/t/erratic-behavior-with-ferret-0-95-and-acts-as-ferret/66060)

<div class="topic-metadata">

**Author:** [@Caspar](https://www.ruby-forum.com/u/Caspar)\
**Replies:** 8\
**Last updated:** [August 28, 2006, 6:09pm UTC](https://www.ruby-forum.com/t/erratic-behavior-with-ferret-0-95-and-acts-as-ferret/66060 "2006-08-28T18:09:20Z")

</div>

Okay previous post related to me trying to fix this problem with an upgrade to ferret 0.10.0 but acts as ferret is obviously not compatible with this new version of ferret. My app is about to go into production and Fe…

---

## [Convert json string to hash and retrieve hash items values in ruby](https://www.ruby-forum.com/t/convert-json-string-to-hash-and-retrieve-hash-items-values-in-ruby/240991)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [May 9, 2014, 12:43am UTC](https://www.ruby-forum.com/t/convert-json-string-to-hash-and-retrieve-hash-items-values-in-ruby/240991 "2014-05-09T00:43:50Z")

</div>

Hi, I have a string object which is basically in a json format and while trying to print it shows in console as item = { "id": "4c9f83e4-f479-48d0-9f92-3fff70a8f6ba", "item": “{“business”:“1114”,“clas…

---

## [How to include html tag inside rails label tag](https://www.ruby-forum.com/t/how-to-include-html-tag-inside-rails-label-tag/223674)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 13, 2012, 11:06am UTC](https://www.ruby-forum.com/t/how-to-include-html-tag-inside-rails-label-tag/223674 "2012-10-13T11:06:19Z")

</div>

Hello pls help me, below is my code Group \* How to write this html code inside label\_tag of rails ??? am clear till \*… label\_tag ‘Group’,nil,:style=\>‘width:175px;text\_align:left;float:left;font-weight:bold;font-si…

---

## [Trouble setting LD\_LIBRARY\_PATH for FastCGI script](https://www.ruby-forum.com/t/trouble-setting-ld-library-path-for-fastcgi-script/99180)

<div class="topic-metadata">

**Author:** [@Chris\_Gansen](https://www.ruby-forum.com/u/Chris_Gansen)\
**Replies:** 2\
**Last updated:** [July 20, 2006, 10:30pm UTC](https://www.ruby-forum.com/t/trouble-setting-ld-library-path-for-fastcgi-script/99180 "2006-07-20T22:30:46Z")

</div>

Hello - I’m trying to exec a ruby script via FastCGI (on Apache 2.0), and cannot properly set the env. variable LD\_LIBRARY\_PATH at run time. I’ve tried adding: SetEnv LD\_LIBRARY\_PATH /path/to/lib in a .htaccess file…

---

## [Polymorphic associations in reverse?](https://www.ruby-forum.com/t/polymorphic-associations-in-reverse/97796)

<div class="topic-metadata">

**Author:** [@Seth\_Morabito](https://www.ruby-forum.com/u/Seth_Morabito)\
**Replies:** 2\
**Last updated:** [July 10, 2006, 6:00pm UTC](https://www.ruby-forum.com/t/polymorphic-associations-in-reverse/97796 "2006-07-10T18:00:55Z")

</div>

My app has an association that’s got me scratching my head. I have Users, and Images. A User has many Images. (Yes, another picture sharing app, but it’s for a small niche, and it doesn’t end in -r!) I would like t…

---

## [Ruby 3.3 introduces range overlap? method](https://www.ruby-forum.com/t/ruby-3-3-introduces-range-overlap-method/264377)

<div class="topic-metadata">

**Author:** [@alkesh26](https://www.ruby-forum.com/u/alkesh26)\
**Replies:** 1\
**Last updated:** [October 22, 2023, 9:55pm UTC](https://www.ruby-forum.com/t/ruby-3-3-introduces-range-overlap-method/264377 "2023-10-22T21:55:00Z")

</div>

---

## [OFDM Transmitter and Receiver - poor synchronization with USRP1](https://www.ruby-forum.com/t/ofdm-transmitter-and-receiver-poor-synchronization-with-usrp1/241901)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [May 22, 2015, 8:21pm UTC](https://www.ruby-forum.com/t/ofdm-transmitter-and-receiver-poor-synchronization-with-usrp1/241901 "2015-05-22T20:21:55Z")

</div>

Hi, I am trying to implement OFDM transmitter and receiver (both in one flowgraph) using 2 USRP1s (both equipped with WBX). I have adjusted the signal so there’s no peak above 1 and -1, but I am still failing at sync…

---

## [Update nginx with Ubuntu PPA](https://www.ruby-forum.com/t/update-nginx-with-ubuntu-ppa/235885)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [July 26, 2013, 11:30am UTC](https://www.ruby-forum.com/t/update-nginx-with-ubuntu-ppa/235885 "2013-07-26T11:30:57Z")

</div>

I am upgrading nginx to latest 1.4.1 using PPA. repository. After install, do I need to restart it manually, or it is restarted automatically? Is reload enough for the nginx upgrade? Or do I need to restart or stop/s…

---

## [Problems with bundler](https://www.ruby-forum.com/t/problems-with-bundler/228386)

<div class="topic-metadata">

**Author:** [@unarist](https://www.ruby-forum.com/u/unarist)\
**Replies:** 1\
**Last updated:** [April 21, 2013, 11:52pm UTC](https://www.ruby-forum.com/t/problems-with-bundler/228386 "2013-04-21T23:52:08Z")

</div>

Hi, I’m posting to here because I don’t know whether Issues in CodePlex is still used or not. I tried to run Bundler on Ironruby and I’ve found 2 problems for it. rubygems needs Errno::ETIMEDOUT I tried implement…

---

## [Using require\_relative to speed up rspec require time](https://www.ruby-forum.com/t/using-require-relative-to-speed-up-rspec-require-time/213814)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 12, 2011, 11:59pm UTC](https://www.ruby-forum.com/t/using-require-relative-to-speed-up-rspec-require-time/213814 "2011-11-12T23:59:26Z")

</div>

Hi, I noticed recently that require ‘rspec’ on my machine was taking close to half a second. That’s not a huge amount of time, but it is still the single slowest part of my test suite. It boils down to Ruby 1.9’s rat…

---

## [Your thoughts on #memo?](https://www.ruby-forum.com/t/your-thoughts-on-memo/193733)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 7\
**Last updated:** [August 24, 2010, 3:52am UTC](https://www.ruby-forum.com/t/your-thoughts-on-memo/193733 "2010-08-24T03:52:19Z")

</div>

Like to get some thoughts on the following technique for memoization: Memoize a method. class MemoExample attr\_accessor :a def m memo{ @a } end end ex = MemoExample.new ex.a = 10 ex.m #=\> 10 ex.a = 20 ex.m #=\> 10 …

---

## [Delayed Redirect](https://www.ruby-forum.com/t/delayed-redirect/181720)

<div class="topic-metadata">

**Author:** [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Replies:** 1\
**Last updated:** [January 17, 2010, 2:19am UTC](https://www.ruby-forum.com/t/delayed-redirect/181720 "2010-01-17T02:19:13Z")

</div>

I want to create a page that when it opens it waits about five seconds and then redirects the user to another page. Is this normally done with JS? What is the easiest way to do this rails. Thanks.

---

## [HScale stops changing when running code in on\_change\_value](https://www.ruby-forum.com/t/hscale-stops-changing-when-running-code-in-on-change-value/173336)

<div class="topic-metadata">

**Author:** [@Michal\_S](https://www.ruby-forum.com/u/Michal_S)\
**Replies:** 7\
**Last updated:** [September 25, 2009, 3:18pm UTC](https://www.ruby-forum.com/t/hscale-stops-changing-when-running-code-in-on-change-value/173336 "2009-09-25T15:18:37Z")

</div>

Hello While trying to write a test application for the pixels= method I found that when doing too much work in on\_change\_value the value stops changing. The update method is called from the on\_change\_value. When ever…

---

## [Mark GPS coordinates on image file](https://www.ruby-forum.com/t/mark-gps-coordinates-on-image-file/170535)

<div class="topic-metadata">

**Author:** [@nexflo](https://www.ruby-forum.com/u/nexflo)\
**Replies:** 7\
**Last updated:** [June 25, 2009, 1:31pm UTC](https://www.ruby-forum.com/t/mark-gps-coordinates-on-image-file/170535 "2009-06-25T13:31:00Z")

</div>

Hey everybody, I am looking for a way to create a map with GPS coordinates. I have a list with coordinates and I would like to display each of them as a small little dot in an image showing the earth (similar to tho…

---

## [Line breaks removed from ActionMailer template](https://www.ruby-forum.com/t/line-breaks-removed-from-actionmailer-template/161468)

<div class="topic-metadata">

**Author:** [@Phoenix\_R](https://www.ruby-forum.com/u/Phoenix_R)\
**Replies:** 1\
**Last updated:** [February 26, 2009, 7:35pm UTC](https://www.ruby-forum.com/t/line-breaks-removed-from-actionmailer-template/161468 "2009-02-26T19:35:32Z")

</div>

I’ve been googling and searching this list for about an hour now, and maybe I’m just not thinking of the common nomenclature for what to be looking for, but I can’t find jack. Here’s the deal: I’ve got an application…

---

## [Learning Ruby 3 Advice](https://www.ruby-forum.com/t/learning-ruby-3-advice/260936)

<div class="topic-metadata">

**Author:** [@DamonT91](https://www.ruby-forum.com/u/DamonT91)\
**Replies:** 3\
**Last updated:** [January 27, 2022, 2:39pm UTC](https://www.ruby-forum.com/t/learning-ruby-3-advice/260936 "2022-01-27T14:39:42Z")

</div>

Hey everyone. I have only recently began learning programming. I intend to become a web developer, and I intend to learn Ruby aswell as the ruby on rails framework. After a small amount of research Ive found that Ruby 3…

---

## [Dynamic constants](https://www.ruby-forum.com/t/dynamic-constants/204956)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 25, 2011, 6:39pm UTC](https://www.ruby-forum.com/t/dynamic-constants/204956 "2011-03-25T18:39:41Z")

</div>

I’m looking to define dynamic classes, and in order to get them to play nicely with Rails I need them to behaving like a constantly defiend class. foo = Class.new Won’t work AFAIK because foo.class == Class If the …

---

## [Blowfish crypt in rails app](https://www.ruby-forum.com/t/blowfish-crypt-in-rails-app/175768)

<div class="topic-metadata">

**Author:** [@mahesh\_s](https://www.ruby-forum.com/u/mahesh_s)\
**Replies:** 3\
**Last updated:** [September 20, 2009, 7:11pm UTC](https://www.ruby-forum.com/t/blowfish-crypt-in-rails-app/175768 "2009-09-20T19:11:41Z")

</div>

HI Im creating a rails app using blowfish encryption and decryption, in my app i have included a gem crypt for doing a encryption and im trying to decrypt the result using blowfish.js is that possible to do that e…

---

## [Overloading and wrapping an association method](https://www.ruby-forum.com/t/overloading-and-wrapping-an-association-method/133767)

<div class="topic-metadata">

**Author:** [@jesseproudman](https://www.ruby-forum.com/u/jesseproudman)\
**Replies:** 3\
**Last updated:** [April 5, 2008, 4:15am UTC](https://www.ruby-forum.com/t/overloading-and-wrapping-an-association-method/133767 "2008-04-05T04:15:27Z")

</div>

Hi all: For example I have: class Color \< ActiveRecord::Base belongs\_to :ball end class Ball \< ActiveRecord::Base has\_many :colors end What I want to do is to write a method that: takes the result of Ball#color…

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

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