# Top

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

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

---

## [\[ANN\] Release of Typo 5.2.98](https://www.ruby-forum.com/t/ann-release-of-typo-5-2-98/162874)

<div class="topic-metadata">

**Author:** [@de\_Villamil\_FrSSSSd](https://www.ruby-forum.com/u/de_Villamil_FrSSSSd)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 10:40pm UTC](https://www.ruby-forum.com/t/ann-release-of-typo-5-2-98/162874 "2009-03-14T22:40:06Z")

</div>

Hi list, I’ve released tonight Typo 5.2.98, which is the first release candidate for Typo 5.3. Only 1 month and half after releasing Typo 5.2 as a major release, here is another one with a consequent bunch of evoluti…

---

## [20081106 - How to enable Nginx to serve PHP code/pages in UBUNTU](https://www.ruby-forum.com/t/20081106-how-to-enable-nginx-to-serve-php-code-pages-in-ubuntu/152690)

<div class="topic-metadata">

**Author:** [@larios](https://www.ruby-forum.com/u/larios)\
**Replies:** 0\
**Last updated:** [November 6, 2008, 1:52pm UTC](https://www.ruby-forum.com/t/20081106-how-to-enable-nginx-to-serve-php-code-pages-in-ubuntu/152690 "2008-11-06T13:52:03Z")

</div>

The php5-cgi (until 5.2.4) package does not include a script to automatically start it in external FASTCGI Mode (Daemon mode). As there is some confusion on the Internet on how to properly set PHP script execution in …

---

## [\[ANN\] Release of Typo 5.1.2](https://www.ruby-forum.com/t/ann-release-of-typo-5-1-2/144219)

<div class="topic-metadata">

**Author:** [@de\_Villamil\_FrSSSSd](https://www.ruby-forum.com/u/de_Villamil_FrSSSSd)\
**Replies:** 0\
**Last updated:** [July 26, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/ann-release-of-typo-5-1-2/144219 "2008-07-26T22:11:58Z")

</div>

Good evening, I’ve just released a new Typo bugfix version for the 5.1 series. Unless something really critical appears, it will be the last release before the Rails 2.1 based 5.2 release, which will happen in septem…

---

## [Compiling Ruby w/ Profile Guided Optimization](https://www.ruby-forum.com/t/compiling-ruby-w-profile-guided-optimization/60564)

<div class="topic-metadata">

**Author:** [@Greg\_Buchholz](https://www.ruby-forum.com/u/Greg_Buchholz)\
**Replies:** 0\
**Last updated:** [May 15, 2006, 6:17pm UTC](https://www.ruby-forum.com/t/compiling-ruby-w-profile-guided-optimization/60564 "2006-05-15T18:17:05Z")

</div>

Since gcc-4.1 now has the option to perform profile guided optimization, I thought I’d try compiling a version of Ruby with this feature turned on. For the (somewhat contrived/synthetic) scenario below, it looks like…

---

## [Matching key,values of Hash of Hash in script with key,values of Array of Hash got from the page is](https://www.ruby-forum.com/t/matching-key-values-of-hash-of-hash-in-script-with-key-values-of-array-of-hash-got-from-the-page-is/244942)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [July 19, 2016, 6:46am UTC](https://www.ruby-forum.com/t/matching-key-values-of-hash-of-hash-in-script-with-key-values-of-array-of-hash-got-from-the-page-is/244942 "2016-07-19T06:46:58Z")

</div>

I wrote a Ruby script to check if the layer found in DOM in Firebug for the page www.jira.com is matching with the hash values declared in my script. Below is the Ruby script I have written: browser.goto('www.jira.com…

---

## [Error on booking futsal according to it ground](https://www.ruby-forum.com/t/error-on-booking-futsal-according-to-it-ground/243965)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [January 29, 2016, 4:18pm UTC](https://www.ruby-forum.com/t/error-on-booking-futsal-according-to-it-ground/243965 "2016-01-29T16:18:35Z")

</div>

i am doing a project for futsal booking. Now i can book a ground of futsal but having problem to book futsal with many ground. How can i do it ? I want show the ground number when its booked along with futsal\_id …

---

## [I am new to Rails and Cucumber. Can someone help me with the error below?](https://www.ruby-forum.com/t/i-am-new-to-rails-and-cucumber-can-someone-help-me-with-the-error-below/243090)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 21, 2015, 1:16am UTC](https://www.ruby-forum.com/t/i-am-new-to-rails-and-cucumber-can-someone-help-me-with-the-error-below/243090 "2015-08-21T01:16:32Z")

</div>

I am on windows 7, ruby 2.2.2p95, rails 4.2.3. C:\\sites\\gmail\>rails generate cucumber C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x64-mingw32/lib/sqlite3.rb :6:in require': cannot load such file -- sqlite3/s…

---

## [Nginx and fastcgi with c](https://www.ruby-forum.com/t/nginx-and-fastcgi-with-c/242508)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 29, 2015, 12:36pm UTC](https://www.ruby-forum.com/t/nginx-and-fastcgi-with-c/242508 "2015-06-29T12:36:24Z")

</div>

Where can I find good tutorials on writing fastcgi applications with nginx and c ? ( Googling didn’t help much. ) How do I handle HTTP requests received by the nginx server with c code ? Please point out some resourc…

---

## [Select\_tag not saving associated child-object](https://www.ruby-forum.com/t/select-tag-not-saving-associated-child-object/242199)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 3, 2015, 11:51pm UTC](https://www.ruby-forum.com/t/select-tag-not-saving-associated-child-object/242199 "2015-06-03T23:51:22Z")

</div>

I have a form with a select\_tag and options\_from\_collection\_for\_select that I can’t seem to get to pass. The parent object, “Campaign”, saves but does not associate with the child-object “Uploadzip”. Campaign has\_one …

---

## [Username not in sudoers file and access denied to sudoers file](https://www.ruby-forum.com/t/username-not-in-sudoers-file-and-access-denied-to-sudoers-file/241900)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 10, 2015, 3:16am UTC](https://www.ruby-forum.com/t/username-not-in-sudoers-file-and-access-denied-to-sudoers-file/241900 "2015-05-10T03:16:33Z")

</div>

I am trying to install RVM to install ruby on rails in lynux but I get the following message: your username is not in the sudoers file, then when I try to use visudo to edit the sudoers file, the following message ap…

---

## [Exports in \_runtime\_swig.pyd](https://www.ruby-forum.com/t/exports-in-runtime-swig-pyd/232630)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 19, 2014, 3:15pm UTC](https://www.ruby-forum.com/t/exports-in-runtime-swig-pyd/232630 "2014-10-19T15:15:39Z")

</div>

I’m still trying to understand the build-process and internals of GnuRadio. While trying to build the Swig .pyd modules, I notice that gnuradio-runtime/swig/runtime\_swig.i has a: #define GR\_RUNTIME\_API Thus functions…

---

## [Problem with program - just learning Ruby](https://www.ruby-forum.com/t/problem-with-program-just-learning-ruby/232476)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 11, 2014, 9:36pm UTC](https://www.ruby-forum.com/t/problem-with-program-just-learning-ruby/232476 "2014-10-11T21:36:51Z")

</div>

Hi, I am learning Ruby from an online tutorial. I am trying to create a program that lets you input as many words as you want until you hit a blank enter. The program then sorts them in alphabetical order. I used r…

---

## [Security risks ( a bit OT )](https://www.ruby-forum.com/t/security-risks-a-bit-ot/239100)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [February 12, 2014, 10:14am UTC](https://www.ruby-forum.com/t/security-risks-a-bit-ot/239100 "2014-02-12T10:14:37Z")

</div>

Hi folks, I’m just about to build up a server to take over about 100 smallish drupal sites. I’ve found that it is better to share a lot of resources between sites if possible, rather than allocate small slices to each…

---

## [Ngginx reverse proxy issue](https://www.ruby-forum.com/t/ngginx-reverse-proxy-issue/237055)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [October 23, 2013, 6:34am UTC](https://www.ruby-forum.com/t/ngginx-reverse-proxy-issue/237055 "2013-10-23T06:34:01Z")

</div>

Hi we are using nginx as proxy the request to back-end t web application , but some times when users accessing webapp via proxy , they faced some unusual behaviors like buttons are not clicking , Dropdown lists are …

---

## [Worker process is not getting killed , when master is killed using -9](https://www.ruby-forum.com/t/worker-process-is-not-getting-killed-when-master-is-killed-using-9/236132)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 8, 2013, 8:51pm UTC](https://www.ruby-forum.com/t/worker-process-is-not-getting-killed-when-master-is-killed-using-9/236132 "2013-08-08T20:51:02Z")

</div>

Hi, I am facing one problem with nginx. I am waiting for nginx to stop withing 30 seconds. If it is not getting stopped, I am firing command to kill master process using pkill -9 \<master\_process\_pid\> But, Killing …

---

## [How to use multiple models in view template form in rails](https://www.ruby-forum.com/t/how-to-use-multiple-models-in-view-template-form-in-rails/235989)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 29, 2013, 6:24pm UTC](https://www.ruby-forum.com/t/how-to-use-multiple-models-in-view-template-form-in-rails/235989 "2013-07-29T18:24:39Z")

</div>

I am new to rails, And stuck in this problem from last two days I have a student and student\_parent model they have a one-to-many relationship i want to build database attribute through one object from form to datase.…

---

## [HABTM Checkboxes](https://www.ruby-forum.com/t/habtm-checkboxes/245912)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [July 28, 2013, 9:20pm UTC](https://www.ruby-forum.com/t/habtm-checkboxes/245912 "2013-07-28T21:20:50Z")

</div>

I have a Course model which habtm categories. I am trying to have checkboxes to add or delete categories from the new and update courses pages. Models: course.rb == Schema Information Table name: courses id …

---

## [About sample lost](https://www.ruby-forum.com/t/about-sample-lost/245458)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 4, 2013, 5:38pm UTC](https://www.ruby-forum.com/t/about-sample-lost/245458 "2013-06-04T17:38:43Z")

</div>

Dear list, Now I meet a problem about counting all the input samples. I hope I can get some assistant from here. The problems are as follows, In one of my blocks, I want to count all the consumed input samples to ge…

---

## [Re: Polyphase clock sync ccf symbols needed?](https://www.ruby-forum.com/t/re-polyphase-clock-sync-ccf-symbols-needed/228239)

<div class="topic-metadata">

**Author:** [@Sam\_mite](https://www.ruby-forum.com/u/Sam_mite)\
**Replies:** 1\
**Last updated:** [April 28, 2013, 5:40pm UTC](https://www.ruby-forum.com/t/re-polyphase-clock-sync-ccf-symbols-needed/228239 "2013-04-28T17:40:24Z")

</div>

set Phase plot is showing some sinusoidal output. Attached are the two phase Sam, algorithm is trying to track. Also noise will affect if somewhat as it tries to keep a lock. The fact that it looks like it’s actual…

---

## [\[Backport 200 - Backport #8333\]\[Assigned\] backport r40479 (fix a compilation error on platform seekd](https://www.ruby-forum.com/t/backport-200-backport-8333-assigned-backport-r40479-fix-a-compilation-error-on-platform-seekd/228542)

<div class="topic-metadata">

**Author:** [@nagachika\_STomoyuki](https://www.ruby-forum.com/u/nagachika_STomoyuki)\
**Replies:** 1\
**Last updated:** [April 26, 2013, 4:58pm UTC](https://www.ruby-forum.com/t/backport-200-backport-8333-assigned-backport-r40479-fix-a-compilation-error-on-platform-seekd/228542 "2013-04-26T16:58:09Z")

</div>

Issue #8333 has been reported by nagachika (Tomoyuki C.). Backport #8333: backport r40479 (fix a compilation error on platform seekdir() isn’t available) Author: nagachika (Tomoyuki C.) Status: Assigned Priority: …

---

## [Disable global variable sharing over multiple evaluations](https://www.ruby-forum.com/t/disable-global-variable-sharing-over-multiple-evaluations/223550)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [October 28, 2012, 7:22pm UTC](https://www.ruby-forum.com/t/disable-global-variable-sharing-over-multiple-evaluations/223550 "2012-10-28T19:22:20Z")

</div>

Hi, we’ve updated jruby from 1.5.8 to 1.6.8 and now global variables are shared over all evaluations. To ensure that our scripts have to side-effects we want to enabled the old behavior. Does anybody know the settin…

---

## [Session\_options\[:secure\] resets session\_id on every request](https://www.ruby-forum.com/t/session-options-secure-resets-session-id-on-every-request/189856)

<div class="topic-metadata">

**Author:** [@sheepfunk](https://www.ruby-forum.com/u/sheepfunk)\
**Replies:** 1\
**Last updated:** [October 18, 2012, 12:48am UTC](https://www.ruby-forum.com/t/session-options-secure-resets-session-id-on-every-request/189856 "2012-10-18T00:48:32Z")

</div>

I’m working on an ecommerce site (in Rails 2.3) and I added: ActionController::Base.session\_options\[:secure\] = true to ~/config/environments/production.rb Now, every time I add something to my shopping cart and naviga…

---

## [Delay error 503 code with ngx\_http\_delay](https://www.ruby-forum.com/t/delay-error-503-code-with-ngx-http-delay/220873)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 23, 2012, 4:19pm UTC](https://www.ruby-forum.com/t/delay-error-503-code-with-ngx-http-delay/220873 "2012-06-23T16:19:28Z")

</div>

I would like to add a small delay to error 503 responses back to the client. Error code 503 is triggered when a client hits the “limit\_req\_zone” of 200 requests per minute. Maxim’s ngx\_http\_delay looks like the right …

---

## [PROPFIND and OPTIONS support in Nginx?](https://www.ruby-forum.com/t/propfind-and-options-support-in-nginx/220468)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 13, 2012, 1:06pm UTC](https://www.ruby-forum.com/t/propfind-and-options-support-in-nginx/220468 "2012-06-13T13:06:20Z")

</div>

I was wondering why the Nginx devs do not add WebDAV support for PROPFIND and OPTIONS. There is a module available in Github but still, I would love to have this officially supported by Nginx: Are there any plans to …

---

## [Uninitialized Constant](https://www.ruby-forum.com/t/uninitialized-constant/218610)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 6, 2012, 12:35pm UTC](https://www.ruby-forum.com/t/uninitialized-constant/218610 "2012-04-06T12:35:53Z")

</div>

Hi there i have used a code of opening the file and my test case is giving error of UNINITIALIZED Constanta in the following line CSV::Reader.parse(File.open(@file, ‘rb’)) do |row| please give me solution what am i d…

---

## [Question on using USRP sink/sources in GNU Radio recent release](https://www.ruby-forum.com/t/question-on-using-usrp-sink-sources-in-gnu-radio-recent-release/213858)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 14, 2011, 6:28pm UTC](https://www.ruby-forum.com/t/question-on-using-usrp-sink-sources-in-gnu-radio-recent-release/213858 "2011-11-14T18:28:31Z")

</div>

Hello, as some of you may know I recently installed a fresh GNURADIO package, after a manual install of a UHD package on my Ubuntu 10.04 LTS workstation. dpkg -i UUHD-003.003.001-Ubuntu-10.04-x86\_64.deb (from git) c…

---

## [RubyonRails: Registrazione ad un sito con convalida via mail](https://www.ruby-forum.com/t/rubyonrails-registrazione-ad-un-sito-con-convalida-via-mail/213559)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 5, 2011, 12:51pm UTC](https://www.ruby-forum.com/t/rubyonrails-registrazione-ad-un-sito-con-convalida-via-mail/213559 "2011-11-05T12:51:04Z")

</div>

Ciao a tutti, sono nuova ed ho iniziato ad usare rubyonrails da qualche settimana. Sto realizzando un sito per una materia universitaria. Lavoro su localhost. Sto provando a gestire la registrazione al sito, e vorrei…

---

## [Re: OSX gnuradio/uhd issue](https://www.ruby-forum.com/t/re-osx-gnuradio-uhd-issue/202340)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 27, 2011, 5:16am UTC](https://www.ruby-forum.com/t/re-osx-gnuradio-uhd-issue/202340 "2011-01-27T05:16:09Z")

</div>

Oh darn, way to much multitasking, thats my mistake. I did have that issue, when I deleted the folder and had git recreate it I forgot to checkout the next branch. I recognized I did this and resolved the issue. That…

---

## [Controller\_name replacement?](https://www.ruby-forum.com/t/controller-name-replacement/200084)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 4, 2010, 5:40pm UTC](https://www.ruby-forum.com/t/controller-name-replacement/200084 "2010-12-04T17:40:52Z")

</div>

This his been discussed but the only definitive answer (kinda) was use… describe “a description” do system { SomeController } end However when I do that I get this error… @controller is nil: make sure you set it in…

---

## [How best to intercept one method in the midst of a chain](https://www.ruby-forum.com/t/how-best-to-intercept-one-method-in-the-midst-of-a-chain/198756)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [November 7, 2010, 2:12pm UTC](https://www.ruby-forum.com/t/how-best-to-intercept-one-method-in-the-midst-of-a-chain/198756 "2010-11-07T14:12:35Z")

</div>

Hi Group, I’m back to Rspec after some time away, and was a little curious about why the following example does not return the value zero. ​​gist:665226 · GitHub I have tried @repo.status.send{type.to\_sym}.size and g…

---

## [Cannot make rack load the proper rails code in threadsafe mode](https://www.ruby-forum.com/t/cannot-make-rack-load-the-proper-rails-code-in-threadsafe-mode/196269)

<div class="topic-metadata">

**Author:** [@xuwenhao](https://www.ruby-forum.com/u/xuwenhao)\
**Replies:** 1\
**Last updated:** [October 11, 2010, 5:24pm UTC](https://www.ruby-forum.com/t/cannot-make-rack-load-the-proper-rails-code-in-threadsafe-mode/196269 "2010-10-11T17:24:48Z")

</div>

Hi Buddies, I am currently working on getting a spree project online by JRuby on Rails. I am using Spree 0.11, Rails 2.3.8 and JRuby 1.5.3. I also write quite a couple of extensions to meet our business for spree and…

---

## [Impostare il nome della email "from"](https://www.ruby-forum.com/t/impostare-il-nome-della-email-from/187460)

<div class="topic-metadata">

**Author:** [@triplem](https://www.ruby-forum.com/u/triplem)\
**Replies:** 1\
**Last updated:** [April 24, 2010, 10:42am UTC](https://www.ruby-forum.com/t/impostare-il-nome-della-email-from/187460 "2010-04-24T10:42:13Z")

</div>

Premetto che non sono un esperto di mailing list ecc. Per impostare il nome del mittende in una email io ho sempre usato questo formato: “Tizio removed\_email\_address@domain.invalid” PerÃ² per fare questo in rails, ho …

---

## [Undefined method \`scaffold' for AdminController:Class](https://www.ruby-forum.com/t/undefined-method-scaffold-for-admincontroller-class/184023)

<div class="topic-metadata">

**Author:** [@kevinkusf](https://www.ruby-forum.com/u/kevinkusf)\
**Replies:** 1\
**Last updated:** [February 24, 2010, 5:20am UTC](https://www.ruby-forum.com/t/undefined-method-scaffold-for-admincontroller-class/184023 "2010-02-24T05:20:43Z")

</div>

Hello everyone! I think a little background is necessary. I’ve been a web-developer and linux user for a little over 4 years now, primarily working with PHP and MySQL. I’ve tried several other frameworks like Django a…

---

## [Fields\_for weirdness](https://www.ruby-forum.com/t/fields-for-weirdness/177334)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [October 15, 2009, 6:21am UTC](https://www.ruby-forum.com/t/fields-for-weirdness/177334 "2009-10-15T06:21:48Z")

</div>

I just did a large upgrade to to Rails 2.3.4 and I am trying to make use of the more modern view features. I have a Newsletter object. Newsletter has many Sections. I also have: accepts\_nested\_attributes\_for :sectio…

---

## [Selenium with ruby rails and webrat](https://www.ruby-forum.com/t/selenium-with-ruby-rails-and-webrat/168947)

<div class="topic-metadata">

**Author:** [@linewriter](https://www.ruby-forum.com/u/linewriter)\
**Replies:** 1\
**Last updated:** [May 27, 2009, 5:51pm UTC](https://www.ruby-forum.com/t/selenium-with-ruby-rails-and-webrat/168947 "2009-05-27T17:51:15Z")

</div>

Hi, I have set up selenium and webrat with cucumber and ruby rails in Cygwin on Windows DOS machine. I have everything working expect that when I ‘rake’ features, selenium is not starting up any firefox browser. I ha…

---

## [Mocked models' names being overwritten by rspec](https://www.ruby-forum.com/t/mocked-models-names-being-overwritten-by-rspec/166862)

<div class="topic-metadata">

**Author:** [@biot023](https://www.ruby-forum.com/u/biot023)\
**Replies:** 1\
**Last updated:** [April 30, 2009, 10:25am UTC](https://www.ruby-forum.com/t/mocked-models-names-being-overwritten-by-rspec/166862 "2009-04-30T10:25:30Z")

</div>

Hi – I have a model that has a name attribute, and a method I’m speccing to remove all models from a collection if they have a name that starts with an underscore. My problem is that RSpec seems to be overwriting th…

---

## [Rails 2.2.2 Problem - button\_to\_function - nil.with\_output\_buffer](https://www.ruby-forum.com/t/rails-2-2-2-problem-button-to-function-nil-with-output-buffer/162374)

<div class="topic-metadata">

**Author:** [@karmacoma](https://www.ruby-forum.com/u/karmacoma)\
**Replies:** 1\
**Last updated:** [March 9, 2009, 12:54pm UTC](https://www.ruby-forum.com/t/rails-2-2-2-problem-button-to-function-nil-with-output-buffer/162374 "2009-03-09T12:54:13Z")

</div>

Hi, I am in the process of upgrading my rails application to be compatible with rails 2.2.2. All is going well apart from a few remaining issues. My problem is: I am experiencing a test failure with what seems to be …

---

## [Ruby.h error on OS X](https://www.ruby-forum.com/t/ruby-h-error-on-os-x/161812)

<div class="topic-metadata">

**Author:** [@sprsquish](https://www.ruby-forum.com/u/sprsquish)\
**Replies:** 1\
**Last updated:** [March 2, 2009, 8:46pm UTC](https://www.ruby-forum.com/t/ruby-h-error-on-os-x/161812 "2009-03-02T20:46:49Z")

</div>

Has anyone else had problems with the ruby 1.9.1 development headers on OS X? $ echo ‘#include “ruby.h”’ \>main.c $ gcc -c main.c In file included from /Users/jeff/usr/include/ruby/ruby.h:1125, from /Users/jeff/usr/i…

---

## [How to test the code inside the block of the to\_xml function?](https://www.ruby-forum.com/t/how-to-test-the-code-inside-the-block-of-the-to-xml-function/159995)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 1\
**Last updated:** [February 12, 2009, 5:49am UTC](https://www.ruby-forum.com/t/how-to-test-the-code-inside-the-block-of-the-to-xml-function/159995 "2009-02-12T05:49:34Z")

</div>

Hi all, when I spec the to\_xml function like this: @some\_model.should\_receive(:to\_xml), it dskips the code located in the block, here is the controller code: … output = @detenteur.to\_xml( :skip\_types =\> false, :skip\_…

---

## [Ad hoc query builder](https://www.ruby-forum.com/t/ad-hoc-query-builder/158046)

<div class="topic-metadata">

**Author:** [@lo\_pan](https://www.ruby-forum.com/u/lo_pan)\
**Replies:** 1\
**Last updated:** [January 27, 2009, 12:02pm UTC](https://www.ruby-forum.com/t/ad-hoc-query-builder/158046 "2009-01-27T12:02:27Z")

</div>

Hi All, Does anybody know of a plugin, gem, component, sample app, whatever, running with AR, that allows a user to define ad hoc queries by selecting the columns they want to see, ability to define filters using and…

---

## [Setting button colour on 1.9.5](https://www.ruby-forum.com/t/setting-button-colour-on-1-9-5/144294)

<div class="topic-metadata">

**Author:** [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Replies:** 1\
**Last updated:** [July 29, 2008, 12:42pm UTC](https://www.ruby-forum.com/t/setting-button-colour-on-1-9-5/144294 "2008-07-29T12:42:16Z")

</div>

Hi all, i’m working with wxruby 1.9.5 on windows. Trying to set the background colour for a button does not work! Thanks for any help, Franz This communication and any files or attachments transmitted with it may …

---

## [Signup Form](https://www.ruby-forum.com/t/signup-form/137436)

<div class="topic-metadata">

**Author:** [@prionko](https://www.ruby-forum.com/u/prionko)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/signup-form/137436 "2008-05-13T18:41:45Z")

</div>

Hi, Im creating a user registration form for an application.I dont want that the user to enter the password during the signing up, but he should enter his password only after he clicks on the activation link from the …

---

## [Cygwin install problem](https://www.ruby-forum.com/t/cygwin-install-problem/134616)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 13, 2008, 3:39am UTC](https://www.ruby-forum.com/t/cygwin-install-problem/134616 "2008-04-13T03:39:51Z")

</div>

Sorry if this is a duplicate. I have a working version of GNU Radio 3.0.3 on a Cygwin system and just tried to install 3.1.2. I followed the instructions on the wiki page and configure went ok but I got the followin…

---

## [Application.rhtml.erb not being used](https://www.ruby-forum.com/t/application-rhtml-erb-not-being-used/132433)

<div class="topic-metadata">

**Author:** [@Davo](https://www.ruby-forum.com/u/Davo)\
**Replies:** 1\
**Last updated:** [March 20, 2008, 4:28am UTC](https://www.ruby-forum.com/t/application-rhtml-erb-not-being-used/132433 "2008-03-20T04:28:17Z")

</div>

Hi All, I’m working through the updated rolling with rails tutorial ( for Rails 2.0.2 ) via the screencast at rubyplus.org & I’ve got the point where the auto generated layouts have been replaced with a global applic…

---

## [I want kiss her lips day and night](https://www.ruby-forum.com/t/i-want-kiss-her-lips-day-and-night/128569)

<div class="topic-metadata">

**Author:** [@zizo](https://www.ruby-forum.com/u/zizo)\
**Replies:** 1\
**Last updated:** [February 8, 2008, 11:11pm UTC](https://www.ruby-forum.com/t/i-want-kiss-her-lips-day-and-night/128569 "2008-02-08T23:11:26Z")

</div>

veryyyyyyyyyyy sexyyyyyyyy http://www.pic46.com/showthread.php?t=325

---

## [Attachment\_fu stopped uploading files to S3](https://www.ruby-forum.com/t/attachment-fu-stopped-uploading-files-to-s3/127946)

<div class="topic-metadata">

**Author:** [@rohit](https://www.ruby-forum.com/u/rohit)\
**Replies:** 1\
**Last updated:** [February 4, 2008, 5:37am UTC](https://www.ruby-forum.com/t/attachment-fu-stopped-uploading-files-to-s3/127946 "2008-02-04T05:37:17Z")

</div>

Hey everyone, I’ve been using attachment\_fu to upload large media files to S3 with great success in my rails application. However, it has recently stopped uploading. My app appears to be uploading to somewhere, as m…

---

## [Elimar registro con REST y AJAX](https://www.ruby-forum.com/t/elimar-registro-con-rest-y-ajax/125995)

<div class="topic-metadata">

**Author:** [@AndrSSSSs\_gutiSSSSr](https://www.ruby-forum.com/u/AndrSSSSs_gutiSSSSr)\
**Replies:** 1\
**Last updated:** [January 15, 2008, 12:53pm UTC](https://www.ruby-forum.com/t/elimar-registro-con-rest-y-ajax/125995 "2008-01-15T12:53:46Z")

</div>

Hola a todos, estoy siguiendo un PDF que se sugiriÃ³ en esta lista la semana pasada y este link \[1\] que pone el mismo caso El caso es que sigo los pasos que se especifican en el link \[1\] y no me elimina el registro h…

---

## [Render\_to\_string en tarea rake](https://www.ruby-forum.com/t/render-to-string-en-tarea-rake/125244)

<div class="topic-metadata">

**Author:** [@Geronimo\_Diaz](https://www.ruby-forum.com/u/Geronimo_Diaz)\
**Replies:** 1\
**Last updated:** [January 7, 2008, 2:45pm UTC](https://www.ruby-forum.com/t/render-to-string-en-tarea-rake/125244 "2008-01-07T14:45:13Z")

</div>

Ror-es mailing list removed\_email\_address@domain.invalid

---

## [Problem (with fix?) for passing :multi =\> \[ \]](https://www.ruby-forum.com/t/problem-with-fix-for-passing-multi/124894)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 1\
**Last updated:** [January 3, 2008, 8:53pm UTC](https://www.ruby-forum.com/t/problem-with-fix-for-passing-multi/124894 "2008-01-03T20:53:48Z")

</div>

I’m using acts\_as\_ferret, passing through multiple classes using :multi and also some conditions. The way i’m doing this, which seems a bit dirty (but it’s the only way i can work out) is to call find\_by\_contents on …

---

## [Where is Enumerable#each\_cons()?](https://www.ruby-forum.com/t/where-is-enumerable-each-cons/113799)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [September 5, 2007, 4:10am UTC](https://www.ruby-forum.com/t/where-is-enumerable-each-cons/113799 "2007-09-05T04:10:09Z")

</div>

Using: ruby 1.8.6 (2007-03-13 patchlevel 0) \[i386-mswin32\] and: ruby 1.8.4 (2006-02-24) \[x86\_64-linux\] I can’t find Enumerable#each\_cons in either version – always a NoMethodError: irb(main):001:0\> \[1, 2, 3\].cons(2) …

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

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