# Top

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

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

---

## [Location header rewrite](https://www.ruby-forum.com/t/location-header-rewrite/214521)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 5, 2011, 8:01am UTC](https://www.ruby-forum.com/t/location-header-rewrite/214521 "2011-12-05T08:01:20Z")

</div>

How do I go about rewriting the Location header in a response? I have setup nginx as a reverse proxy to a web mail server. Everything run good if data is self contain on that server. When an email have links to diff…

---

## [Require 'green\_shoes' -\> ruby: no such file to load -- green\_shoes (LoadError)](https://www.ruby-forum.com/t/require-green-shoes-ruby-no-such-file-to-load-green-shoes-loaderror/210370)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 6, 2011, 2:13pm UTC](https://www.ruby-forum.com/t/require-green-shoes-ruby-no-such-file-to-load-green-shoes-loaderror/210370 "2011-08-06T14:13:10Z")

</div>

Sorry for this newbie’s question, but I’m stuck: I installed the “green\_shoes” gem on my Win7 PC (together with Ruby 1.8.7 that is) and everything looks fine at 1st glance: A “gem list” on the cmd line results in thi…

---

## [Http.rb:681: \[BUG\] Segmentation fault](https://www.ruby-forum.com/t/http-rb-bug-segmentation-fault/209503)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [July 15, 2011, 9:43am UTC](https://www.ruby-forum.com/t/http-rb-bug-segmentation-fault/209503 "2011-07-15T09:43:32Z")

</div>

DEPRECATION WARNING: Using form\_for(:name, @resource) is deprecated. Please use form\_for(@resource, :as =\> :name) instead. (called from \_app\_views\_distribution\_pay\_html\_erb\_\_125060545\_106373980\_296134994 at /home/depl…

---

## [Rails3 how to scope it, using a serialized array?](https://www.ruby-forum.com/t/rails3-how-to-scope-it-using-a-serialized-array/206136)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 25, 2011, 5:27pm UTC](https://www.ruby-forum.com/t/rails3-how-to-scope-it-using-a-serialized-array/206136 "2011-04-25T17:27:21Z")

</div>

giving a simple model, with a serialized Array attribute class Instructor \< User … serialize :languages, Array I am looking in defining scopes like this : scope speaking\_english, lambda { where(“languages … inclu…

---

## [Exponential and trigonometric functions](https://www.ruby-forum.com/t/exponential-and-trigonometric-functions/203762)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [February 26, 2011, 6:53pm UTC](https://www.ruby-forum.com/t/exponential-and-trigonometric-functions/203762 "2011-02-26T18:53:31Z")

</div>

Hi, I am trying to use the block “multiply by a constant” in order to add a phase shift to an exponential function, e^(1j\*beta). The most curious thing here, is that GNUradio does not have any function like these dec…

---

## [Trisha Navel](https://www.ruby-forum.com/t/trisha-navel/180275)

<div class="topic-metadata">

**Author:** [@pistol](https://www.ruby-forum.com/u/pistol)\
**Replies:** 0\
**Last updated:** [December 16, 2009, 10:57am UTC](https://www.ruby-forum.com/t/trisha-navel/180275 "2009-12-16T10:57:29Z")

</div>

Trisha Navel. See hot sexy telugu tamil actress trisha romantic navel at http://hotsexyphotosandvideos.blogspot.com/2009/12/blog-post.html

---

## [Plugin to generate text logs using cucumber](https://www.ruby-forum.com/t/plugin-to-generate-text-logs-using-cucumber/166996)

<div class="topic-metadata">

**Author:** [@anilg](https://www.ruby-forum.com/u/anilg)\
**Replies:** 3\
**Last updated:** [May 1, 2009, 9:54pm UTC](https://www.ruby-forum.com/t/plugin-to-generate-text-logs-using-cucumber/166996 "2009-05-01T21:54:11Z")

</div>

Hi, I was able to run the scenarios using rake features in cucmber, All the respective results are displayed in colour in std output. is there any plugin using which i can capture these results(that are generated at …

---

## [IronRuby hosting: self becomes nil](https://www.ruby-forum.com/t/ironruby-hosting-self-becomes-nil/157277)

<div class="topic-metadata">

**Author:** [@alex\_2k8](https://www.ruby-forum.com/u/alex_2k8)\
**Replies:** 3\
**Last updated:** [January 10, 2009, 10:24am UTC](https://www.ruby-forum.com/t/ironruby-hosting-self-becomes-nil/157277 "2009-01-10T10:24:59Z")

</div>

Hello, I get very odd results with attached code: #System::Windows::Forms::Form:0x000005c nil #System::Windows::Forms::Form:0x000005e While was expected #System::Windows::Forms::Form:0x000005c #System::Windows:…

---

## [Nuevo en el foro y en ROR](https://www.ruby-forum.com/t/nuevo-en-el-foro-y-en-ror/151962)

<div class="topic-metadata">

**Author:** [@martinaustin](https://www.ruby-forum.com/u/martinaustin)\
**Replies:** 3\
**Last updated:** [October 28, 2008, 5:04pm UTC](https://www.ruby-forum.com/t/nuevo-en-el-foro-y-en-ror/151962 "2008-10-28T17:04:05Z")

</div>

Saludos a la comunidad ROR :slight\_smile: Mi nombre es Martin , soy Uruguayo , desarrollador PHP y usuario Linux (openSuse) y hoy comenzÃ© a hechar mano a ROR asi que me apreciÃ³ apropiado estar en contacto con esta c…

---

## [A disk space problem when using nginx 0.6.32 and apache2](https://www.ruby-forum.com/t/a-disk-space-problem-when-using-nginx-0-6-32-and-apache2/144698)

<div class="topic-metadata">

**Author:** [@baalchina](https://www.ruby-forum.com/u/baalchina)\
**Replies:** 3\
**Last updated:** [August 4, 2008, 6:13pm UTC](https://www.ruby-forum.com/t/a-disk-space-problem-when-using-nginx-0-6-32-and-apache2/144698 "2008-08-04T18:13:12Z")

</div>

Hi, everyone. I am using an nginx 0.6.32 and apache2 in a CentOS 4.4 server, running a php web forum. Apache listening in 127.0.0.1:81, and nginx proxy php requests to apache. I made my /usr/local 10g space. But I fo…

---

## [Base qui ne respect pas les conventions rails](https://www.ruby-forum.com/t/base-qui-ne-respect-pas-les-conventions-rails/139967)

<div class="topic-metadata">

**Author:** [@mazraelle](https://www.ruby-forum.com/u/mazraelle)\
**Replies:** 3\
**Last updated:** [June 9, 2008, 5:42pm UTC](https://www.ruby-forum.com/t/base-qui-ne-respect-pas-les-conventions-rails/139967 "2008-06-09T17:42:05Z")

</div>

Bonjour, Jâ€™utilise une base de donnÃ©es qui ne suit pas du tout las convention rails. Jâ€™ai trouvÃ© quelques infos et jâ€™aimerai que vous affirmer ou infirmer ce que je vais dire. Le nom des tables ne suit pas l…

---

## [Email Providers](https://www.ruby-forum.com/t/email-providers/133823)

<div class="topic-metadata">

**Author:** [@jmckible](https://www.ruby-forum.com/u/jmckible)\
**Replies:** 3\
**Last updated:** [April 4, 2008, 1:35am UTC](https://www.ruby-forum.com/t/email-providers/133823 "2008-04-04T01:35:08Z")

</div>

I’m curious if anyone has any recommendation for email service providers. I’m currently using AuthSMTP and it’s working out okay. I’m looking for a little more flexibility in which headers are available to set, and …

---

## [Lightweight scalable image proxy](https://www.ruby-forum.com/t/lightweight-scalable-image-proxy/124941)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 3\
**Last updated:** [January 4, 2008, 12:06am UTC](https://www.ruby-forum.com/t/lightweight-scalable-image-proxy/124941 "2008-01-04T00:06:39Z")

</div>

I need to proxy images from facebook through a different url (one which I can put a crossdomain.xml file) Im currently using like 20 mongrels where I run: def index return unless params\[:url\].include?(“facebook.com”) …

---

## [Trouble with dialog based application](https://www.ruby-forum.com/t/trouble-with-dialog-based-application/116788)

<div class="topic-metadata">

**Author:** [@chauk-mean](https://www.ruby-forum.com/u/chauk-mean)\
**Replies:** 3\
**Last updated:** [October 11, 2007, 4:05am UTC](https://www.ruby-forum.com/t/trouble-with-dialog-based-application/116788 "2007-10-11T04:05:37Z")

</div>

Hi, A long time ago, I made some MFC GUI programming … There was basically 2 kinds of application : dialog based application : a simple app based on a dialog (without menu, toolbar, status bar …) frame based app (Si…

---

## [Interact with the database from a simple ruby script](https://www.ruby-forum.com/t/interact-with-the-database-from-a-simple-ruby-script/107244)

<div class="topic-metadata">

**Author:** [@Jean-Francois](https://www.ruby-forum.com/u/Jean-Francois)\
**Replies:** 3\
**Last updated:** [June 20, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/interact-with-the-database-from-a-simple-ruby-script/107244 "2007-06-20T16:30:51Z")

</div>

Hi, I have a simple rails application with a model. The data that needs to be entered in the database comes from an external application which I can parse using a standard ruby script. What would be the proper way to…

---

## [Missing file in gem and tgz](https://www.ruby-forum.com/t/missing-file-in-gem-and-tgz/105541)

<div class="topic-metadata">

**Author:** [@Andrew\_OSBrien](https://www.ruby-forum.com/u/Andrew_OSBrien)\
**Replies:** 3\
**Last updated:** [May 31, 2007, 5:50am UTC](https://www.ruby-forum.com/t/missing-file-in-gem-and-tgz/105541 "2007-05-31T05:50:12Z")

</div>

I discovered this yesterday, but I think people had stopped reading the thread it was in, so I’ll go ahead and repost it with a more attention grabbing subject line :slight\_smile: . It looks like one of the standard R…

---

## [Syntax error, unexpected kOR](https://www.ruby-forum.com/t/syntax-error-unexpected-kor/90178)

<div class="topic-metadata">

**Author:** [@nonno\_lele](https://www.ruby-forum.com/u/nonno_lele)\
**Replies:** 3\
**Last updated:** [March 26, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/syntax-error-unexpected-kor/90178 "2007-03-26T17:47:39Z")

</div>

Hello there, I’m newbie with ruby and to be onest I’m quite surprised about a strange behaviour I found: How the interpreter works with this lines looks odd to me: def dummy? (true or false ) end This one has no p…

---

## [Observe\_field w/check\_box (how do you capture unchecked even](https://www.ruby-forum.com/t/observe-field-w-check-box-how-do-you-capture-unchecked-even/72578)

<div class="topic-metadata">

**Author:** [@Tate\_H](https://www.ruby-forum.com/u/Tate_H)\
**Replies:** 3\
**Last updated:** [October 18, 2006, 7:19am UTC](https://www.ruby-forum.com/t/observe-field-w-check-box-how-do-you-capture-unchecked-even/72578 "2006-10-18T07:19:32Z")

</div>

Hi: Does observe\_field work w/check\_box? When a checkbox is checked, all works. When it is unchecked, I get “undefined” for params\[:option\]. more info on what I’m using: my check\_box method produces this: my obse…

---

## [Sort\_by with via a parent models child](https://www.ruby-forum.com/t/sort-by-with-via-a-parent-models-child/99191)

<div class="topic-metadata">

**Author:** [@ruby-doug](https://www.ruby-forum.com/u/ruby-doug)\
**Replies:** 3\
**Last updated:** [July 20, 2006, 10:30pm UTC](https://www.ruby-forum.com/t/sort-by-with-via-a-parent-models-child/99191 "2006-07-20T22:30:35Z")

</div>

I am having a problem with ruby’s sort\_by function. I want to sort a list of parent model objects based on the children of the parent models. Normally you might say sortedList = modelList.sort\_by { |model| model\[‘som…

---

## [Log4r and rails](https://www.ruby-forum.com/t/log4r-and-rails/57216)

<div class="topic-metadata">

**Author:** [@helium](https://www.ruby-forum.com/u/helium)\
**Replies:** 3\
**Last updated:** [May 19, 2006, 8:50am UTC](https://www.ruby-forum.com/t/log4r-and-rails/57216 "2006-05-19T08:50:50Z")

</div>

Hey there folks. I would really like to use log4r as my default logger in Rails, but I’m having a hard time getting it to work. I’m not even sure I’m plugging it in in the right place. I’m using log4r 1.0.5 and rails …

---

## [Like Query Across Multiple Tables](https://www.ruby-forum.com/t/like-query-across-multiple-tables/53884)

<div class="topic-metadata">

**Author:** [@danhobbs](https://www.ruby-forum.com/u/danhobbs)\
**Replies:** 3\
**Last updated:** [February 16, 2006, 3:01am UTC](https://www.ruby-forum.com/t/like-query-across-multiple-tables/53884 "2006-02-16T03:01:55Z")

</div>

Firstly, I’m still learning Ruby and rails, so there could be a very simple solution to this. I want to search across multiple tables with a “like” query eg: (SQL is probably the easiest way to describe it): select …

---

## [How to access request's raw\_header: HTTP hdr sent by browser](https://www.ruby-forum.com/t/how-to-access-requests-raw-header-http-hdr-sent-by-browser/74312)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 3\
**Last updated:** [December 22, 2005, 11:27am UTC](https://www.ruby-forum.com/t/how-to-access-requests-raw-header-http-hdr-sent-by-browser/74312 "2005-12-22T11:27:47Z")

</div>

Is that something possible, i’ve been trying to get to the RAW headers sent during a GET request on a page, and couldn’t find where. I’m using webrick. Here are the tries I did to get access to it: class ZController \<…

---

## [Valgrind and embedded ruby](https://www.ruby-forum.com/t/valgrind-and-embedded-ruby/48486)

<div class="topic-metadata">

**Author:** [@ihspm](https://www.ruby-forum.com/u/ihspm)\
**Replies:** 3\
**Last updated:** [November 21, 2005, 8:54pm UTC](https://www.ruby-forum.com/t/valgrind-and-embedded-ruby/48486 "2005-11-21T20:54:34Z")

</div>

Hi all, I’m currently testing an environment with embedding ruby and found an issue when allocating a large amount of ruby string objects in external C calls. Im not sure, whether I misunderstood the correct usage. T…

---

## [Jim Weirich Passed Away](https://www.ruby-forum.com/t/jim-weirich-passed-away/239292)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [February 21, 2014, 6:38pm UTC](https://www.ruby-forum.com/t/jim-weirich-passed-away/239292 "2014-02-21T18:38:18Z")

</div>

https://twitter.com/dhh/status/436410949919313920 Was just watching his talk from Ruby Conf last year “Y Not Adventures in Functional Programming” http://www.confreaks.com/videos/1287-rubyconf2012-y-not-adventures-in-…

---

## [How to pick failed element in ruby](https://www.ruby-forum.com/t/how-to-pick-failed-element-in-ruby/237925)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [December 9, 2013, 9:11am UTC](https://www.ruby-forum.com/t/how-to-pick-failed-element-in-ruby/237925 "2013-12-09T09:11:32Z")

</div>

hello friends , i have experience in working with javascript. New in ruby, can anybody help me in picking up the element which got failed while running my scripts. I want to store the name of the element that got fai…

---

## [Start time is out mp4](https://www.ruby-forum.com/t/start-time-is-out-mp4/245583)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [June 22, 2013, 4:37pm UTC](https://www.ruby-forum.com/t/start-time-is-out-mp4/245583 "2013-06-22T16:37:39Z")

</div>

Hi Im using the mp4 module quite heavily, and very occasionally (once every minute or so on a busy website) there is an error written to error.log and status 500 returned in the access log \[error\] 42078#0: \*5510811 s…

---

## [ActiveRecord::Base.default\_scopes?](https://www.ruby-forum.com/t/activerecord-base-default-scopes/227310)

<div class="topic-metadata">

**Author:** [@agis\_a](https://www.ruby-forum.com/u/agis_a)\
**Replies:** 5\
**Last updated:** [March 12, 2013, 5:52pm UTC](https://www.ruby-forum.com/t/activerecord-base-default-scopes/227310 "2013-03-12T17:52:05Z")

</div>

ActiveRecord models has a weird behavior. class Post \< ActiveRecord::Base end % Post.default\_scopes? # =\> true This happens because Post.default\_scopes returns an empty array and .default\_scopes? calls !!\[\] which is…

---

## [Subdirectory still redirecting to www. despite rule](https://www.ruby-forum.com/t/subdirectory-still-redirecting-to-www-despite-rule/223016)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 19, 2012, 11:02am UTC](https://www.ruby-forum.com/t/subdirectory-still-redirecting-to-www-despite-rule/223016 "2012-09-19T11:02:41Z")

</div>

This issue is connected to the threads rewrite to www EXCEPT for one directory (Rewrite to www EXCEPT for one directory - NGINX - Ruby-Forum) and Nginx location rule for Wordpress Multisite in subdirectories (Nginx l…

---

## [A Question about Model and Database?](https://www.ruby-forum.com/t/a-question-about-model-and-database/222735)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 8, 2012, 12:45pm UTC](https://www.ruby-forum.com/t/a-question-about-model-and-database/222735 "2012-09-08T12:45:27Z")

</div>

hi i m new to rails i need to know the =\> which is the best way to create Database table in Rails? rails generate model User name:string email:string this will create a migration file with something like this clas…

---

## [fasterCSV meaning of a line](https://www.ruby-forum.com/t/fastercsv-meaning-of-a-line/222025)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 10, 2012, 3:21pm UTC](https://www.ruby-forum.com/t/fastercsv-meaning-of-a-line/222025 "2012-08-10T15:21:54Z")

</div>

What is the meaning of line?: if !in\_quotes || in\_quotes\[@parsers\[:stray\_quote\]\] at line approx 1643 in faster\_csv.rb

---

## [Asynchronous IO](https://www.ruby-forum.com/t/asynchronous-io/221053)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 30, 2012, 12:16am UTC](https://www.ruby-forum.com/t/asynchronous-io/221053 "2012-06-30T00:16:07Z")

</div>

I have found quite a bit on the web regarding asynchronous IO, but nothing really works the way I expected it to in my case. I’m new to this but herewith my question anyway: Currently I’m using OI.popen to open a new …

---

## [\[Ruby 1.9 - Feature #5133\]\[Open\] Array#unzip as an alias of Array#transpose](https://www.ruby-forum.com/t/ruby-1-9-feature-5133-open-array-unzip-as-an-alias-of-array-transpose/210149)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [August 1, 2011, 4:35pm UTC](https://www.ruby-forum.com/t/ruby-1-9-feature-5133-open-array-unzip-as-an-alias-of-array-transpose/210149 "2011-08-01T16:35:11Z")

</div>

Issue #5133 has been reported by Kenta M… Feature #5133: Array#unzip as an alias of Array#transpose Author: Kenta M. Status: Open Priority: Normal Assignee: Yukihiro M. Category: core Target version: 1.9.x Arra…

---

## [Auth request module 0.2](https://www.ruby-forum.com/t/auth-request-module-0-2/185685)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 5\
**Last updated:** [June 21, 2011, 10:53pm UTC](https://www.ruby-forum.com/t/auth-request-module-0-2/185685 "2011-06-21T22:53:32Z")

</div>

Hello! Changes with auth request module 0.2 (2010-03-24): \*) Feature: auth\_request\_set directive. \*) Bugfix: segmentation fault happened on auth request handled by proxy\_pass or fastcgi\_pass if initial request has …

---

## [ActionMailer](https://www.ruby-forum.com/t/actionmailer/202757)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 7, 2011, 5:03am UTC](https://www.ruby-forum.com/t/actionmailer/202757 "2011-02-07T05:03:34Z")

</div>

Hi, I am planning to write an internal messaging system for my users. Should I be using Actionmailer ? I am not interested in using any plugin or 3rd party sw as I want to learn some ror. Is actionmailer used mainl…

---

## [Can't load gem](https://www.ruby-forum.com/t/cant-load-gem/195379)

<div class="topic-metadata">

**Author:** [@landge](https://www.ruby-forum.com/u/landge)\
**Replies:** 5\
**Last updated:** [September 22, 2010, 3:14pm UTC](https://www.ruby-forum.com/t/cant-load-gem/195379 "2010-09-22T15:14:02Z")

</div>

Hi! I’ve run into some trouble while updating my ruby-version on ubuntu. I installed ruby1.9.1 linked /usr/bin/ruby to ruby1.9.1 installed rubygems1.3.7 with ruby1.9.1. My gem env output is this: RubyGems Environmen…

---

## [Plugins Restful\_authentication can't install](https://www.ruby-forum.com/t/plugins-restful-authentication-cant-install/195156)

<div class="topic-metadata">

**Author:** [@cameron1inm](https://www.ruby-forum.com/u/cameron1inm)\
**Replies:** 5\
**Last updated:** [September 17, 2010, 9:46pm UTC](https://www.ruby-forum.com/t/plugins-restful-authentication-cant-install/195156 "2010-09-17T21:46:00Z")

</div>

I’m a fairly new programmer, and I jump back and forth between PHP C# and Ruby. I’m trying to install a restful-authentication plugin but I can’t get it to install into my ruby directory. I have looked it up and folow…

---

## [Display a string properly in View](https://www.ruby-forum.com/t/display-a-string-properly-in-view/170508)

<div class="topic-metadata">

**Author:** [@on9west](https://www.ruby-forum.com/u/on9west)\
**Replies:** 5\
**Last updated:** [June 18, 2009, 12:00pm UTC](https://www.ruby-forum.com/t/display-a-string-properly-in-view/170508 "2009-06-18T12:00:53Z")

</div>

Dear all I have problem in print the string in View. @event = Event.first puts @event.event\_detail dreq\_reqno dreq\_status dreq\_create\_time 09P0917228 0 18 Jun 2009 16:32 09P5075748 0 18…

---

## [Controllers and form\_for](https://www.ruby-forum.com/t/controllers-and-form-for/166312)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [April 23, 2009, 8:38pm UTC](https://www.ruby-forum.com/t/controllers-and-form-for/166312 "2009-04-23T20:38:31Z")

</div>

I’m a bit confused on how this works. My form is sending to a weird location. Here’s my situation: I have a model: youtube.rb I have a controller called: youtube\_editor\_controller.rb In my youtube\_editor view, i have…

---

## [Have\_tag + quantity - question](https://www.ruby-forum.com/t/have-tag-quantity-question/162150)

<div class="topic-metadata">

**Author:** [@mawiniarski](https://www.ruby-forum.com/u/mawiniarski)\
**Replies:** 5\
**Last updated:** [March 6, 2009, 11:44pm UTC](https://www.ruby-forum.com/t/have-tag-quantity-question/162150 "2009-03-06T23:44:03Z")

</div>

Greetings, Is there a way to check quantity of tags? Something like this: response.should have\_tag(‘div’).quantity(4) Thanks.

---

## [Why can't to\_xml read my mind?](https://www.ruby-forum.com/t/why-cant-to-xml-read-my-mind/160982)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 5\
**Last updated:** [February 22, 2009, 6:47pm UTC](https://www.ruby-forum.com/t/why-cant-to-xml-read-my-mind/160982 "2009-02-22T18:47:32Z")

</div>

Railsters: I suspect the answer is “because they invented it before inventing eager loading”. The first minor issue with to\_xml’s refusal to read my mind is it’s not DRY (like my mind!): Model.all(:include =\>{ :thi…

---

## [Not enough space error on windows](https://www.ruby-forum.com/t/not-enough-space-error-on-windows/153614)

<div class="topic-metadata">

**Author:** [@ittayd](https://www.ruby-forum.com/u/ittayd)\
**Replies:** 5\
**Last updated:** [December 8, 2008, 8:30am UTC](https://www.ruby-forum.com/t/not-enough-space-error-on-windows/153614 "2008-12-08T08:30:19Z")

</div>

I get a ‘Not enough space’ error on windows. The disk has plenty of space and it looks like this is happening when writing a message to the screen. I saw somewhere that python has such an error because it is using a …

---

## [OpenID authentication](https://www.ruby-forum.com/t/openid-authentication/153942)

<div class="topic-metadata">

**Author:** [@PanosJee](https://www.ruby-forum.com/u/PanosJee)\
**Replies:** 5\
**Last updated:** [November 26, 2008, 11:03pm UTC](https://www.ruby-forum.com/t/openid-authentication/153942 "2008-11-26T23:03:40Z")

</div>

Hi there, I am trying to use the OpenID authentication plugin of DHH in conjuction with ruby-openid 2.1.2 gem put it seems there is a problem because in my login action the plugin redirects me to the openid provider a…

---

## [Strange HTTPS/Cache Behavior](https://www.ruby-forum.com/t/strange-https-cache-behavior/143104)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [July 22, 2008, 8:09pm UTC](https://www.ruby-forum.com/t/strange-https-cache-behavior/143104 "2008-07-22T20:09:50Z")

</div>

Caching depending on mime-types Server has includes https caching instructions to cache jpg/gif/js/css files for 1 hour however these parameters seem removed from the headers. How can this be passed browsers - we n…

---

## [REST params for new action](https://www.ruby-forum.com/t/rest-params-for-new-action/118436)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [October 27, 2007, 1:47am UTC](https://www.ruby-forum.com/t/rest-params-for-new-action/118436 "2007-10-27T01:47:18Z")

</div>

Hey all, I need to pass an id to a new REST action which creates an image for a user. So I need to pass the user id to the REST action in order to create the image for that user, i’m trying this view: \<%= link\_to ‘A…

---

## [Ruby "Add-ons" Dictionary and Pronunciation guide please](https://www.ruby-forum.com/t/ruby-add-ons-dictionary-and-pronunciation-guide-please/115813)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 5\
**Last updated:** [September 28, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/ruby-add-ons-dictionary-and-pronunciation-guide-please/115813 "2007-09-28T23:11:12Z")

</div>

Rubinius, Watir, RSpec, hpricot, YARV, YAML, rubygems, rake, rinda, erb, irb, IronRuby, jruby, webistrano, attachment\_fu, rubyscript2exe, cplusruby, dike, GOD, mongrel, scrubyt, PDF::Writer, curses, rexml, fire, dcov,…

---

## [Sharing view code across actions with the same function](https://www.ruby-forum.com/t/sharing-view-code-across-actions-with-the-same-function/114354)

<div class="topic-metadata">

**Author:** [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Replies:** 5\
**Last updated:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/sharing-view-code-across-actions-with-the-same-function/114354 "2007-09-17T13:25:14Z")

</div>

Does anyone have any techniques for sharing view code generators (partials, helpers, yielding to content\_for) across actions in different controllers that essentionally do the same thing. The biggest discernable weakn…

---

## [Parse text with ruby](https://www.ruby-forum.com/t/parse-text-with-ruby/105730)

<div class="topic-metadata">

**Author:** [@kostas](https://www.ruby-forum.com/u/kostas)\
**Replies:** 5\
**Last updated:** [June 10, 2007, 12:37am UTC](https://www.ruby-forum.com/t/parse-text-with-ruby/105730 "2007-06-10T00:37:02Z")

</div>

Hello friends, I have the following txt log file ==\> ================================================================================= \[DEBUG\] 5/24/07 5:35:50 PM : Finished to read one line : r 250 1006 -63 -65 91 -6…

---

## [Mystified by forms and models](https://www.ruby-forum.com/t/mystified-by-forms-and-models/106083)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 5\
**Last updated:** [June 7, 2007, 3:37am UTC](https://www.ruby-forum.com/t/mystified-by-forms-and-models/106083 "2007-06-07T03:37:03Z")

</div>

Okay. Either I’m missing something WAY basic or Rails and its API are lying to me (experience tells me it’s the former). Here is the basic setup for a check\_box tag in the API: \<%= check\_box(‘object’, ‘method’) %\> Ri…

---

## [Rails Server](https://www.ruby-forum.com/t/rails-server/91252)

<div class="topic-metadata">

**Author:** [@mick](https://www.ruby-forum.com/u/mick)\
**Replies:** 5\
**Last updated:** [April 6, 2007, 4:57am UTC](https://www.ruby-forum.com/t/rails-server/91252 "2007-04-06T04:57:17Z")

</div>

Hi, I use the standard rails webrick server to run my web application on my local machine (I access it through http://localhost:3000 etc etc) but I was wondering if there was a way I can access it from the web, e.g. …

---

## [Sampling Freq](https://www.ruby-forum.com/t/sampling-freq/89797)

<div class="topic-metadata">

**Author:** [@Jonathan\_Shan](https://www.ruby-forum.com/u/Jonathan_Shan)\
**Replies:** 5\
**Last updated:** [March 23, 2007, 1:49pm UTC](https://www.ruby-forum.com/t/sampling-freq/89797 "2007-03-23T13:49:37Z")

</div>

Hello, At the transmitting end, I have defined a sine wave using: gr.sig\_source\_c(sampling\_freq, gr.GR\_SIN\_WAVE, baseband\_freq, … ) Such that: sampling\_freq = 16 \* baseband\_freq When I send this to file\_sink, I see c…

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

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