# Top

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

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

---

## [Test::Unit runner for HTML output](https://www.ruby-forum.com/t/test-unit-runner-for-html-output/75724)

<div class="topic-metadata">

**Author:** [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Replies:** 3\
**Last updated:** [November 13, 2006, 7:34am UTC](https://www.ruby-forum.com/t/test-unit-runner-for-html-output/75724 "2006-11-13T07:34:05Z")

</div>

Is there a Test::Unit runner for HTML output? I’d like to keep this available on an internal Continuos Integration web page. (Ideally, I’d like to be able to tell the rake test tasks to use HTML output to a certain f…

---

## [Kerberos bindings for ruby, input requested](https://www.ruby-forum.com/t/kerberos-bindings-for-ruby-input-requested/69282)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 3\
**Last updated:** [September 20, 2006, 5:25am UTC](https://www.ruby-forum.com/t/kerberos-bindings-for-ruby-input-requested/69282 "2006-09-20T05:25:44Z")

</div>

I have a basic kerberos C extension done and before releasing it I’d like some feedback on a couple of things. The extension covers functions such as authentication and changing passwords, as well as adding/deleting …

---

## [Capistrano - freezes & I don't get prompted for password?](https://www.ruby-forum.com/t/capistrano-freezes-i-dont-get-prompted-for-password/99970)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 3\
**Last updated:** [July 27, 2006, 12:32am UTC](https://www.ruby-forum.com/t/capistrano-freezes-i-dont-get-prompted-for-password/99970 "2006-07-27T00:32:35Z")

</div>

Hi, Just having a problem trying to get capistrano working to the remote server. I’ve set things up per the below to links, but when I enter “cap setup” (or “rake remote:exec ACTION=setup” - I assume they are the sa…

---

## [Flickr.rb - Limiting photo results!](https://www.ruby-forum.com/t/flickr-rb-limiting-photo-results/98990)

<div class="topic-metadata">

**Author:** [@hreyaatnh](https://www.ruby-forum.com/u/hreyaatnh)\
**Replies:** 3\
**Last updated:** [July 19, 2006, 6:21pm UTC](https://www.ruby-forum.com/t/flickr-rb-limiting-photo-results/98990 "2006-07-19T18:21:42Z")

</div>

I’m returning my photos to my site, but I’m want to limit the result to like 5 photos or something. Right now, it’s returning all of my public photos. What I’m attempting is to do some sort of counter loop in the vie…

---

## [Patches](https://www.ruby-forum.com/t/patches/96599)

<div class="topic-metadata">

**Author:** [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Replies:** 3\
**Last updated:** [June 30, 2006, 3:33pm UTC](https://www.ruby-forum.com/t/patches/96599 "2006-06-30T15:33:59Z")

</div>

Today, while cleaning up after the release last night, I discovered a couple of tickets which had patches on them that I had overlooked. I haven’t figured out away to subscribe to all of the changes on Trac yet, but I…

---

## [Unicode and sprintf method](https://www.ruby-forum.com/t/unicode-and-sprintf-method/95883)

<div class="topic-metadata">

**Author:** [@bmihelac](https://www.ruby-forum.com/u/bmihelac)\
**Replies:** 3\
**Last updated:** [June 18, 2006, 8:07pm UTC](https://www.ruby-forum.com/t/unicode-and-sprintf-method/95883 "2006-06-18T20:07:01Z")

</div>

I noticed that they does not work (ehdn used with jcode), I guess it’s because sprintf calls size and not jsize method of string, and jcode does not redefine sprintf (and many other methods). Is that true and is there…

---

## [ActionController::UNKnownAction (No action responded to crea](https://www.ruby-forum.com/t/actioncontroller-unknownaction-no-action-responded-to-crea/62626)

<div class="topic-metadata">

**Author:** [@learningruby](https://www.ruby-forum.com/u/learningruby)\
**Replies:** 3\
**Last updated:** [June 7, 2006, 5:03am UTC](https://www.ruby-forum.com/t/actioncontroller-unknownaction-no-action-responded-to-crea/62626 "2006-06-07T05:03:19Z")

</div>

Hello All, I’ve developed RoR on windowsXP have deployed that on Linux. Everythings works fine when working on windows. Things are fine on Linux too untill I try to create new entry. I tried but couldn’t find any rele…

---

## [ActiveRecord validations and FormBuilder](https://www.ruby-forum.com/t/activerecord-validations-and-formbuilder/62483)

<div class="topic-metadata">

**Author:** [@Jon\_Evans](https://www.ruby-forum.com/u/Jon_Evans)\
**Replies:** 3\
**Last updated:** [June 5, 2006, 11:08pm UTC](https://www.ruby-forum.com/t/activerecord-validations-and-formbuilder/62483 "2006-06-05T23:08:50Z")

</div>

Hi, I’m writing my own FormBuilder and I wanted to put an asterisk or something next to any required fields. The Builder has access to the AR object, is there any method I can call on the AR object that will tell me…

---

## [RJS behave differently than render :partial?](https://www.ruby-forum.com/t/rjs-behave-differently-than-render-partial/94912)

<div class="topic-metadata">

**Author:** [@bcnice99](https://www.ruby-forum.com/u/bcnice99)\
**Replies:** 3\
**Last updated:** [May 17, 2006, 6:35pm UTC](https://www.ruby-forum.com/t/rjs-behave-differently-than-render-partial/94912 "2006-05-17T18:35:53Z")

</div>

I have a method in my controller like the following (the syntax may not be correct, I’m doing this from memory - you should be able to get the idea though) My rhtml page has a DIV with id=“country\_areas”, which contai…

---

## [Syntax highlighting library](https://www.ruby-forum.com/t/syntax-highlighting-library/94408)

<div class="topic-metadata">

**Author:** [@victor123789](https://www.ruby-forum.com/u/victor123789)\
**Replies:** 3\
**Last updated:** [May 3, 2006, 7:06pm UTC](https://www.ruby-forum.com/t/syntax-highlighting-library/94408 "2006-05-03T19:06:10Z")

</div>

Hello all. Does some good subj exists? If no, maybe it would be useful If I’ll port GeShi\[1\]? Victor. GeSHi - Generic Syntax Highlighter :: Home

---

## [Find records based on associated table's colums](https://www.ruby-forum.com/t/find-records-based-on-associated-tables-colums/56820)

<div class="topic-metadata">

**Author:** [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Replies:** 3\
**Last updated:** [April 4, 2006, 6:28pm UTC](https://www.ruby-forum.com/t/find-records-based-on-associated-tables-colums/56820 "2006-04-04T18:28:11Z")

</div>

Hello, Let’s say I have a model for a “house”. Each house has\_a “city”, which in turn has\_a “state” which in turn has\_a “country”. The objective is to retrieve all houses in a given state, say “Massachusetts”. Being …

---

## [String keys in hash](https://www.ruby-forum.com/t/string-keys-in-hash/55311)

<div class="topic-metadata">

**Author:** [@konlin](https://www.ruby-forum.com/u/konlin)\
**Replies:** 3\
**Last updated:** [March 19, 2006, 4:19pm UTC](https://www.ruby-forum.com/t/string-keys-in-hash/55311 "2006-03-19T16:19:05Z")

</div>

Hi all, My app is going to count sth based on poll id in the url. The url looks like: http://address.com?id=dwNKiItvcyrQ5sycnIhmJablDfXsc9tshaGIVyNIei7.e7&some\_other\_parameters In a controller, I’ve created a hash wh…

---

## [Changes to class caching between Rails 0.14.3 and 1.0?](https://www.ruby-forum.com/t/changes-to-class-caching-between-rails-0-14-3-and-1-0/54619)

<div class="topic-metadata">

**Author:** [@rusty\_geldmacher](https://www.ruby-forum.com/u/rusty_geldmacher)\
**Replies:** 3\
**Last updated:** [March 10, 2006, 3:58pm UTC](https://www.ruby-forum.com/t/changes-to-class-caching-between-rails-0-14-3-and-1-0/54619 "2006-03-10T15:58:56Z")

</div>

Hi all, We’re having a rather unique problem with class caching. We are implementing the strategy pattern in the following manner: Set an accessor for the class, let’s call it :strategy class Widget cattr\_accessor …

---

## [Redirect\_to :back question](https://www.ruby-forum.com/t/redirect-to-back-question/78910)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 3\
**Last updated:** [March 9, 2006, 11:31am UTC](https://www.ruby-forum.com/t/redirect-to-back-question/78910 "2006-03-09T11:31:12Z")

</div>

Hi! How to use this? I can declare it only inside a controller, so i tried to do add this to application controller: def back redirect\_to :back end so i could call in all my views link\_to ‘back’, :controller =\> ‘a…

---

## [String to Array?](https://www.ruby-forum.com/t/string-to-array/54287)

<div class="topic-metadata">

**Author:** [@Matt\_Lee](https://www.ruby-forum.com/u/Matt_Lee)\
**Replies:** 3\
**Last updated:** [February 28, 2006, 6:54pm UTC](https://www.ruby-forum.com/t/string-to-array/54287 "2006-02-28T18:54:50Z")

</div>

I’ve got a string of keywords “internet explorer microsoft windows browser” - I want to output each word with a link\_to a controller I’ve built that searches based on a keyword. I managed to split the string, but I do…

---

## [Unable to update database object](https://www.ruby-forum.com/t/unable-to-update-database-object/72310)

<div class="topic-metadata">

**Author:** [@Lindsay\_B](https://www.ruby-forum.com/u/Lindsay_B)\
**Replies:** 3\
**Last updated:** [February 23, 2006, 10:01pm UTC](https://www.ruby-forum.com/t/unable-to-update-database-object/72310 "2006-02-23T22:01:30Z")

</div>

This is really strange - hopefully someone out there may have seen behavior like this before. I have a user successfully created in the Users table of my application. When I try to update a single column using: @user …

---

## [What is best way to show only records belonging to logged us](https://www.ruby-forum.com/t/what-is-best-way-to-show-only-records-belonging-to-logged-us/53366)

<div class="topic-metadata">

**Author:** [@bmihelac](https://www.ruby-forum.com/u/bmihelac)\
**Replies:** 3\
**Last updated:** [February 2, 2006, 8:05pm UTC](https://www.ruby-forum.com/t/what-is-best-way-to-show-only-records-belonging-to-logged-us/53366 "2006-02-02T20:05:30Z")

</div>

Hi all, What is best way to show only records belonging to logged user? I understand that it is better to handle this in model and not controller. I am thinking of intercepting find methods in model and add clause so…

---

## [Selecting a subset of a table with DRY](https://www.ruby-forum.com/t/selecting-a-subset-of-a-table-with-dry/52001)

<div class="topic-metadata">

**Author:** [@vann](https://www.ruby-forum.com/u/vann)\
**Replies:** 3\
**Last updated:** [January 10, 2006, 3:09pm UTC](https://www.ruby-forum.com/t/selecting-a-subset-of-a-table-with-dry/52001 "2006-01-10T15:09:03Z")

</div>

Hello, I have table called ‘listings.’ There are a certain combination of properties which make a listing viewable (e.g., it is confirmed, has been authorized, hasn’t expired, etc.). Each listing has one and only o…

---

## [What's planned for RoR 1.1?](https://www.ruby-forum.com/t/whats-planned-for-ror-1-1/100962)

<div class="topic-metadata">

**Author:** [@csn](https://www.ruby-forum.com/u/csn)\
**Replies:** 3\
**Last updated:** [December 13, 2005, 11:38pm UTC](https://www.ruby-forum.com/t/whats-planned-for-ror-1-1/100962 "2005-12-13T23:38:10Z")

</div>

And when will it be ready? :stuck\_out\_tongue\_winking\_eye: Is there a URL with a roadmap for 1.1 and beyond? I haven’t been able to find anything, except for individual tickets at dev with milestones set to 1.1. 1.0 R…

---

## [Looking to hire a Senior Level Ruby Developer (Ownership offered)](https://www.ruby-forum.com/t/looking-to-hire-a-senior-level-ruby-developer-ownership-offered/234732)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [April 4, 2015, 8:08am UTC](https://www.ruby-forum.com/t/looking-to-hire-a-senior-level-ruby-developer-ownership-offered/234732 "2015-04-04T08:08:46Z")

</div>

I have a ruby platform that is 90% built by someone very skilled in Ruby. My old partner and I had a falling out and I am buying his share of the company out. I am looking to hire someone to finish the platform (90% …

---

## [Error in creating a block](https://www.ruby-forum.com/t/error-in-creating-a-block/241344)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 1, 2015, 8:04am UTC](https://www.ruby-forum.com/t/error-in-creating-a-block/241344 "2015-04-01T08:04:41Z")

</div>

Hi… I created a block named ‘cost’. But it showing the error as in screenshot attached what is the problem with this? thanks for your advice.

---

## [When was central code repository of Rail entirely moved to Github?](https://www.ruby-forum.com/t/when-was-central-code-repository-of-rail-entirely-moved-to-github/233679)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 5, 2015, 6:18am UTC](https://www.ruby-forum.com/t/when-was-central-code-repository-of-rail-entirely-moved-to-github/233679 "2015-01-05T06:18:56Z")

</div>

I find that the Rails repository on Github was created in Apr. 2008, however, the first pull request was sent in Sep. 2010. Does it mean that the Github repository was just a mirror and you did not use Github’s pull …

---

## [How can I solve gems error?](https://www.ruby-forum.com/t/how-can-i-solve-gems-error/240386)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 12, 2014, 1:59pm UTC](https://www.ruby-forum.com/t/how-can-i-solve-gems-error/240386 "2014-04-12T13:59:25Z")

</div>

I am using ruby-1.9.3. I am deleting installed gems one by one by folllowing command: gem uninstall “gem name” That is works But when I am using that command for some gems like “bigdecimal” then following output come…

---

## [NginxHttpRewriteModule compiled sequence](https://www.ruby-forum.com/t/nginxhttprewritemodule-compiled-sequence/238983)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [February 8, 2014, 3:40am UTC](https://www.ruby-forum.com/t/nginxhttprewritemodule-compiled-sequence/238983 "2014-02-08T03:40:21Z")

</div>

Hi , Is there a way to print all the compiled sequences of a rewrite module as documented in http://wiki.nginx.org/NginxHttpRewriteModule This interpreter is a simple stack virtual machine. For example, the directi…

---

## [Standard Way To Create Meta Project](https://www.ruby-forum.com/t/standard-way-to-create-meta-project/238585)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 18, 2014, 5:03pm UTC](https://www.ruby-forum.com/t/standard-way-to-create-meta-project/238585 "2014-01-18T17:03:25Z")

</div>

Hello all. I’m not even sure what to call what I’m trying to do, so I’m calling it a “meta project.” It’s not all that complicated… I just want to know what people out there have done in the past. To explain what I’m…

---

## [Brakeman scanner installation](https://www.ruby-forum.com/t/brakeman-scanner-installation/237495)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 16, 2013, 3:58am UTC](https://www.ruby-forum.com/t/brakeman-scanner-installation/237495 "2013-11-16T03:58:52Z")

</div>

Hello All, I downloaded the zip file from the website, but I am not sure how to install brakeman. could you please detail out the steps Thanks Madhu

---

## [\[ruby-trunk - Bug #7416\]\[Assigned\] test-all crashes with mysterious message](https://www.ruby-forum.com/t/ruby-trunk-bug-7416-assigned-test-all-crashes-with-mysterious-message/224670)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [February 13, 2013, 7:58am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-7416-assigned-test-all-crashes-with-mysterious-message/224670 "2013-02-13T07:58:24Z")

</div>

Issue #7416 has been reported by usa (Usaku NAKAMURA). Bug #7416: test-all crashes with mysterious message Author: usa (Usaku NAKAMURA) Status: Assigned Priority: Normal Assignee: ko1 (Koichi Sasada) Category: te…

---

## [Questions about calibration examples in UHD utility](https://www.ruby-forum.com/t/questions-about-calibration-examples-in-uhd-utility/225758)

<div class="topic-metadata">

**Author:** [@SSkonishi\_takurou\_S](https://www.ruby-forum.com/u/SSkonishi_takurou_S)\
**Replies:** 2\
**Last updated:** [January 31, 2013, 4:48pm UTC](https://www.ruby-forum.com/t/questions-about-calibration-examples-in-uhd-utility/225758 "2013-01-31T16:48:58Z")

</div>

Hi, guys, I am reading the codes for uhd\_cal\_rx\_iq\_balance.cpp. When doing calibration by setting the RX and TX antenna as “CAL”, is the signal from TX directly switched to RX? And I noticed that in the function set\_…

---

## [Socket address relative to prefix](https://www.ruby-forum.com/t/socket-address-relative-to-prefix/198401)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [January 15, 2013, 7:31pm UTC](https://www.ruby-forum.com/t/socket-address-relative-to-prefix/198401 "2013-01-15T19:31:32Z")

</div>

Hi there. I’m using nginx (v0.8.53 on Arch Linux) for web application development and testing, and I’ve encountered a problem. I’ll specify the problem first and then explain why I ran into it. Problem: Is there a w…

---

## [High performance infra strutucre](https://www.ruby-forum.com/t/high-performance-infra-strutucre/226587)

<div class="topic-metadata">

**Author:** [@Friedrich\_L](https://www.ruby-forum.com/u/Friedrich_L)\
**Replies:** 2\
**Last updated:** [December 23, 2012, 2:09am UTC](https://www.ruby-forum.com/t/high-performance-infra-strutucre/226587 "2012-12-23T02:09:51Z")

</div>

Hey, this is my first message to this mailing list. I am not, right now, using nginx, but i would like to do so. My intent is the following: I would like to build a farm of x web server. I would like to perform loa…

---

## [Adding associations without commiting to database](https://www.ruby-forum.com/t/adding-associations-without-commiting-to-database/224201)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 5, 2012, 4:18pm UTC](https://www.ruby-forum.com/t/adding-associations-without-commiting-to-database/224201 "2012-11-05T16:18:23Z")

</div>

I think there is a slight inconsistency in Rails regarding adding associations between existing records. Assume Post has\_many :tags. We have an analogy when we want to immediately add the association to either new or…

---

## [Activerecord query question](https://www.ruby-forum.com/t/activerecord-query-question/223453)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 5, 2012, 7:44pm UTC](https://www.ruby-forum.com/t/activerecord-query-question/223453 "2012-10-05T19:44:23Z")

</div>

Hi…I am pretty new to activer record. Struggling with formulating a simple join. I am pretty new to activerecord and ruby.I have a database with tables ‘bugs’ and ‘longdesc’. Here are my classes: class Bug \< ActiveRe…

---

## [Translations for custom validation error messages](https://www.ruby-forum.com/t/translations-for-custom-validation-error-messages/221595)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 23, 2012, 1:33pm UTC](https://www.ruby-forum.com/t/translations-for-custom-validation-error-messages/221595 "2012-07-23T13:33:01Z")

</div>

In validations, one can add a custom error message: class Person \< ActiveRecord::Base def a\_method\_used\_for\_validation\_purposes errors.add(:name, “cannot contain the characters !@#%\*()\_-+=”) end end How wil this …

---

## [Php-fpm backend, sigsegv and limit\_conn](https://www.ruby-forum.com/t/php-fpm-backend-sigsegv-and-limit-conn/219051)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 19, 2012, 3:46pm UTC](https://www.ruby-forum.com/t/php-fpm-backend-sigsegv-and-limit-conn/219051 "2012-04-19T15:46:28Z")

</div>

Hello, I’m facing the situation where worker process crashes in the php-fpm backend with SIGSEGV: \[alert\] 5712#0: worker process 5713 exited on signal 11 In such a case, what happens to the connection? is it danglin…

---

## [How should I model this?](https://www.ruby-forum.com/t/how-should-i-model-this/213845)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 14, 2011, 2:44pm UTC](https://www.ruby-forum.com/t/how-should-i-model-this/213845 "2011-11-14T14:44:37Z")

</div>

Hi, I am making a web application that basically allows user to create a table. They name the table and add multiple columns (fields). Then they add entries (rows), just like a typical table. So for example, the use…

---

## [I would like to call a java method with a single function from ruby as a Proc/block etc.how ;)](https://www.ruby-forum.com/t/i-would-like-to-call-a-java-method-with-a-single-function-from-ruby-as-a-proc-block-etc-how/210117)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 1, 2011, 2:20am UTC](https://www.ruby-forum.com/t/i-would-like-to-call-a-java-method-with-a-single-function-from-ruby-as-a-proc-block-etc-how/210117 "2011-08-01T02:20:27Z")

</div>

All of the examples on jruby.org give examples of how to call methods on an objec. None appear from what i could find give an example of calling an instance method on some onbject as if it were a block/proc without eg…

---

## [Kindly suggest appropriate Attachment plugin/gem for use with Rails 2.0.2 and Ruby 1.8.7](https://www.ruby-forum.com/t/kindly-suggest-appropriate-attachment-plugin-gem-for-use-with-rails-2-0-2-and-ruby-1-8-7/207104)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 19, 2011, 7:47am UTC](https://www.ruby-forum.com/t/kindly-suggest-appropriate-attachment-plugin-gem-for-use-with-rails-2-0-2-and-ruby-1-8-7/207104 "2011-05-19T07:47:16Z")

</div>

Hello all, I am trying to attach files in my RoR app. I am using Rails 2.0.2 and Ruby 1.8.7 for project specific purposes. I am using Ubuntu 10.04 OS. I have tried out two plugins(paperclip and attachment\_fu) but I ha…

---

## [I'm going crazy with a nester form](https://www.ruby-forum.com/t/im-going-crazy-with-a-nester-form/206672)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 6, 2011, 11:58pm UTC](https://www.ruby-forum.com/t/im-going-crazy-with-a-nester-form/206672 "2011-05-06T23:58:08Z")

</div>

class Shop \< ActiveRecord::Base has\_many :documents validates :name, :presence =\> true accepts\_nested\_attributes\_for :documents class Document \< ActiveRecord::Base belongs\_to :shop validates :reference\_number, :pre…

---

## [Noob question on active record](https://www.ruby-forum.com/t/noob-question-on-active-record/204807)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 22, 2011, 2:30pm UTC](https://www.ruby-forum.com/t/noob-question-on-active-record/204807 "2011-03-22T14:30:08Z")

</div>

Hi all, Sorry if this is too obvious for most, but I am new to rails and ruby in general, so basically at lost at what I can do. Here is the set up. I’ve set up a parent and child relation (ie. parent “has many” ch…

---

## [Problem using rvm in bash script](https://www.ruby-forum.com/t/problem-using-rvm-in-bash-script/200445)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 12, 2010, 1:26am UTC](https://www.ruby-forum.com/t/problem-using-rvm-in-bash-script/200445 "2010-12-12T01:26:05Z")

</div>

I am using rvm installed on Ubuntu 10.04 as recommended in the rvm docs (including changes to .bashrc) and all is working well with several versions of Rails, and Ruby 1.8.7 and 1.9.2. If I run rvm use 1.9.2 it says …

---

## [Namespace collision](https://www.ruby-forum.com/t/namespace-collision/198865)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [November 10, 2010, 10:13am UTC](https://www.ruby-forum.com/t/namespace-collision/198865 "2010-11-10T10:13:15Z")

</div>

Ciao ragazzi, facendo le mie prime prove in Ruby mi è venuto in mente di scrivere una versione di detect diversa da quella di Enumerable: module Extention1 def detect() res\_array = \[\] if ( self.respond\_to?(“each”) …

---

## [Newbie q on activerecord - has\_one and has\_many on same table?](https://www.ruby-forum.com/t/newbie-q-on-activerecord-has-one-and-has-many-on-same-table/195986)

<div class="topic-metadata">

**Author:** [@JoshK](https://www.ruby-forum.com/u/JoshK)\
**Replies:** 2\
**Last updated:** [October 4, 2010, 10:27pm UTC](https://www.ruby-forum.com/t/newbie-q-on-activerecord-has-one-and-has-many-on-same-table/195986 "2010-10-04T22:27:13Z")

</div>

Hi I have a table where I need to identify one of the children as the “prime” child. So, its like: Parent has\_many :Child has\_one: Child :as :prime\_child (?) or something like that? Do I put something like prime\_ch…

---

## [Segmentation fault with Win32 Service & API on 1.9.1](https://www.ruby-forum.com/t/segmentation-fault-with-win32-service-api-on-1-9-1/192794)

<div class="topic-metadata">

**Author:** [@joemanfoo](https://www.ruby-forum.com/u/joemanfoo)\
**Replies:** 2\
**Last updated:** [August 5, 2010, 5:43pm UTC](https://www.ruby-forum.com/t/segmentation-fault-with-win32-service-api-on-1-9-1/192794 "2010-08-05T17:43:11Z")

</div>

I’m on Windows 2003, testing a possible upgrade from 1.8.6 to 1.9.1. I receive a segmentation fault error when simply requiring Win32/Service (nothing else in the script), which faults in win32/api.so. Code: require…

---

## [Mysql syntax error when trying to capture cumulative sum](https://www.ruby-forum.com/t/mysql-syntax-error-when-trying-to-capture-cumulative-sum/186380)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 2\
**Last updated:** [April 6, 2010, 4:35pm UTC](https://www.ruby-forum.com/t/mysql-syntax-error-when-trying-to-capture-cumulative-sum/186380 "2010-04-06T16:35:28Z")

</div>

Hey all, I’ve searched the web and cannot find an example of getting a cumulative count by month for a specific object using Rails, and then displaying that in an array. This gives a mysql syntax error: count = Stude…

---

## [\[Bug #2463\] String#center](https://www.ruby-forum.com/t/bug-2463-string-center/179942)

<div class="topic-metadata">

**Author:** [@Sakuro\_OZAWA](https://www.ruby-forum.com/u/Sakuro_OZAWA)\
**Replies:** 2\
**Last updated:** [February 4, 2010, 5:01am UTC](https://www.ruby-forum.com/t/bug-2463-string-center/179942 "2010-02-04T05:01:44Z")

</div>

Bug #2463: String#center http://redmine.ruby-lang.org/issues/show/2463 e$B5/I\<\<Te(B: Sakuro OZAWA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: build ruby -v: ruby 1.9.1p376 (2009-12-07 revision 26041…

---

## [\[Bug #2657\] rubyspec: The return keyword within define\_method goes through the method via a closure](https://www.ruby-forum.com/t/bug-2657-rubyspec-the-return-keyword-within-define-method-goes-through-the-method-via-a-closure/182305)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 2\
**Last updated:** [January 26, 2010, 12:39pm UTC](https://www.ruby-forum.com/t/bug-2657-rubyspec-the-return-keyword-within-define-method-goes-through-the-method-via-a-closure/182305 "2010-01-26T12:39:11Z")

</div>

Bug #2657: rubyspec: The return keyword within define\_method goes through the method via a closure FAILED http://redmine.ruby-lang.org/issues/show/2657 e$B5/I\<\<Te(B: Yusuke E. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: No…

---

## [".." in path inside a JAR file?](https://www.ruby-forum.com/t/in-path-inside-a-jar-file/180335)

<div class="topic-metadata">

**Author:** [@patrik](https://www.ruby-forum.com/u/patrik)\
**Replies:** 2\
**Last updated:** [December 21, 2009, 10:41am UTC](https://www.ruby-forum.com/t/in-path-inside-a-jar-file/180335 "2009-12-21T10:41:37Z")

</div>

Hi, It seems to me like having a path with “…” in it doesn’t produce the desired effect from inside a jar. Let’s say we have the path to a directory in variable named dir\_path. If we do dir\_path+"/…/file" that works…

---

## [.NET Remoting with IronRuby 0.9.2](https://www.ruby-forum.com/t/net-remoting-with-ironruby-0-9-2/178807)

<div class="topic-metadata">

**Author:** [@Patrick\_Brown](https://www.ruby-forum.com/u/Patrick_Brown)\
**Replies:** 2\
**Last updated:** [November 27, 2009, 6:02pm UTC](https://www.ruby-forum.com/t/net-remoting-with-ironruby-0-9-2/178807 "2009-11-27T18:02:05Z")

</div>

Hello Has anyone been able to get Remoting to work? I get the following exception when attempting to make a call. I am rather new to IronRuby but believe my code should work, I converted a very simple snippit of w…

---

## [Fsockopen-method in ROR](https://www.ruby-forum.com/t/fsockopen-method-in-ror/197011)

<div class="topic-metadata">

**Author:** [@simo](https://www.ruby-forum.com/u/simo)\
**Replies:** 2\
**Last updated:** [October 27, 2009, 10:06am UTC](https://www.ruby-forum.com/t/fsockopen-method-in-ror/197011 "2009-10-27T10:06:41Z")

</div>

Hi, PHP has ‘fsockopen’-function to create a socket connection. With what function I can create this connection in ROR? Thanks im Advance

---

## [Modifying nginx for use as transparent, forward proxy](https://www.ruby-forum.com/t/modifying-nginx-for-use-as-transparent-forward-proxy/175269)

<div class="topic-metadata">

**Author:** [@mpaxton](https://www.ruby-forum.com/u/mpaxton)\
**Replies:** 2\
**Last updated:** [September 10, 2009, 12:36pm UTC](https://www.ruby-forum.com/t/modifying-nginx-for-use-as-transparent-forward-proxy/175269 "2009-09-10T12:36:29Z")

</div>

Hi All, My understanding is that nginx cannot be used as a forward proxy out of the box. Is this correct? If so, my thinking is that by making some small modifications to ngx\_http\_proxy\_module.c, it would be possibl…

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

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