# Top

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

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

---

## [Security issues with Nginx](https://www.ruby-forum.com/t/security-issues-with-nginx/227396)

<div class="topic-metadata">

**Author:** [@Joe\_M](https://www.ruby-forum.com/u/Joe_M)\
**Replies:** 2\
**Last updated:** [March 14, 2013, 12:21pm UTC](https://www.ruby-forum.com/t/security-issues-with-nginx/227396 "2013-03-14T12:21:44Z")

</div>

Hey all Im new to Nginx and wanted to know if any of you familiar with any Known security issues in Nginx (for example: Nginx & PHP via FastCGI important security issue) Thanks Joe Posted at Nginx Forum:

---

## [\#split vs. #length. Different returns](https://www.ruby-forum.com/t/split-vs-length-different-returns/229404)

<div class="topic-metadata">

**Author:** [@tomx](https://www.ruby-forum.com/u/tomx)\
**Replies:** 2\
**Last updated:** [February 10, 2013, 3:37am UTC](https://www.ruby-forum.com/t/split-vs-length-different-returns/229404 "2013-02-10T03:37:55Z")

</div>

I am wondering why these two lines of code at the bottom, which seem to say the same thing, produce different results. text is simply a long string. words = text.scan(/\\w+/) stop\_words = %w{the a by on for of are wit…

---

## [How to create a MiniTest::Mock object that expects to\_s](https://www.ruby-forum.com/t/how-to-create-a-minitest-mock-object-that-expects-to-s/223659)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 19, 2012, 5:09pm UTC](https://www.ruby-forum.com/t/how-to-create-a-minitest-mock-object-that-expects-to-s/223659 "2012-10-19T17:09:02Z")

</div>

I suspect it is not possible, but maybe I’m lucky: how can I create a mock object with MiniTest that expects a call to the to\_s method? 1.9.3-p194 :001 \> require ‘minitest/mock’ … 1.9.3-p194 :002 \> obj = MiniTest::M…

---

## [Coupure de connexion entre Rails 3.2.7 et Postgres 8.4](https://www.ruby-forum.com/t/coupure-de-connexion-entre-rails-3-2-7-et-postgres-8-4/223618)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 15, 2012, 8:29am UTC](https://www.ruby-forum.com/t/coupure-de-connexion-entre-rails-3-2-7-et-postgres-8-4/223618 "2012-10-15T08:29:31Z")

</div>

Bonjour à tous, Je développe une grosse application en Rails 3.2.7 qui est connecté à une BD Postgres 8.4 installée sur la même machine. L’application s’exécute sur Apache avec le module Passenger. L’application est …

---

## [How to play captured signal file](https://www.ruby-forum.com/t/how-to-play-captured-signal-file/220235)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [June 3, 2012, 11:48pm UTC](https://www.ruby-forum.com/t/how-to-play-captured-signal-file/220235 "2012-06-03T23:48:01Z")

</div>

Thank you for reading this. I’m still unable to compile gr-osmosdr and a Gpoogle search shows that others have had to same problem but I haven’t found any solutions. Following instructions I think I have captured sign…

---

## [\[ruby-trunk - Bug #6035\]\[Open\] 2F in TestReadline](https://www.ruby-forum.com/t/ruby-trunk-bug-6035-open-2f-in-testreadline/216889)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 20, 2012, 11:37am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-6035-open-2f-in-testreadline/216889 "2012-02-20T11:37:35Z")

</div>

Issue #6035 has been reported by Kouhei Y… Bug #6035: 2F in TestReadline Author: Kouhei Y. Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3p125 (2012-02-16 revision 34643) …

---

## [SIGINT not being captured immediately after using system() command](https://www.ruby-forum.com/t/sigint-not-being-captured-immediately-after-using-system-command/216345)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 2, 2012, 11:17pm UTC](https://www.ruby-forum.com/t/sigint-not-being-captured-immediately-after-using-system-command/216345 "2012-02-02T23:17:42Z")

</div>

When I ran the ruby code below, pressing ctrl + c would immediately stop the program trap(“INT”) { exit } while line = gets; puts line; end However, when I use system() command before the gets, pressing ctrl + c wou…

---

## [Spork/guard/rspec now disregarding filter tags for examples](https://www.ruby-forum.com/t/spork-guard-rspec-now-disregarding-filter-tags-for-examples/215653)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 13, 2012, 4:17pm UTC](https://www.ruby-forum.com/t/spork-guard-rspec-now-disregarding-filter-tags-for-examples/215653 "2012-01-13T16:17:10Z")

</div>

Something in the latest iteration of spork, guard, or rspec now causes all examples to be run, not just tagged examples (say, with :focus =\> true). This was posted as an issue for rspec: https://github.com/dchelimsky/…

---

## [Sapete se qualcuna tra queste gems non e' compatibile con ruby 1.9?](https://www.ruby-forum.com/t/sapete-se-qualcuna-tra-queste-gems-non-e-compatibile-con-ruby-1-9/209287)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 11, 2011, 11:19am UTC](https://www.ruby-forum.com/t/sapete-se-qualcuna-tra-queste-gems-non-e-compatibile-con-ruby-1-9/209287 "2011-07-11T11:19:05Z")

</div>

Qualcuna tra le seguenti gems che uso regolarmente nelle mie apps non e’ compatibile con ruby 1.9? Nel sito http://isitruby19.com/ molte non si trovano. Sicuramente qualcuna non e’ compatibile in quanto con ruby 1.9 l…

---

## [Handling my custom exceptions , is that right?](https://www.ruby-forum.com/t/handling-my-custom-exceptions-is-that-right/208991)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 2, 2011, 9:20am UTC](https://www.ruby-forum.com/t/handling-my-custom-exceptions-is-that-right/208991 "2011-07-02T09:20:11Z")

</div>

in my config/initializers , I created the file custom\_exceptions.rb in which I put all my custom exceptions … module Exceptions class MyLockerException \< StandardError def initialize(msg, error\_code , member\_id ) …

---

## [Rdoc 3.7 Released](https://www.ruby-forum.com/t/rdoc-3-7-released/208825)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 29, 2011, 11:20pm UTC](https://www.ruby-forum.com/t/rdoc-3-7-released/208825 "2011-06-29T23:20:21Z")

</div>

rdoc version 3.7 has been released! GitHub - rdoc/rdoc: RDoc produces HTML and online documentation for Ruby projects. RDoc includes the rdoc and ri tools for generating and displaying online documentation. rdoc 4.1.1 …

---

## [\[Closed\] build error on mswin](https://www.ruby-forum.com/t/closed-build-error-on-mswin/208792)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 27, 2011, 12:22pm UTC](https://www.ruby-forum.com/t/closed-build-error-on-mswin/208792 "2011-06-27T12:22:35Z")

</div>

Issue #4045 has been updated by Usaku NAKAMURA. Status changed from Assigned to Closed その後起きたり起きなかったり。 2週間ほど見てないけど、直ったのかどうかもよくわからない。 なんかよくわからんのでいったんクローズしておきます。 Bug #4045: build error on mswin Author: Usaku NAKAMUR…

---

## [Redirect to and notice](https://www.ruby-forum.com/t/redirect-to-and-notice/206559)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 4, 2011, 9:46pm UTC](https://www.ruby-forum.com/t/redirect-to-and-notice/206559 "2011-05-04T21:46:24Z")

</div>

I am having an issue where I cannot get the notice to show up on a custom action in redirect\_to in the routes I have this defined: match ‘launches/calendar’ =\> ‘launches#calendar’ in the launches controller I have th…

---

## [Connect two WBX daugterboards](https://www.ruby-forum.com/t/connect-two-wbx-daugterboards/205803)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 15, 2011, 9:24pm UTC](https://www.ruby-forum.com/t/connect-two-wbx-daugterboards/205803 "2011-04-15T21:24:11Z")

</div>

Hi All, I am using two USRP N210 with WBX. Can I connect two WBX with cable directly? Or I need an attenuator between them. If so, what kind of attenuator I need. Thanks in advance, Brook View this message in conte…

---

## [Puts box.dup.enlarge(4, 5) -- unexpected result](https://www.ruby-forum.com/t/puts-box-dup-enlarge-4-5-unexpected-result/205657)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 12, 2011, 3:12pm UTC](https://www.ruby-forum.com/t/puts-box-dup-enlarge-4-5-unexpected-result/205657 "2011-04-12T15:12:43Z")

</div>

Hello, I wonder why the statement “puts box.dup.enlarge(4, 5)” below gives output 8 instead of (0, 1, 6, 8). Thanks, Stefan S. stefan@AMD64X2 ~/pet $ cat btest.rb #!/usr/bin/ruby -w module Bounding class Box attr…

---

## [Error\_page](https://www.ruby-forum.com/t/error-page/205050)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 28, 2011, 7:56pm UTC](https://www.ruby-forum.com/t/error-page/205050 "2011-03-28T19:56:41Z")

</div>

I just noticed that the error\_page directive strips post data… I thought a patch was submitted for this years ago? Any chance of getting this patched? Us people using dynamic sites where we use internal redirects li…

---

## [Differences in default unit tests between Rails versions](https://www.ruby-forum.com/t/differences-in-default-unit-tests-between-rails-versions/204931)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 25, 2011, 9:51am UTC](https://www.ruby-forum.com/t/differences-in-default-unit-tests-between-rails-versions/204931 "2011-03-25T09:51:10Z")

</div>

In my efforts to upgrade our site from 2.1.0 to 3.0.x, I have upgraded to 2.2.2 and the site works, but I am working on understanding tests, fixtures and the whole deal. So realizing that upgrading really means testin…

---

## [Multi-dimensional arrays not working](https://www.ruby-forum.com/t/multi-dimensional-arrays-not-working/204130)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 6, 2011, 2:02am UTC](https://www.ruby-forum.com/t/multi-dimensional-arrays-not-working/204130 "2011-03-06T02:02:05Z")

</div>

I am trying to make a 3D grid using an Array of Arrays of Arrays but am having trouble storing a single point with a value: #2 by 2 by 2 grid @grid = Array.new(2, Array.new(2, Array.new(2, “Null”))) #Point (x, y, z) …

---

## [Redmine and nginx](https://www.ruby-forum.com/t/redmine-and-nginx/202687)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 3, 2011, 11:12pm UTC](https://www.ruby-forum.com/t/redmine-and-nginx/202687 "2011-02-03T23:12:10Z")

</div>

Hello everyone! Why this config worked server { ... #location / { # root path\_to\_my\_site; # index index.php index.html index.htm; #} location / { ro…

---

## [Data structures from C to ruby](https://www.ruby-forum.com/t/data-structures-from-c-to-ruby/200197)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 7, 2010, 4:51pm UTC](https://www.ruby-forum.com/t/data-structures-from-c-to-ruby/200197 "2010-12-07T16:51:58Z")

</div>

Hi. I am new to ruby and i know c and c++. i wonder if there is something similar to c pointers for ruby. Let me give an example. I have an object foo with some methods, i have object foo2 with other methods and foo3…

---

## [Che ne pensate di Diaspora?](https://www.ruby-forum.com/t/che-ne-pensate-di-diaspora/195340)

<div class="topic-metadata">

**Author:** [@Luigi\_MaselliSS](https://www.ruby-forum.com/u/Luigi_MaselliSS)\
**Replies:** 2\
**Last updated:** [September 23, 2010, 11:20am UTC](https://www.ruby-forum.com/t/che-ne-pensate-di-diaspora/195340 "2010-09-23T11:20:55Z")

</div>

Il progetto che vorrebbe creare un Facebook Open Source distribuito. Per ora ho letto solo delle polemiche riguardo la licenza AGPL adottata, ma guardando un po’ il codice e lo stack utilizzato ruby, rails 3, mongod…

---

## [Complex associations](https://www.ruby-forum.com/t/complex-associations/192641)

<div class="topic-metadata">

**Author:** [@Trish](https://www.ruby-forum.com/u/Trish)\
**Replies:** 2\
**Last updated:** [August 3, 2010, 6:23pm UTC](https://www.ruby-forum.com/t/complex-associations/192641 "2010-08-03T18:23:04Z")

</div>

I am working on a project that has some complex table associations, and I am having a hard time declaring this association in a Model, and fear it can’t be done. Here is an example of my issue… class StoreType \< Acti…

---

## [ThreadError: stopping only thread](https://www.ruby-forum.com/t/threaderror-stopping-only-thread/190101)

<div class="topic-metadata">

**Author:** [@laurin1](https://www.ruby-forum.com/u/laurin1)\
**Replies:** 2\
**Last updated:** [June 23, 2010, 3:30pm UTC](https://www.ruby-forum.com/t/threaderror-stopping-only-thread/190101 "2010-06-23T15:30:38Z")

</div>

Running Rails 2.3.5 I am new to Ruby and Rails. From the console I get the following ThreadError below. Any suggestions are very welcome. app.get “/slides” =\> 200 app.request.path\_parameters =\> {“action”=\>“in…

---

## [1.9.2 spec has been frozen](https://www.ruby-forum.com/t/1-9-2-spec-has-been-frozen/186326)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 2\
**Last updated:** [April 5, 2010, 3:15am UTC](https://www.ruby-forum.com/t/1-9-2-spec-has-been-frozen/186326 "2010-04-05T03:15:44Z")

</div>

e$B@\>;3OB9-$G$9!#e(B e$B1sF#$5$s$N:n@.$7$?0lMw$K=\>$C$Fe(B Feature e$B%A%1%C%H$N$&$A9g0U$Ke(B e$BC#$7$F$$$J$$$b$N$Oe(B Target version e$B$re(B 1.9.x e$B$K@\_Dj$7$^$7$?!#e(B e$B!Ve(BRubye$B!W%W%m%8%‘%/%H$K$"$C$?$b$N$O!V…

---

## [The gnuradio ofdm receiver](https://www.ruby-forum.com/t/the-gnuradio-ofdm-receiver/183222)

<div class="topic-metadata">

**Author:** [@bin\_zan](https://www.ruby-forum.com/u/bin_zan)\
**Replies:** 2\
**Last updated:** [February 10, 2010, 8:28pm UTC](https://www.ruby-forum.com/t/the-gnuradio-ofdm-receiver/183222 "2010-02-10T20:28:45Z")

</div>

Hi, 1.Any one can tell me in gnuradio OFDM, after ofdm\_sync block, what are the data looks like? Does the output go through FFT operation already? If not, when does the FFT actually actually come ? Does it after th…

---

## [Excel and FxRuby windows](https://www.ruby-forum.com/t/excel-and-fxruby-windows/180310)

<div class="topic-metadata">

**Author:** [@drlelon](https://www.ruby-forum.com/u/drlelon)\
**Replies:** 2\
**Last updated:** [December 17, 2009, 5:13pm UTC](https://www.ruby-forum.com/t/excel-and-fxruby-windows/180310 "2009-12-17T17:13:12Z")

</div>

I have a ruby app on Windows, with an FxRuby UI that opens up Excel using Win32OLE. The Excel window obscures the UI at one point. How can I programmatically send the Excel window to the back and/or bring the FxRuby…

---

## [FactoryGirl and habtm associations](https://www.ruby-forum.com/t/factorygirl-and-habtm-associations/179448)

<div class="topic-metadata">

**Author:** [@eltercero](https://www.ruby-forum.com/u/eltercero)\
**Replies:** 2\
**Last updated:** [November 26, 2009, 12:48pm UTC](https://www.ruby-forum.com/t/factorygirl-and-habtm-associations/179448 "2009-11-26T12:48:39Z")

</div>

hi, Does anyone know whether FactoryGirl is possible to generate a factory for a model that now HBTM associations and moreover this model requires the presence of this association. If possible, would appreciate any i…

---

## [Rack error](https://www.ruby-forum.com/t/rack-error/175714)

<div class="topic-metadata">

**Author:** [@preethi](https://www.ruby-forum.com/u/preethi)\
**Replies:** 2\
**Last updated:** [September 18, 2009, 1:00pm UTC](https://www.ruby-forum.com/t/rack-error/175714 "2009-09-18T13:00:15Z")

</div>

Hi I’ve just started exploring about rack and created by config.ru file under config folder in my application. when I try to run the “rackup” command, I get an error saying Configuration config.ru not found. I’ve j…

---

## [Escape\_javascript error](https://www.ruby-forum.com/t/escape-javascript-error/174919)

<div class="topic-metadata">

**Author:** [@bgumbiker](https://www.ruby-forum.com/u/bgumbiker)\
**Replies:** 2\
**Last updated:** [September 7, 2009, 2:16am UTC](https://www.ruby-forum.com/t/escape-javascript-error/174919 "2009-09-07T02:16:27Z")

</div>

Hello, I am using jQuery for all ajax stuff and recently got following error: ActionView::TemplateError (private method \`gsub’ called for #\<Array: 0x2425ae8\>) on line #1 of… and the code where it happens: $("#notice…

---

## [Rmagick issue](https://www.ruby-forum.com/t/rmagick-issue/174534)

<div class="topic-metadata">

**Author:** [@arunvoip](https://www.ruby-forum.com/u/arunvoip)\
**Replies:** 2\
**Last updated:** [August 31, 2009, 9:11am UTC](https://www.ruby-forum.com/t/rmagick-issue/174534 "2009-08-31T09:11:49Z")

</div>

Hi all… i am working on rails version 1.2.3 (it is must to work on version 1.2.3) & ruby 1.8.6. For my project i want to convert text in to images files… so that i use rmagick… it is working fine for only english… i …

---

## [How to upload video to my Flash Media Server?](https://www.ruby-forum.com/t/how-to-upload-video-to-my-flash-media-server/173108)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 2\
**Last updated:** [August 3, 2009, 2:58am UTC](https://www.ruby-forum.com/t/how-to-upload-video-to-my-flash-media-server/173108 "2009-08-03T02:58:59Z")

</div>

I have an FMS (influxis) ready for video streaming I wonder how Y can transfer the video uploaded by my web app users into the FMS ? no plugin yet I guess… should I use a js library ? all I have seen until now is via …

---

## [String conversion, from a base to an other new one](https://www.ruby-forum.com/t/string-conversion-from-a-base-to-an-other-new-one/171596)

<div class="topic-metadata">

**Author:** [@z4n9ief](https://www.ruby-forum.com/u/z4n9ief)\
**Replies:** 2\
**Last updated:** [July 6, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/string-conversion-from-a-base-to-an-other-new-one/171596 "2009-07-06T19:08:28Z")

</div>

Hello, Is there a way, in Ruby, to convert this kind of value: “3m74jnfu9f” (which is in base 32 having: “0123456789abcdefghijklmnopqrstuv” chars) into a other new base, for instance a base 8 (having: “Ã¹=\*$\`^~Â£” cha…

---

## [Multithreaded BG task which does AR updates okay?](https://www.ruby-forum.com/t/multithreaded-bg-task-which-does-ar-updates-okay/168533)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 2\
**Last updated:** [May 22, 2009, 9:18am UTC](https://www.ruby-forum.com/t/multithreaded-bg-task-which-does-ar-updates-okay/168533 "2009-05-22T09:18:56Z")

</div>

Hey guys, I’m thinking about writing a method which utilises multithreading to do a bunch of api calls and make AR updates. Then calling the method once an hour with Rufus scheduler. I’m a little concerned if this …

---

## [Ruby-oci8 1.0.6 and 2.0.2](https://www.ruby-forum.com/t/ruby-oci8-1-0-6-and-2-0-2/168170)

<div class="topic-metadata">

**Author:** [@kubo](https://www.ruby-forum.com/u/kubo)\
**Replies:** 2\
**Last updated:** [May 18, 2009, 12:33am UTC](https://www.ruby-forum.com/t/ruby-oci8-1-0-6-and-2-0-2/168170 "2009-05-18T00:33:54Z")

</div>

Ruby-oci8 1.0.6 and 2.0.2 are released. These are Oracle modules using OCI8 API. http://rubyforge.org/projects/ruby-oci8/ Ruby-oci8 1.0.6 is a latest stable release. The target ruby version is 1.8. It doesn’t work wi…

---

## [BUG: "Mutual join" deadlock detection faulty in 1.8.6 and 1.8.7](https://www.ruby-forum.com/t/bug-mutual-join-deadlock-detection-faulty-in-1-8-6-and-1-8-7/168029)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 2\
**Last updated:** [May 15, 2009, 7:46am UTC](https://www.ruby-forum.com/t/bug-mutual-join-deadlock-detection-faulty-in-1-8-6-and-1-8-7/168029 "2009-05-15T07:46:59Z")

</div>

I tried submitting this at Ruby Issue Tracking System but it said “Â« Mailing list Â» can’t be blank” but wouldn’t let me fill in anything in that field. If a third thread is involved, the code in eval.c in function …

---

## [Hash#merge in a controller](https://www.ruby-forum.com/t/hash-merge-in-a-controller/167561)

<div class="topic-metadata">

**Author:** [@albertosesena](https://www.ruby-forum.com/u/albertosesena)\
**Replies:** 2\
**Last updated:** [May 11, 2009, 3:30am UTC](https://www.ruby-forum.com/t/hash-merge-in-a-controller/167561 "2009-05-11T03:30:39Z")

</div>

Hi all! I have a Place model with a description attribute and a Service model with an itinerary attribute. An itinerary is simply a string with dash-seprated place descriptions. In my services\_controller.rb#create i …

---

## [Active\_scaffold config issue? Complains about rails 2.2.2 dependency](https://www.ruby-forum.com/t/active-scaffold-config-issue-complains-about-rails-2-2-2-dependency/159097)

<div class="topic-metadata">

**Author:** [@drub](https://www.ruby-forum.com/u/drub)\
**Replies:** 2\
**Last updated:** [April 3, 2009, 1:31pm UTC](https://www.ruby-forum.com/t/active-scaffold-config-issue-complains-about-rails-2-2-2-dependency/159097 "2009-04-03T13:31:44Z")

</div>

Howdy all, Trying to start WEBrick. The error is displayed “This version of ActiveScaffold requires Rails 2.2 or higher. Please use an earlier version. (RuntimeError)” “gem list” shows “rails 2.2.2”, so looks like …

---

## [Incrementing field through a link](https://www.ruby-forum.com/t/incrementing-field-through-a-link/164502)

<div class="topic-metadata">

**Author:** [@hadoob024](https://www.ruby-forum.com/u/hadoob024)\
**Replies:** 2\
**Last updated:** [April 2, 2009, 6:09pm UTC](https://www.ruby-forum.com/t/incrementing-field-through-a-link/164502 "2009-04-02T18:09:09Z")

</div>

I’m still new to Ruby, so am having issues even beginning to deal with this. Tried doing some searches, but nothing turned up, and none of the tutorials that I ran through covered this. Anyway here’s my issue, we ha…

---

## [Pobrem with REST routes](https://www.ruby-forum.com/t/pobrem-with-rest-routes/162848)

<div class="topic-metadata">

**Author:** [@chimorito](https://www.ruby-forum.com/u/chimorito)\
**Replies:** 2\
**Last updated:** [March 15, 2009, 6:32pm UTC](https://www.ruby-forum.com/t/pobrem-with-rest-routes/162848 "2009-03-15T18:32:55Z")

</div>

Hi first at all sorry if mu english is not the best. I have this models: Encuesta-\>titulo and description are string. Encuesta has\_many :preguntas Preguntas-\> texto is string, encuesta\_id and orden are integer. Pregu…

---

## [Rails to C binding of libgio](https://www.ruby-forum.com/t/rails-to-c-binding-of-libgio/162662)

<div class="topic-metadata">

**Author:** [@mvargo](https://www.ruby-forum.com/u/mvargo)\
**Replies:** 2\
**Last updated:** [March 12, 2009, 8:25pm UTC](https://www.ruby-forum.com/t/rails-to-c-binding-of-libgio/162662 "2009-03-12T20:25:03Z")

</div>

I’m trying to use some functions from the Gnome GIO library to get extended file attributes. I’m doing this by writing a C extension using the wonderful directions in http://www.rubycentral.com/pickaxe/ext\_ruby.html. …

---

## [HTTP Post Request to a servlet](https://www.ruby-forum.com/t/http-post-request-to-a-servlet/160417)

<div class="topic-metadata">

**Author:** [@hectorb](https://www.ruby-forum.com/u/hectorb)\
**Replies:** 2\
**Last updated:** [February 17, 2009, 7:33am UTC](https://www.ruby-forum.com/t/http-post-request-to-a-servlet/160417 "2009-02-17T07:33:16Z")

</div>

hi, i have to pass parameters to a Login servlet using ruby on rails at the URL(intranet) http://172.16.3.156:9090/crmserver/servlets/mobile/MobileLoginServlet and have to write following on output stream :–\> “0\\bad…

---

## [Connect multiple DB in rails project using AR](https://www.ruby-forum.com/t/connect-multiple-db-in-rails-project-using-ar/157587)

<div class="topic-metadata">

**Author:** [@on9west](https://www.ruby-forum.com/u/on9west)\
**Replies:** 2\
**Last updated:** [January 14, 2009, 2:42am UTC](https://www.ruby-forum.com/t/connect-multiple-db-in-rails-project-using-ar/157587 "2009-01-14T02:42:02Z")

</div>

Dear all I have a rails project which database connection is defined in database.yml. There is a table call “servers” which have about 40 records, which is a collection of database setting (i.e. Server.name, Server.p…

---

## [I have some challenges with the date](https://www.ruby-forum.com/t/i-have-some-challenges-with-the-date/156943)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 2\
**Last updated:** [January 5, 2009, 5:18pm UTC](https://www.ruby-forum.com/t/i-have-some-challenges-with-the-date/156943 "2009-01-05T17:18:41Z")

</div>

here i have a string date like this. 02/01/2009 : Format is DD/MM/YY however my date.parse switches the month and the day. how do i fix it. irb(main):011:0\> Date.parse(“02/01/2009”).strftime(’%Y-%m-%d’) =\> “2009-02-0…

---

## [HABTM 3 table relation](https://www.ruby-forum.com/t/habtm-3-table-relation/156029)

<div class="topic-metadata">

**Author:** [@pipex](https://www.ruby-forum.com/u/pipex)\
**Replies:** 2\
**Last updated:** [January 2, 2009, 12:28am UTC](https://www.ruby-forum.com/t/habtm-3-table-relation/156029 "2009-01-02T00:28:08Z")

</div>

Some help please!! class Article \< ActiveRecord::Base has\_and\_belongs\_to\_many :tags, :join\_table =\> :articles\_tags\_users has\_and\_belongs\_to\_many :users, :join\_table =\> :articles\_tags\_users end class Tag \< ActiveReco…

---

## [Creating a Query and then a select box based off query results](https://www.ruby-forum.com/t/creating-a-query-and-then-a-select-box-based-off-query-results/153523)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [November 18, 2008, 8:34pm UTC](https://www.ruby-forum.com/t/creating-a-query-and-then-a-select-box-based-off-query-results/153523 "2008-11-18T20:34:25Z")

</div>

Hello, I am a newbie here and was hoping someone had some experience and suggestions on how to accomplish the below task: I would like to figure out how to give my users a prepopulated list based off there selection.…

---

## [Testing controllers for DB changes?](https://www.ruby-forum.com/t/testing-controllers-for-db-changes/153419)

<div class="topic-metadata">

**Author:** [@davetron5000](https://www.ruby-forum.com/u/davetron5000)\
**Replies:** 2\
**Last updated:** [November 18, 2008, 5:05pm UTC](https://www.ruby-forum.com/t/testing-controllers-for-db-changes/153419 "2008-11-18T17:05:05Z")

</div>

New to Ruby and to Rails (but not to development or testing). Perhaps I’m going about this wrong, but I’m writing a functional test of my controller. The controller makes changes to the item being operated on and sa…

---

## [R statistical package with Ruby](https://www.ruby-forum.com/t/r-statistical-package-with-ruby/152444)

<div class="topic-metadata">

**Author:** [@Vandana](https://www.ruby-forum.com/u/Vandana)\
**Replies:** 2\
**Last updated:** [November 4, 2008, 5:15pm UTC](https://www.ruby-forum.com/t/r-statistical-package-with-ruby/152444 "2008-11-04T17:15:41Z")

</div>

Hello, I want to invoke R statiscal package from within ruby. Is there a way to do this? Has anybody done this already? How do I return output from R back into ruby? Thanks,

---

## [Iterating through all model records without pre-instantiating them](https://www.ruby-forum.com/t/iterating-through-all-model-records-without-pre-instantiating-them/151984)

<div class="topic-metadata">

**Author:** [@Pilaf](https://www.ruby-forum.com/u/Pilaf)\
**Replies:** 2\
**Last updated:** [October 28, 2008, 10:55pm UTC](https://www.ruby-forum.com/t/iterating-through-all-model-records-without-pre-instantiating-them/151984 "2008-10-28T22:55:26Z")

</div>

Hi, I’m writing a migration script which has to, well, actually migrate all data from table A to table B, but I need to access the application logic in model A for each row migrated. I could do this: MyModel.all.each…

---

## [Using SMS gateway to receive Text messages for a RoR app](https://www.ruby-forum.com/t/using-sms-gateway-to-receive-text-messages-for-a-ror-app/151604)

<div class="topic-metadata">

**Author:** [@Yung-Rick](https://www.ruby-forum.com/u/Yung-Rick)\
**Replies:** 2\
**Last updated:** [October 24, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/using-sms-gateway-to-receive-text-messages-for-a-ror-app/151604 "2008-10-24T16:28:05Z")

</div>

I am supposed to develop an application for a client that retrieves text messages from three different GSM Network providers. I am a newbie and looking for any knowledge concerning this area. Information concerning se…

---

## [Best way to determine if RSpec is loaded?](https://www.ruby-forum.com/t/best-way-to-determine-if-rspec-is-loaded/149725)

<div class="topic-metadata">

**Author:** [@Ashley\_M](https://www.ruby-forum.com/u/Ashley_M)\
**Replies:** 2\
**Last updated:** [September 30, 2008, 3:10pm UTC](https://www.ruby-forum.com/t/best-way-to-determine-if-rspec-is-loaded/149725 "2008-09-30T15:10:34Z")

</div>

Hi I’ve been using the Twitter gem, but I discovered it loads ActiveSupport, which meddles with Kernel#require and generally causes me confusion and pain. I don’t need Twitter loaded for my specs, currently I’m doin…

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

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