# Top

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

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

---

## ['rails generate scaffold' is adding an 's'](https://www.ruby-forum.com/t/rails-generate-scaffold-is-adding-an-s/241196)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [May 18, 2014, 6:18pm UTC](https://www.ruby-forum.com/t/rails-generate-scaffold-is-adding-an-s/241196 "2014-05-18T18:18:26Z")

</div>

Using Rails 4.1.1 this command: rails g scaffold Main home contact events about … generates: app/controllers/mains\_controller.rb Why has ‘s’ been appended? This didn’t happen with 4.1.0. gvim

---

## [Fck editor text displaying in show in html format](https://www.ruby-forum.com/t/fck-editor-text-displaying-in-show-in-html-format/225622)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [January 14, 2014, 11:11pm UTC](https://www.ruby-forum.com/t/fck-editor-text-displaying-in-show-in-html-format/225622 "2014-01-14T23:11:42Z")

</div>

HI ALL, 1. i am using fck editor in my application. 2. when i type any text in fck editor it was saved in hml format in database(i.e, mysql) 3. when i was try to retrieve the text it will displaying in html for…

---

## [UHD make test failed](https://www.ruby-forum.com/t/uhd-make-test-failed/228367)

<div class="topic-metadata">

**Author:** [@Ting\_Wu](https://www.ruby-forum.com/u/Ting_Wu)\
**Replies:** 2\
**Last updated:** [September 12, 2013, 3:31pm UTC](https://www.ruby-forum.com/t/uhd-make-test-failed/228367 "2013-09-12T15:31:14Z")

</div>

Hi all, I used to use build-gnuradio script to build gnuradio and uhd. Usually everything is fine, but today when I run the script, it always stops with “UHD build apparently failed”. So I am trying to build from the…

---

## [Cannot bundle install due to missing therubyracer](https://www.ruby-forum.com/t/cannot-bundle-install-due-to-missing-therubyracer/222317)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 29, 2012, 2:12am UTC](https://www.ruby-forum.com/t/cannot-bundle-install-due-to-missing-therubyracer/222317 "2012-08-29T02:12:23Z")

</div>

ruby 1.9.3p194 (2012-04-20 revision 35410) \[i686-linux\] rails 3.1.3 Ubuntu 10.04 LTS I have another environment with MacOSX Snow Leopard, and am sharing the Rails project files through Dropbox. When I chose to devel…

---

## [\[Ruby 1.9 - Bug #5055\]\[Open\] ruby-1.9.2-p290 Test Error @Cygwin](https://www.ruby-forum.com/t/ruby-1-9-bug-5055-open-ruby-1-9-2-p290-test-error-cygwin/209636)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 25, 2011, 1:07pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-5055-open-ruby-1-9-2-p290-test-error-cygwin/209636 "2011-07-25T13:07:19Z")

</div>

Issue #5055 has been reported by Mitsuru FURUI. Bug #5055: ruby-1.9.2-p290 Test Error @Cygwin Author: Mitsuru FURUI Status: Open Priority: Normal Assignee: Category: test Target version: 1.9.2 ruby -v: ruby 1.9…

---

## [Serialization Problem when using HashMap](https://www.ruby-forum.com/t/serialization-problem-when-using-hashmap/202231)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 25, 2011, 3:13pm UTC](https://www.ruby-forum.com/t/serialization-problem-when-using-hashmap/202231 "2011-01-25T15:13:25Z")

</div>

I’m using JRuby in a Rails application, which is supported by a Java backend. One of the Java Interface functions requires a hashmap be passed from the JRuby to the Ruby code, and I’m running into an unexpected Runt…

---

## [Accepts\_nested\_attributes\_for :has\_many :through =\> 'bug?'](https://www.ruby-forum.com/t/accepts-nested-attributes-for-has-many-through-bug/182285)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 2\
**Last updated:** [January 26, 2010, 10:18pm UTC](https://www.ruby-forum.com/t/accepts-nested-attributes-for-has-many-through-bug/182285 "2010-01-26T22:18:12Z")

</div>

Hey guys & ladies! I’ve got the following relationship which i’m trying to get accepts\_nested\_attributes to work with. But when i submit my form, it looks as if its expecting a Company object, rather than an array of …

---

## [Max function in ruby](https://www.ruby-forum.com/t/max-function-in-ruby/170444)

<div class="topic-metadata">

**Author:** [@Developer\_In\_London](https://www.ruby-forum.com/u/Developer_In_London)\
**Replies:** 2\
**Last updated:** [June 17, 2009, 6:06pm UTC](https://www.ruby-forum.com/t/max-function-in-ruby/170444 "2009-06-17T18:06:02Z")

</div>

is there a max function in ruby? eg max(number1, number2) thanks nayeem

---

## [Aufbau und Struktur](https://www.ruby-forum.com/t/aufbau-und-struktur/162834)

<div class="topic-metadata">

**Author:** [@railscamper](https://www.ruby-forum.com/u/railscamper)\
**Replies:** 2\
**Last updated:** [March 14, 2009, 12:49pm UTC](https://www.ruby-forum.com/t/aufbau-und-struktur/162834 "2009-03-14T12:49:16Z")

</div>

Eine Frage an die Design Fetischisten unter Euch. Ich bin gerade dabei eine kleine Railsanwendung zu bauen und hänge etwas in der Luft. Derzeit liegt alles in einem Controller - leider - von gutem Design kann man da n…

---

## [Use Radius tags to do redirections?](https://www.ruby-forum.com/t/use-radius-tags-to-do-redirections/154119)

<div class="topic-metadata">

**Author:** [@vpredoehl](https://www.ruby-forum.com/u/vpredoehl)\
**Replies:** 2\
**Last updated:** [November 25, 2008, 6:08pm UTC](https://www.ruby-forum.com/t/use-radius-tags-to-do-redirections/154119 "2008-11-25T18:08:14Z")

</div>

Hello, I’m trying to find a way to restrict access to my Radiant front pages using Radius tags (or maybe not) like that : \<r:allow\_access\_to groups=“user” /\> tag “allow\_access\_to” do |tag| …process… unless has\_righ…

---

## [Parallel indexing with unique id?](https://www.ruby-forum.com/t/parallel-indexing-with-unique-id/132836)

<div class="topic-metadata">

**Author:** [@bryan123](https://www.ruby-forum.com/u/bryan123)\
**Replies:** 2\
**Last updated:** [March 26, 2008, 4:23pm UTC](https://www.ruby-forum.com/t/parallel-indexing-with-unique-id/132836 "2008-03-26T16:23:59Z")

</div>

Hello all, Is it possible to use parallel indexing and still ensure unique documents in the merged index? Using the canned example, I’m ending up with non-unique entries. It’s just adding them all together even thou…

---

## [Deploying from windows using deprec at slicehost](https://www.ruby-forum.com/t/deploying-from-windows-using-deprec-at-slicehost/131525)

<div class="topic-metadata">

**Author:** [@jose\_d](https://www.ruby-forum.com/u/jose_d)\
**Replies:** 2\
**Last updated:** [March 11, 2008, 11:45am UTC](https://www.ruby-forum.com/t/deploying-from-windows-using-deprec-at-slicehost/131525 "2008-03-11T11:45:15Z")

</div>

I am trying to setup my WinXP to deploy a rails app to slicehost using deprec, just following the nice tutorial from this link http://crackthenut.cracklabs.com/deprec2-your-slice-from-windows/ , but I am getting an er…

---

## [Interresting Changeset for Rails Trunk](https://www.ruby-forum.com/t/interresting-changeset-for-rails-trunk/124907)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 2\
**Last updated:** [January 3, 2008, 11:50pm UTC](https://www.ruby-forum.com/t/interresting-changeset-for-rails-trunk/124907 "2008-01-03T23:50:45Z")

</div>

From http://blog.codefront.net/2008/01/02/whats-new-on-edge-rails-the-pilot/ A native Mongrel handler has been introduced. This is so that it can be worked on independent of MongrelÂ’s release cycle (the Rails handle…

---

## [erlang/Mnesia adaptor for rails](https://www.ruby-forum.com/t/erlang-mnesia-adaptor-for-rails/114172)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 2\
**Last updated:** [September 10, 2007, 5:03am UTC](https://www.ruby-forum.com/t/erlang-mnesia-adaptor-for-rails/114172 "2007-09-10T05:03:47Z")

</div>

I’m working on a site that will most likely be huge and could easily be one of the largest ruby on rails sites yet. While we will be using databases to some extent on the backend, I know that’s only going to scale o…

---

## [File.utime returns Invalid argument on Windows (winXP, ruby](https://www.ruby-forum.com/t/file-utime-returns-invalid-argument-on-windows-winxp-ruby/106028)

<div class="topic-metadata">

**Author:** [@Matt\_Scilipoti](https://www.ruby-forum.com/u/Matt_Scilipoti)\
**Replies:** 2\
**Last updated:** [June 6, 2007, 4:59pm UTC](https://www.ruby-forum.com/t/file-utime-returns-invalid-argument-on-windows-winxp-ruby/106028 "2007-06-06T16:59:48Z")

</div>

I am receiving an “Invalid argument” error from File.utime. irb\> testfile = ‘d:/temp/2007/06/test.txt’ =\> “d:/temp/2007/06/test.txt” irb\> File.utime(0, Time.now, testfile) Errno::EINVAL: Invalid argument - d:/temp/20…

---

## [PCI Hosting](https://www.ruby-forum.com/t/pci-hosting/105706)

<div class="topic-metadata">

**Author:** [@bob](https://www.ruby-forum.com/u/bob)\
**Replies:** 2\
**Last updated:** [June 3, 2007, 1:07pm UTC](https://www.ruby-forum.com/t/pci-hosting/105706 "2007-06-03T13:07:48Z")

</div>

It looks like I will have to be level 4 PCI DSS compliant for my current app. As I will be needing a hosting server anyhow, does anyone know of any hosting option that is PCI compliant. Does PCI compliant hosting exi…

---

## [DRb.thread.join in a Process.fork block?](https://www.ruby-forum.com/t/drb-thread-join-in-a-process-fork-block/72034)

<div class="topic-metadata">

**Author:** [@elliterate](https://www.ruby-forum.com/u/elliterate)\
**Replies:** 2\
**Last updated:** [October 13, 2006, 7:53pm UTC](https://www.ruby-forum.com/t/drb-thread-join-in-a-process-fork-block/72034 "2006-10-13T19:53:23Z")

</div>

Hi list, I am trying to make my DRb server fork into a daemon, yet the DRbServer thread joins immediately when called inside a fork block. I’m not entirely sure why this is happening but I’m coming to the conclusion …

---

## [Deconstruction of Array Parameters by Functions](https://www.ruby-forum.com/t/deconstruction-of-array-parameters-by-functions/69673)

<div class="topic-metadata">

**Author:** [@sickfaichezi](https://www.ruby-forum.com/u/sickfaichezi)\
**Replies:** 2\
**Last updated:** [September 22, 2006, 9:22pm UTC](https://www.ruby-forum.com/t/deconstruction-of-array-parameters-by-functions/69673 "2006-09-22T21:22:21Z")

</div>

Hi, I would like to pass arguments to a function that takes a variable number of arguments using an array. For example: my\_array = \[1, 2, 3\] Below should call my\_var\_arg\_function(1, 2, 3) pass\_array\_as\_args(my\_var\_a…

---

## [Shared hosting for rails](https://www.ruby-forum.com/t/shared-hosting-for-rails/62927)

<div class="topic-metadata">

**Author:** [@philpeterman](https://www.ruby-forum.com/u/philpeterman)\
**Replies:** 2\
**Last updated:** [June 10, 2006, 4:47am UTC](https://www.ruby-forum.com/t/shared-hosting-for-rails/62927 "2006-06-10T04:47:49Z")

</div>

Hi all, This is my first posting to the mailing list. We are a small but technically competent hosting company in Savannah, GA. We have recently been bitten by the rails bug ourselves and while we are enthusiastic …

---

## [Need help detecting where signal exception originates from](https://www.ruby-forum.com/t/need-help-detecting-where-signal-exception-originates-from/253600)

<div class="topic-metadata">

**Author:** [@DCrow](https://www.ruby-forum.com/u/DCrow)\
**Replies:** 1\
**Last updated:** [March 17, 2020, 8:07am UTC](https://www.ruby-forum.com/t/need-help-detecting-where-signal-exception-originates-from/253600 "2020-03-17T08:07:34Z")

</div>

Hello! Having a problem with my ruby program. Periodically I get SIGALARM exceptions in my application, which crash my application. I managed to stop app from crashing using Kernel.trap Now I want to find the root ca…

---

## [CMAKE GNU Radio 3.7.4 - gr-zeromq disabled](https://www.ruby-forum.com/t/cmake-gnu-radio-3-7-4-gr-zeromq-disabled/234505)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 9, 2015, 10:41pm UTC](https://www.ruby-forum.com/t/cmake-gnu-radio-3-7-4-gr-zeromq-disabled/234505 "2015-03-09T22:41:07Z")

</div>

Hello, i want to configure my GNUradio 3.7.4 by using this command cd /usr/local/src tar -zxf gnuradio-3.7.4.tar.gz cd gnuradio-3.7.4 mkdir build cd build cmake -DENABLE\_BAD\_BOOST=ON …/ make make test make inst…

---

## [Uhd\_rx\_cfile: getting constant O-overflows using the USRP B200 with debian](https://www.ruby-forum.com/t/uhd-rx-cfile-getting-constant-o-overflows-using-the-usrp-b200-with-debian/239910)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [March 19, 2014, 4:10pm UTC](https://www.ruby-forum.com/t/uhd-rx-cfile-getting-constant-o-overflows-using-the-usrp-b200-with-debian/239910 "2014-03-19T16:10:34Z")

</div>

Hi developers, I have a fresh gnu radio installed with pybombs for my usrp B200. It runs on a Lenovo X230 with debian testing x64. When I use uhd\_rx\_cfile i get constant “O”-overruns (output given below). The uhd-b…

---

## [Sass caching issue in development](https://www.ruby-forum.com/t/sass-caching-issue-in-development/237472)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 6, 2014, 8:39pm UTC](https://www.ruby-forum.com/t/sass-caching-issue-in-development/237472 "2014-01-06T20:39:41Z")

</div>

Hi everyone, Lately, I’ve had quite an annoying problem when I work with Sass in Rails. For reasons I cannot figure out, I need to kill the local Rails server instance, “rm -rf tmp/cache” and start the server again t…

---

## [How do I redirect/handle requests from search engines via nginx using location regex](https://www.ruby-forum.com/t/how-do-i-redirect-handle-requests-from-search-engines-via-nginx-using-location-regex/219250)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [April 25, 2012, 9:23pm UTC](https://www.ruby-forum.com/t/how-do-i-redirect-handle-requests-from-search-engines-via-nginx-using-location-regex/219250 "2012-04-25T21:23:52Z")

</div>

Hi, I have developed an ajax-based web application with hash bang urls. I am trying to redirect requests from search engines to another server which generates HTML snapshots and send the response. I am trying to achi…

---

## [Will\_paginate etiqueta css .current](https://www.ruby-forum.com/t/will-paginate-etiqueta-css-current/199146)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 18, 2010, 1:24am UTC](https://www.ruby-forum.com/t/will-paginate-etiqueta-css-current/199146 "2010-11-18T01:24:40Z")

</div>

Hola, utilizo will\_paginate con rails 3 y me funciona bien menos un detalle, no entiende la etiqueta .current de fichero .css, el resto de etiquetas funcionan bien. He utilizado varios formatos que he encontrado por l…

---

## [Recomendacion de un hosting](https://www.ruby-forum.com/t/recomendacion-de-un-hosting/190094)

<div class="topic-metadata">

**Author:** [@matias\_fierro](https://www.ruby-forum.com/u/matias_fierro)\
**Replies:** 1\
**Last updated:** [July 6, 2010, 10:00pm UTC](https://www.ruby-forum.com/t/recomendacion-de-un-hosting/190094 "2010-07-06T22:00:40Z")

</div>

Tengo bastantes problemas para lograr que mi aplicaciÃ³n ande correctamente en wizhostnig. Uno de mis problemas es que los JS no se ejecutan automÃ¡ticamente cuando me los devuelve algun link\_to\_remote o render de .rj…

---

## [Combining multiple finds into one result](https://www.ruby-forum.com/t/combining-multiple-finds-into-one-result/188620)

<div class="topic-metadata">

**Author:** [@cinderedmonkey](https://www.ruby-forum.com/u/cinderedmonkey)\
**Replies:** 7\
**Last updated:** [May 15, 2010, 4:05am UTC](https://www.ruby-forum.com/t/combining-multiple-finds-into-one-result/188620 "2010-05-15T04:05:28Z")

</div>

What I want to do is something like this: searchid = 4 while searchid != -1 @a += A.find\_by\_someid(searchid) @b = B.find\_by\_someid(searchid) searchid = @b.parentid end The problem being the line @a += A.find\_by\_s…

---

## [Rearranging the letters of a word](https://www.ruby-forum.com/t/rearranging-the-letters-of-a-word/164443)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 1, 2009, 3:35pm UTC](https://www.ruby-forum.com/t/rearranging-the-letters-of-a-word/164443 "2009-04-01T15:35:31Z")

</div>

Hello there, I have to rearrange the letters of a word in all possible ways in my rails application.I am not getting the exact way doing so, please can anybody help me in developing that logic. Thank you in advance. …

---

## [Cross-database joins on has\_many associations](https://www.ruby-forum.com/t/cross-database-joins-on-has-many-associations/153491)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 1\
**Last updated:** [November 18, 2008, 1:21am UTC](https://www.ruby-forum.com/t/cross-database-joins-on-has-many-associations/153491 "2008-11-18T01:21:21Z")

</div>

All, I’m looking at possibly having to define a has\_many relationship across two databases (possibly even two databases on different servers). To be clear, I mean model A lives in database X and it’s related to model…

---

## [WET/RubyGems won't work](https://www.ruby-forum.com/t/wet-rubygems-wont-work/137916)

<div class="topic-metadata">

**Author:** [@renian](https://www.ruby-forum.com/u/renian)\
**Replies:** 1\
**Last updated:** [May 18, 2008, 10:50pm UTC](https://www.ruby-forum.com/t/wet-rubygems-wont-work/137916 "2008-05-18T22:50:51Z")

</div>

I’m having problems getting WET (rubygem: wet-winobj) to work. My main problem is that it just can’t seem to find its own files. For example, if I do: gem ‘wet-winobj’ require ‘wet/winobjects/AppWindow.rb’ It then r…

---

## [Backgroundrb](https://www.ruby-forum.com/t/backgroundrb/134196)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 1\
**Last updated:** [April 9, 2008, 12:06am UTC](https://www.ruby-forum.com/t/backgroundrb/134196 "2008-04-09T00:06:04Z")

</div>

I think I am mostly set up but I seem to be failing to get evidence that it works… class QmManualEnchiladaWorker \< BackgrounDRb::MetaWorker set\_worker\_name :qm\_manual\_enchilada\_worker def create(args = nil) # this m…

---

## [Form\_tag issues after Rails upgrade to 2.0.2](https://www.ruby-forum.com/t/form-tag-issues-after-rails-upgrade-to-2-0-2/124948)

<div class="topic-metadata">

**Author:** [@destiney](https://www.ruby-forum.com/u/destiney)\
**Replies:** 7\
**Last updated:** [January 4, 2008, 6:40pm UTC](https://www.ruby-forum.com/t/form-tag-issues-after-rails-upgrade-to-2-0-2/124948 "2008-01-04T18:40:58Z")

</div>

Any idea why this form\_tag is broken after moving from Rails 1.2.6 → 2.0.2? \<% form\_tag :controller =\> ‘login’, :action =\> ‘login’ do -%\> I get the error: wrong number of arguments (1 for 2) I have tried several ot…

---

## [Q: refers\_to / belongs\_to vs. joins\_many / many\_to\_many](https://www.ruby-forum.com/t/q-refers-to-belongs-to-vs-joins-many-many-to-many/117387)

<div class="topic-metadata">

**Author:** [@newbee-robert](https://www.ruby-forum.com/u/newbee-robert)\
**Replies:** 1\
**Last updated:** [October 17, 2007, 7:58am UTC](https://www.ruby-forum.com/t/q-refers-to-belongs-to-vs-joins-many-many-to-many/117387 "2007-10-17T07:58:08Z")

</div>

Poking about in og/relation/\* and experimenting as I try to unravel this for http://robmela.com/cheatsheets/og\_relations ( hopefully in a form that can be used in the rdocs for og or relation ) BelongsTo inherits from…

---

## [Nested fiber invocation](https://www.ruby-forum.com/t/nested-fiber-invocation/112383)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 7\
**Last updated:** [August 21, 2007, 5:21am UTC](https://www.ruby-forum.com/t/nested-fiber-invocation/112383 "2007-08-21T05:21:02Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B e$B1sF#$5$s$+$ie(B 外部イテレータにケチをつける - まめめも e$B$G;XE&$5$l$F$$$k$N$G$9$,!“e(BEnumerator#nexte$B$NFbB&$G$5$i$Ke(B Enumerator#nexte$B$,8F$P$l$k$H!”%(%i!\<$K$J$j$^$9!#%G%P%C%,$GDI$$e(B e$B$…

---

## [Video playback library?](https://www.ruby-forum.com/t/video-playback-library/112468)

<div class="topic-metadata">

**Author:** [@jjrussell](https://www.ruby-forum.com/u/jjrussell)\
**Replies:** 7\
**Last updated:** [August 19, 2007, 11:18pm UTC](https://www.ruby-forum.com/t/video-playback-library/112468 "2007-08-19T23:18:12Z")

</div>

I’ve recently begun learning ruby (coming from a mainly java world), and so far I really like it. Now I’m trying to write as much as I can using ruby so I can get a better feel for the language. So, I have an upcomin…

---

## [Query Question](https://www.ruby-forum.com/t/query-question/81184)

<div class="topic-metadata">

**Author:** [@canner](https://www.ruby-forum.com/u/canner)\
**Replies:** 7\
**Last updated:** [January 8, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/query-question/81184 "2007-01-08T20:15:02Z")

</div>

Is it possible to use one result set in another query… This is a kinda bogus example, but here goes If a function returns a list of authors @authorList = getAllAuthorsBetween(2000,2004) then I wanted to get what car …

---

## [Migration with required data](https://www.ruby-forum.com/t/migration-with-required-data/61766)

<div class="topic-metadata">

**Author:** [@sweatje](https://www.ruby-forum.com/u/sweatje)\
**Replies:** 7\
**Last updated:** [May 27, 2006, 8:19pm UTC](https://www.ruby-forum.com/t/migration-with-required-data/61766 "2006-05-27T20:19:45Z")

</div>

I’m working on a bugtracker application in rails. I have a Bug model and I want to add a Priority to the mix. A Bug can have one priority. I generate a Priority model, modify my Bug model with a belongs\_to :priority…

---

## [Is it an ok practice to define a resource in your routes file multiple times? 3+ times?](https://www.ruby-forum.com/t/is-it-an-ok-practice-to-define-a-resource-in-your-routes-file-multiple-times-3-times/230307)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 11, 2014, 5:04pm UTC](https://www.ruby-forum.com/t/is-it-an-ok-practice-to-define-a-resource-in-your-routes-file-multiple-times-3-times/230307 "2014-06-11T17:04:40Z")

</div>

Noobie here. Let’s say you have a Post, Comment, and User models. So Post has\_many comments, and User has\_many comments. If it good practice to do the following… resources :posts do resources :comments end resource…

---

## [Symbol.to\_proc overrides private](https://www.ruby-forum.com/t/symbol-to-proc-overrides-private/246308)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [September 30, 2013, 12:14am UTC](https://www.ruby-forum.com/t/symbol-to-proc-overrides-private/246308 "2013-09-30T00:14:02Z")

</div>

Why is that? It seems unexpected. class A def initialize(a) @foo = a end def sort\_key -@foo end def inspect @foo.to\_s end private :sort\_key end b = \[1,2,3,4,5\].map {|x| A.new(x)} p b p b.sort\_by(&:sort\_key…

---

## [Devise 2.1.0: return Completed 401 Unauthorized when post json datas](https://www.ruby-forum.com/t/devise-2-1-0-return-completed-401-unauthorized-when-post-json-datas/221414)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [July 13, 2012, 4:20pm UTC](https://www.ruby-forum.com/t/devise-2-1-0-return-completed-401-unauthorized-when-post-json-datas/221414 "2012-07-13T16:20:34Z")

</div>

I got 401 unauthorized when I visit a action with post json datas. But I change post method to get, It works fine.

---

## [Naming confusion](https://www.ruby-forum.com/t/naming-confusion/220767)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [June 20, 2012, 4:33pm UTC](https://www.ruby-forum.com/t/naming-confusion/220767 "2012-06-20T16:33:54Z")

</div>

Hello all. Noticed this today: require ‘java’ textArea = javax.swing.JTextArea.new textArea.preferred\_size =\> nil textArea.getPreferredSize =\> java.awt.Dimension\[width=0,height=16\] Shouldn’t these two meth…

---

## [Simulation inconsistent (Time interleaving block)](https://www.ruby-forum.com/t/simulation-inconsistent-time-interleaving-block/209209)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [July 8, 2011, 1:29pm UTC](https://www.ruby-forum.com/t/simulation-inconsistent-time-interleaving-block/209209 "2011-07-08T13:29:16Z")

</div>

Hi all I have a simulation problem with my time interleaving block. If I simulate my block the most time all tests get passed, but in average every 7th simulation the tests don’t pass and I get the message: Traceback…

---

## [Dealing with TimeZones](https://www.ruby-forum.com/t/dealing-with-timezones/201832)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 26, 2011, 9:35pm UTC](https://www.ruby-forum.com/t/dealing-with-timezones/201832 "2011-01-26T21:35:55Z")

</div>

What is the easies to use package for dealing with time zones and DST changes? I just need to be able to track when to start various activities bases on local times. The problem is I have to trace a few time zones. I…

---

## [Has anyone managed to run redmine-1.0.4 with jruby-1.5.6?](https://www.ruby-forum.com/t/has-anyone-managed-to-run-redmine-1-0-4-with-jruby-1-5-6/200567)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 17, 2010, 12:28am UTC](https://www.ruby-forum.com/t/has-anyone-managed-to-run-redmine-1-0-4-with-jruby-1-5-6/200567 "2010-12-17T00:28:54Z")

</div>

Hi, I’ve tried with both jdbc sqlite3 and mysql configurations, but at the first ‘rake db:migrate’, I get this error message: rake aborted! undefined method \`has\_key?’ for nil:NilClass Here’s the full trace: \*\* Inv…

---

## [Decorator pattern in Ruby... what do you think about the implementation?](https://www.ruby-forum.com/t/decorator-pattern-in-ruby-what-do-you-think-about-the-implementation/188278)

<div class="topic-metadata">

**Author:** [@samiron](https://www.ruby-forum.com/u/samiron)\
**Replies:** 4\
**Last updated:** [May 9, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/decorator-pattern-in-ruby-what-do-you-think-about-the-implementation/188278 "2010-05-09T20:56:09Z")

</div>

Hello all I was wondering about how you guys are implementing the decorator patterns in Ruby? Here is a thought to share with. Tagged - The social network for meeting new people. Could you please share your thoughts …

---

## [Why did #rationalize removed?](https://www.ruby-forum.com/t/why-did-rationalize-removed/187589)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 4\
**Last updated:** [April 26, 2010, 3:44pm UTC](https://www.ruby-forum.com/t/why-did-rationalize-removed/187589 "2010-04-26T15:44:12Z")

</div>

e$B$U$J$P$5$se(B e$B1sF#$G$9!#e(B Rational#rationalize e$B$r;O$a!"B?$/$Ne(B #rationalize e$B%a%=%C%I$,:o=|e(B e$B$5$l$?$h$&$G$9$,!“2?$+M}M3$,$”$C$F$N$3$H$G$7$g$&$+!#e(B e$B$9$G$Ke(B feature freeze e$B:Q$$G$"$k$?$a!…

---

## [Compute value inside define\_method](https://www.ruby-forum.com/t/compute-value-inside-define-method/184442)

<div class="topic-metadata">

**Author:** [@karlshea](https://www.ruby-forum.com/u/karlshea)\
**Replies:** 4\
**Last updated:** [March 2, 2010, 6:33pm UTC](https://www.ruby-forum.com/t/compute-value-inside-define-method/184442 "2010-03-02T18:33:10Z")

</div>

I know there is a ‘trick’ for forcing a value to compute, but I can’t seem to remember or find it. The following routine needs to computer the value of ‘register += 1’ and not insert it literally. into.class\_eval do …

---

## [\[Bug #2187\] Net::IMAP::ResponseParseError](https://www.ruby-forum.com/t/bug-2187-net-responseparseerror/177003)

<div class="topic-metadata">

**Author:** [@masa16](https://www.ruby-forum.com/u/masa16)\
**Replies:** 4\
**Last updated:** [December 25, 2009, 4:37pm UTC](https://www.ruby-forum.com/t/bug-2187-net-responseparseerror/177003 "2009-12-25T16:37:51Z")

</div>

Bug #2187: Net::IMAP::ResponseParseError http://redmine.ruby-lang.org/issues/show/2187 e$B5/I\<\<Te(B: Masahiro T. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.8.7 (2009-06-12 patchlevel 174) \[i686-linu…

---

## [Mootools, Rails and Ajax](https://www.ruby-forum.com/t/mootools-rails-and-ajax/107081)

<div class="topic-metadata">

**Author:** [@Nguma\_M](https://www.ruby-forum.com/u/Nguma_M)\
**Replies:** 4\
**Last updated:** [November 12, 2009, 3:19pm UTC](https://www.ruby-forum.com/t/mootools-rails-and-ajax/107081 "2009-11-12T15:19:52Z")

</div>

Recently, I’ve decided to include the excellent mootools in my projects. So, out prototype and scriptaculous, in mootools. Everything went well up to the point i had to add some ajax into the story… I am ok not to …

---

## [RobustThread, Postfix, TMail, & Rails app small question](https://www.ruby-forum.com/t/robustthread-postfix-tmail-rails-app-small-question/172853)

<div class="topic-metadata">

**Author:** [@nateleavitt](https://www.ruby-forum.com/u/nateleavitt)\
**Replies:** 4\
**Last updated:** [July 30, 2009, 2:05am UTC](https://www.ruby-forum.com/t/robustthread-postfix-tmail-rails-app-small-question/172853 "2009-07-30T02:05:28Z")

</div>

I’m using Postfix to receive email then having it dump the emails to a Maildir. From there I have a ruby daemon using RobustThread which runs every 30 seconds to process the emails using Tmail. Everything is working…

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

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