# Top

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

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

---

## [Ruby Threads From C](https://www.ruby-forum.com/t/ruby-threads-from-c/182758)

<div class="topic-metadata">

**Author:** [@coldpeace](https://www.ruby-forum.com/u/coldpeace)\
**Replies:** 5\
**Last updated:** [February 3, 2010, 9:49am UTC](https://www.ruby-forum.com/t/ruby-threads-from-c/182758 "2010-02-03T09:49:25Z")

</div>

Hi, I’d like to know how can I do to create ( or instantiate ) a Ruby Thread from C . actually , I have to Bind Some C Modules to Ruby , So I have to manage The ruby Thread inside my C code ( Start , Stop , Resume ……

---

## [Logging not working](https://www.ruby-forum.com/t/logging-not-working/165358)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 5\
**Last updated:** [April 14, 2009, 5:54am UTC](https://www.ruby-forum.com/t/logging-not-working/165358 "2009-04-14T05:54:43Z")

</div>

I think this might have been asked but does anyone have any issues with rails apps (2.2) that stop logging? I am running Rails 2.2 Tomcat 5.5 Jruby 1.2 Java 1.6 Solaris x64\_86 After a few hours i just stop gettin…

---

## [Testing a POST request with correct param](https://www.ruby-forum.com/t/testing-a-post-request-with-correct-param/156723)

<div class="topic-metadata">

**Author:** [@vahagn](https://www.ruby-forum.com/u/vahagn)\
**Replies:** 5\
**Last updated:** [January 2, 2009, 8:53pm UTC](https://www.ruby-forum.com/t/testing-a-post-request-with-correct-param/156723 "2009-01-02T20:53:42Z")

</div>

Hi,- I’m wondering how to test POSTing something to an action from a form. I am testing an action named “forgot” in my account\_controller.rb. It takes an email address as a parameter and does things based on whether a …

---

## [Espressioni regolari: filtrare i files](https://www.ruby-forum.com/t/espressioni-regolari-filtrare-i-files/149146)

<div class="topic-metadata">

**Author:** [@arnaudo](https://www.ruby-forum.com/u/arnaudo)\
**Replies:** 5\
**Last updated:** [September 21, 2008, 7:16pm UTC](https://www.ruby-forum.com/t/espressioni-regolari-filtrare-i-files/149146 "2008-09-21T19:16:42Z")

</div>

Ciao a tutti, ho un piccolo progetto personale, vorrei creare dei file vcf a partire da file txt. Al momento non riesco a passare solamente i file con estensione txt: require ‘pathname’ p = Pathname.new(‘c:\\Download…

---

## [La paginacion de 'list' no se mantiene despues de un 'show'](https://www.ruby-forum.com/t/la-paginacion-de-list-no-se-mantiene-despues-de-un-show/118334)

<div class="topic-metadata">

**Author:** [@acruz](https://www.ruby-forum.com/u/acruz)\
**Replies:** 5\
**Last updated:** [October 26, 2007, 12:49pm UTC](https://www.ruby-forum.com/t/la-paginacion-de-list-no-se-mantiene-despues-de-un-show/118334 "2007-10-26T12:49:34Z")

</div>

Hola, perdÃ³n por el titulo del post pero no tenÃ­a ni idea de como explicarlo. soy nuevo en esto de rails y estoy intentando hacer un catalogo de productos online para mi negocio. actualmente tengo parte del modelo …

---

## [Net::LDAP and telephonenumber attribute](https://www.ruby-forum.com/t/net-ldap-and-telephonenumber-attribute/107830)

<div class="topic-metadata">

**Author:** [@pearly](https://www.ruby-forum.com/u/pearly)\
**Replies:** 5\
**Last updated:** [July 20, 2007, 4:20am UTC](https://www.ruby-forum.com/t/net-ldap-and-telephonenumber-attribute/107830 "2007-07-20T04:20:33Z")

</div>

Hi, Using the LDAP service of a Lotus Notes / Domino server, I cannot get the telephone attribute for people. Sad it is but Lotus like M$ call it telephonenumber. I use ‘net/ldap’ for this which works fine for other…

---

## [New Rails/Flex blog](https://www.ruby-forum.com/t/new-rails-flex-blog/105343)

<div class="topic-metadata">

**Author:** [@surplustronics](https://www.ruby-forum.com/u/surplustronics)\
**Replies:** 5\
**Last updated:** [June 1, 2007, 3:09pm UTC](https://www.ruby-forum.com/t/new-rails-flex-blog/105343 "2007-06-01T15:09:01Z")

</div>

Hi Guys n Gals… I’ve finally got round to putting up a blog, my way of giving back to the community. I’m going to cover stuff to with Flex and Rails, and some tidbits on syncing a huge legacy Filemaker (?!) database …

---

## [Detectar el charset en araÃ±a web](https://www.ruby-forum.com/t/detectar-el-charset-en-araa-a-web/104771)

<div class="topic-metadata">

**Author:** [@Jaime\_I](https://www.ruby-forum.com/u/Jaime_I)\
**Replies:** 5\
**Last updated:** [May 22, 2007, 11:53am UTC](https://www.ruby-forum.com/t/detectar-el-charset-en-araa-a-web/104771 "2007-05-22T11:53:52Z")

</div>

Hola! Estoy haciendo una arañita web con open-uri, a la que le das una URL y te devuelve el título, meta keywords y meta description de la web. Muy sencillita y funciona bien, pero a veces tiene problemas la pobre con …

---

## [HighLine Questions](https://www.ruby-forum.com/t/highline-questions/90611)

<div class="topic-metadata">

**Author:** [@nappin](https://www.ruby-forum.com/u/nappin)\
**Replies:** 5\
**Last updated:** [March 30, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/highline-questions/90611 "2007-03-30T17:05:50Z")

</div>

Hi all, A few quick questions out there for people using HighLine. I’ve been looking at the examples and the readline one looks similar to what I want to do. Basically, I’d like the user to be able to type commands …

---

## [Time#to\_s format](https://www.ruby-forum.com/t/time-to-s-format/87702)

<div class="topic-metadata">

**Author:** [@OHARA\_Shigeki](https://www.ruby-forum.com/u/OHARA_Shigeki)\
**Replies:** 5\
**Last updated:** [March 9, 2007, 9:17am UTC](https://www.ruby-forum.com/t/time-to-s-format/87702 "2007-03-09T09:17:18Z")

</div>

e$BBg86$G$9!#e(B Ruby 1.8.6 e$B$+$ie(B Time#to\_s e$B$N7A\<0$,e(B RFC 2822 e$B=\`5r$KJQ99$K$J$k$h$&$J$N$G$9$,!"e(B e$B$3$N7A\<0$,4V0c$C$F$$$k$h$&$K;W$$$^$9!#e(B From: “NARUSE, Yui” removed\_email\_address@domain.invalid S…

---

## [Anyone using Instant-ROR on Win98?](https://www.ruby-forum.com/t/anyone-using-instant-ror-on-win98/87405)

<div class="topic-metadata">

**Author:** [@Pete\_Marsh](https://www.ruby-forum.com/u/Pete_Marsh)\
**Replies:** 5\
**Last updated:** [March 2, 2007, 12:46pm UTC](https://www.ruby-forum.com/t/anyone-using-instant-ror-on-win98/87405 "2007-03-02T12:46:14Z")

</div>

I’ve unzipped and sarted (as there is no install as such), the instant- ROR package, and it all starts up, and the test apps fucntion correctly when requested from 127.0.0.1. However, in win98 the hosts file is locat…

---

## [Pregunta sobre render](https://www.ruby-forum.com/t/pregunta-sobre-render/83219)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [February 10, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/pregunta-sobre-render/83219 "2007-02-10T17:05:25Z")

</div>

Hola, Es posible dentro de un vista, hacer un render a un partial de otro controlador??? Me explico, algo cómo esto: Estoy en una vista de Inmuebles y quiero dibujar la plantilla \_partes\_list.rhtml de Partes \<%= r…

---

## [Ruby 1.8.2 install missing mkmf.rb on Red Hat Linux](https://www.ruby-forum.com/t/ruby-1-8-2-install-missing-mkmf-rb-on-red-hat-linux/82370)

<div class="topic-metadata">

**Author:** [@Bill\_McNeill](https://www.ruby-forum.com/u/Bill_McNeill)\
**Replies:** 5\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/ruby-1-8-2-install-missing-mkmf-rb-on-red-hat-linux/82370 "2007-01-19T16:31:49Z")

</div>

My version of Ruby on Red Hat Linux is missing mkmf.rb. $ irb irb(main):001:0\> require ‘mkmf’ LoadError: no such file to load – mkmf from (irb):1:in \`require’ from (irb):1 $ ls /usr/lib/ruby/1.8/mkmf.rb ls: /usr/l…

---

## [The way to restrict a ruby program to just once occurrence o](https://www.ruby-forum.com/t/the-way-to-restrict-a-ruby-program-to-just-once-occurrence-o/75078)

<div class="topic-metadata">

**Author:** [@Glenn\_S](https://www.ruby-forum.com/u/Glenn_S)\
**Replies:** 5\
**Last updated:** [November 7, 2006, 10:50pm UTC](https://www.ruby-forum.com/t/the-way-to-restrict-a-ruby-program-to-just-once-occurrence-o/75078 "2006-11-07T22:50:30Z")

</div>

I’m rewriting a vb app to ruby (in about a quarter of the code!). If I ran the same ruby program twice in parallel, the second instance should exit. In VB6 I could do this: If App.PrevInstance Then Exit Su…

---

## [Ruby and GUI](https://www.ruby-forum.com/t/ruby-and-gui/64628)

<div class="topic-metadata">

**Author:** [@indianguru](https://www.ruby-forum.com/u/indianguru)\
**Replies:** 5\
**Last updated:** [August 15, 2006, 2:22pm UTC](https://www.ruby-forum.com/t/ruby-and-gui/64628 "2006-08-15T14:22:18Z")

</div>

I am new to Ruby and wanted to explore ways to create a GUI (on Windows) in Ruby. What I have gathered so far is that the following libraries exist to create a GUI: a. Ruby Tk - it’s language-independent, cross-platfo…

---

## [Store SOAP::RPC::Driver in user session throws TypeError](https://www.ruby-forum.com/t/store-soap-driver-in-user-session-throws-typeerror/101700)

<div class="topic-metadata">

**Author:** [@linux\_user](https://www.ruby-forum.com/u/linux_user)\
**Replies:** 5\
**Last updated:** [August 7, 2006, 9:07pm UTC](https://www.ruby-forum.com/t/store-soap-driver-in-user-session-throws-typeerror/101700 "2006-08-07T21:07:11Z")

</div>

Hi All I have a requirement to consume a 3rd party web service from my Rails application. I am doing this in my action require ‘soap/wsdlDriver’ factory = SOAP::WSDLDriverFactory.new(TRANSIDIOM\_WSDL\_URL) soap = fa…

---

## [Def m(a=nil, b)](https://www.ruby-forum.com/t/def-m-a-nil-b/97894)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 5\
**Last updated:** [July 12, 2006, 4:23pm UTC](https://www.ruby-forum.com/t/def-m-a-nil-b/97894 "2006-07-12T16:23:57Z")

</div>

e$B$U$H!“e(B1.9 e$B$J$ie(B (TCPServer#initialize e$B$N$h$&$Ke(B) e$BBh0l0z?t$r\>Je(B e$BN,2DG=$J%a%=%C%I$re(B def m(a=nil, b) e$B$HDj5A$G$-$k$N$G$O$J$+$me(B e$B$&$+!”$HA\[A|$7!";n$7$F$\_$?$N$G$9$,!"$G$-$J$$$h$&$G$9!#e(B …

---

## [Invalid\_arity method similar to method missing?](https://www.ruby-forum.com/t/invalid-arity-method-similar-to-method-missing/52607)

<div class="topic-metadata">

**Author:** [@didier-prophete](https://www.ruby-forum.com/u/didier-prophete)\
**Replies:** 5\
**Last updated:** [January 20, 2006, 10:40am UTC](https://www.ruby-forum.com/t/invalid-arity-method-similar-to-method-missing/52607 "2006-01-20T10:40:49Z")

</div>

all, Is there a function similar to method\_missing when an existing method is called with the wrong number of arguments ? Suppose I have a class: class MyClass def my\_func(var1, var2) end end And then I end up ca…

---

## [Parse error in database.yml](https://www.ruby-forum.com/t/parse-error-in-database-yml/51893)

<div class="topic-metadata">

**Author:** [@esquilax](https://www.ruby-forum.com/u/esquilax)\
**Replies:** 5\
**Last updated:** [January 9, 2006, 9:11pm UTC](https://www.ruby-forum.com/t/parse-error-in-database-yml/51893 "2006-01-09T21:11:59Z")

</div>

Since upgrading to rails 1.0 I keep getting a parse error in database.yml. I have tried multiple configurations of both mysql and postgres and continue getting this error message when trying to generate a model or sc…

---

## [Ruby SOAP client communication with Microsoft .NET webservic](https://www.ruby-forum.com/t/ruby-soap-client-communication-with-microsoft-net-webservic/49916)

<div class="topic-metadata">

**Author:** [@keyshawn](https://www.ruby-forum.com/u/keyshawn)\
**Replies:** 5\
**Last updated:** [December 21, 2005, 7:44pm UTC](https://www.ruby-forum.com/t/ruby-soap-client-communication-with-microsoft-net-webservic/49916 "2005-12-21T19:44:55Z")

</div>

Hi: I am trying to interface a SOAP client written in Ruby with a .NET webservice. However, I am unable to get the client to construct the correct SOAP request for methods with one string argument. My ruby client fil…

---

## [\[ruby-trunk - Feature #7510\]\[Open\] irb --help が古い](https://www.ruby-forum.com/t/ruby-trunk-feature-7510-open-irb-help/224951)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [June 2, 2013, 7:12am UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-7510-open-irb-help/224951 "2013-06-02T07:12:36Z")

</div>

Issue #7510 has been reported by sho-h (Sho H.). Feature #7510: irb --help が古い Author: sho-h (Sho H.) Status: Open Priority: Low Assignee: Category: lib Target version: 2.0.0 irb --help 時の表示が古いようです。日本語だけしか修正できて…

---

## [Achieving strong client -\> upstrem\_server affinity](https://www.ruby-forum.com/t/achieving-strong-client-upstrem-server-affinity/222506)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [September 1, 2012, 2:20am UTC](https://www.ruby-forum.com/t/achieving-strong-client-upstrem-server-affinity/222506 "2012-09-01T02:20:26Z")

</div>

Hi, I am using Nginx 1.1.19 on Ubuntu 12.04 (LTS) server. Nginx is used to load balance traffic between two instances of the Punjab XMPP-BOSH server. Below is the relevant part from my nginx configuration : upstream…

---

## [UserDir](https://www.ruby-forum.com/t/userdir/216325)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [February 17, 2012, 12:37am UTC](https://www.ruby-forum.com/t/userdir/216325 "2012-02-17T00:37:58Z")

</div>

I’m having trouble getting UserDir to work. I think it has something to do with the PHP fastcgi options. Can someone please take a look at my configuration and double check what I have? Any help is appreciated. Thank…

---

## [Set user IP on create](https://www.ruby-forum.com/t/set-user-ip-on-create/209742)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [July 21, 2011, 11:06pm UTC](https://www.ruby-forum.com/t/set-user-ip-on-create/209742 "2011-07-21T23:06:46Z")

</div>

i tried to make a callback to assign the user IP address on create before\_create self.ip = request.remote\_ip end but I get NameError (undefined local variable or method \`request’ for #User:0x5b05078):

---

## [Apache to nginx rewrite rule](https://www.ruby-forum.com/t/apache-to-nginx-rewrite-rule/201068)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [December 29, 2010, 9:16pm UTC](https://www.ruby-forum.com/t/apache-to-nginx-rewrite-rule/201068 "2010-12-29T21:16:59Z")

</div>

Looking to do something like this: RewriteRule ^youtube/(.\*)$ http://www.youtube.com/$1 \[L\] This the configuration I’m thinking of? location /youtube/ { rewrite ^(.\*)$ http://www.youtube.com$1 }

---

## [\[ann\] Ruby Social Club Milan](https://www.ruby-forum.com/t/ann-ruby-social-club-milan/198163)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 6\
**Last updated:** [November 3, 2010, 12:19am UTC](https://www.ruby-forum.com/t/ann-ruby-social-club-milan/198163 "2010-11-03T00:19:01Z")

</div>

Ragazzi, vi ricordo che domani sera dalle 18.30 ritornano gli incontro con i rubysti di Milano e dintorni :slight\_smile: Saremo quasi 40 persone, ma la sede di Neonisihttp://maps.google.it/maps?q=via+cesalpino+60,+m…

---

## [What does the "main" pointor in request struct mean?](https://www.ruby-forum.com/t/what-does-the-main-pointor-in-request-struct-mean/189235)

<div class="topic-metadata">

**Author:** [@4everpan](https://www.ruby-forum.com/u/4everpan)\
**Replies:** 6\
**Last updated:** [May 28, 2010, 10:53am UTC](https://www.ruby-forum.com/t/what-does-the-main-pointor-in-request-struct-mean/189235 "2010-05-28T10:53:35Z")

</div>

I found in Nginx that: struct ngx\_http\_request\_s { … ngx\_http\_request\_t \*main; … }; what does this argument mean? I also found a similar argument in Apache: request\_rec\* request\_rec::main //Pointer…

---

## [PATCH: $time\_custom supports a custom log timestamp](https://www.ruby-forum.com/t/patch-time-custom-supports-a-custom-log-timestamp/174301)

<div class="topic-metadata">

**Author:** [@Wayne\_Davison](https://www.ruby-forum.com/u/Wayne_Davison)\
**Replies:** 6\
**Last updated:** [August 25, 2009, 7:37am UTC](https://www.ruby-forum.com/t/patch-time-custom-supports-a-custom-log-timestamp/174301 "2009-08-25T07:37:53Z")

</div>

Hi there. The company I work for, SourceForge, wanted the ability to have a custom timestamp in a log file, so I created a patch for this. I have been authorized to release it back to the nginx community. See what y…

---

## [Multiple models versus one model](https://www.ruby-forum.com/t/multiple-models-versus-one-model/165251)

<div class="topic-metadata">

**Author:** [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Replies:** 6\
**Last updated:** [April 11, 2009, 8:17pm UTC](https://www.ruby-forum.com/t/multiple-models-versus-one-model/165251 "2009-04-11T20:17:32Z")

</div>

Hello, I have a design question concerning my app with Rails. I have two types of users let’s call them Type1 and Type2. They both have very similar attributes but different associations and functionality. So for eve…

---

## [Help with an RJS](https://www.ruby-forum.com/t/help-with-an-rjs/152187)

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 6\
**Last updated:** [October 31, 2008, 4:10am UTC](https://www.ruby-forum.com/t/help-with-an-rjs/152187 "2008-10-31T04:10:25Z")

</div>

Hello, I have a code on a RJS where I want to check if an element in the DOM has child elements, if not, show a message. 1.page\["event\_"removed\_email\_address@domain.invalid\_s\].visual\_effect :fade #This works 2.page \<\< …

---

## [How to set primary key in rails 2.0.2](https://www.ruby-forum.com/t/how-to-set-primary-key-in-rails-2-0-2/143487)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 6\
**Last updated:** [July 19, 2008, 12:51pm UTC](https://www.ruby-forum.com/t/how-to-set-primary-key-in-rails-2-0-2/143487 "2008-07-19T12:51:39Z")

</div>

Dear friends, I’m using rails 2.0.2. I have created a model sample and i have created columns using following codes class CreateSamples \< ActiveRecord::Migration def self.up create\_table :samples, :id =\> false …

---

## [Backgroundrb - Connection closed](https://www.ruby-forum.com/t/backgroundrb-connection-closed/98835)

<div class="topic-metadata">

**Author:** [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Replies:** 6\
**Last updated:** [June 7, 2007, 2:59pm UTC](https://www.ruby-forum.com/t/backgroundrb-connection-closed/98835 "2007-06-07T14:59:11Z")

</div>

Hello, maybe someone can help with backgroundrb. I’ve written an application, which makes use of backgroundrb. Everything works fine on my development machine, but it crashes on my production server. Something seem…

---

## [Time range help](https://www.ruby-forum.com/t/time-range-help/104157)

<div class="topic-metadata">

**Author:** [@ghoti143](https://www.ruby-forum.com/u/ghoti143)\
**Replies:** 6\
**Last updated:** [May 14, 2007, 10:02pm UTC](https://www.ruby-forum.com/t/time-range-help/104157 "2007-05-14T22:02:28Z")

</div>

I have 2 time objects and want to iterate over them by day. I figured out that I can do: a = Time.mktime(2007,5,1,0,0,0) b = Time.mktime(2007,5,7,0,0,0) (a…b).each { |val| code goes here } but when I do that it it…

---

## [Microsoft brings Ruby to the browser?](https://www.ruby-forum.com/t/microsoft-brings-ruby-to-the-browser/103048)

<div class="topic-metadata">

**Author:** [@bct](https://www.ruby-forum.com/u/bct)\
**Replies:** 6\
**Last updated:** [May 1, 2007, 9:34pm UTC](https://www.ruby-forum.com/t/microsoft-brings-ruby-to-the-browser/103048 "2007-05-01T21:34:46Z")

</div>

Via TechCrunch: “Silverlight will now include a mini-CLR (Common Language Runtime) from .NET. As with the usual .NET runtime, with Silverlight you can code in a number of supported programming languages. At this time …

---

## [How do I use a helper inside a helper?](https://www.ruby-forum.com/t/how-do-i-use-a-helper-inside-a-helper/83035)

<div class="topic-metadata">

**Author:** [@emuen](https://www.ruby-forum.com/u/emuen)\
**Replies:** 6\
**Last updated:** [February 1, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/how-do-i-use-a-helper-inside-a-helper/83035 "2007-02-01T13:23:14Z")

</div>

Hi. Is there any way, that i can use a application\_helper inside a controller helper ?

---

## [Before\_filter :set\_page\_title using @item](https://www.ruby-forum.com/t/before-filter-set-page-title-using-item/70939)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 6\
**Last updated:** [October 4, 2006, 5:32pm UTC](https://www.ruby-forum.com/t/before-filter-set-page-title-using-item/70939 "2006-10-04T17:32:45Z")

</div>

I have: before\_filter :set\_page\_title def set\_page\_title @page\_title = case action\_name when ‘new’ then ‘Submit Item’ when ‘list’ then ‘Items’ when ‘show’ then “Item - #{@item.title}” end end Is there any way to…

---

## [Unable to install Gems with RubyGems on Intel OSX with Darwi](https://www.ruby-forum.com/t/unable-to-install-gems-with-rubygems-on-intel-osx-with-darwi/102821)

<div class="topic-metadata">

**Author:** [@Douglas\_T](https://www.ruby-forum.com/u/Douglas_T)\
**Replies:** 6\
**Last updated:** [August 1, 2006, 4:37am UTC](https://www.ruby-forum.com/t/unable-to-install-gems-with-rubygems-on-intel-osx-with-darwi/102821 "2006-08-01T04:37:14Z")

</div>

I followed Duncan Davidson’s Sandboxing Rails with Darwin Ports guide and everything went fine up till the part where I had to install gems using gem install. I would get this stacktrace: Attempting local installati…

---

## [Question on self (Newbie)](https://www.ruby-forum.com/t/question-on-self-newbie/59727)

<div class="topic-metadata">

**Author:** [@darushin](https://www.ruby-forum.com/u/darushin)\
**Replies:** 6\
**Last updated:** [May 5, 2006, 9:15pm UTC](https://www.ruby-forum.com/t/question-on-self-newbie/59727 "2006-05-05T21:15:33Z")

</div>

I am working my way through some tutorials and books on Ruby and i am trying to understand the various uses of the self object. For example this code from Agile rails: def self.login(name,password) code here end def…

---

## [Rails engines sur textDrive](https://www.ruby-forum.com/t/rails-engines-sur-textdrive/57822)

<div class="topic-metadata">

**Author:** [@Christophe\_GuSSSSga](https://www.ruby-forum.com/u/Christophe_GuSSSSga)\
**Replies:** 6\
**Last updated:** [April 14, 2006, 5:45pm UTC](https://www.ruby-forum.com/t/rails-engines-sur-textdrive/57822 "2006-04-14T17:45:28Z")

</div>

Bonjours Ã tous, J’utilise les rails engines (login\_engine pour l’instant) pour mon application que j’hÃ©berge sur textDrive. En local sur macOSX, aucun problÃ¨me. Mais sur TextDrive, impossible de lancer lighttpd, i…

---

## [Prototype ajax + xml response](https://www.ruby-forum.com/t/prototype-ajax-xml-response/72212)

<div class="topic-metadata">

**Author:** [@kevinkusf](https://www.ruby-forum.com/u/kevinkusf)\
**Replies:** 6\
**Last updated:** [February 24, 2006, 7:23am UTC](https://www.ruby-forum.com/t/prototype-ajax-xml-response/72212 "2006-02-24T07:23:27Z")

</div>

Hi, I am looking for a solution to use ajax.request object. Return response text will be in xml format and I like to know how to parse that xml information, so that I can put those info into the “span” or “div” tags…

---

## [How to display the error messages from the controller](https://www.ruby-forum.com/t/how-to-display-the-error-messages-from-the-controller/52170)

<div class="topic-metadata">

**Author:** [@nekapoor](https://www.ruby-forum.com/u/nekapoor)\
**Replies:** 6\
**Last updated:** [January 11, 2006, 9:20pm UTC](https://www.ruby-forum.com/t/how-to-display-the-error-messages-from-the-controller/52170 "2006-01-11T21:20:36Z")

</div>

I have a wizard which consists of two pages. To keep it simple let’s say that the first page asks the user to select a state from the drop down menu. In case the user doesn’t select any state, an error message needs t…

---

## [OpenResty 1.9.7.4 released](https://www.ruby-forum.com/t/openresty-1-9-7-4-released/244296)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [March 17, 2016, 2:52pm UTC](https://www.ruby-forum.com/t/openresty-1-9-7-4-released/244296 "2016-03-17T14:52:32Z")

</div>

Hi folks I am happy to announce the new formal release, 1.9.7.4, of the OpenResty web platform based on NGINX and LuaJIT: https://openresty.org/#Download Both the (portable) source code distribution and the Win32 bin…

---

## [Testing encoding / escaping in Ruby 1.8](https://www.ruby-forum.com/t/testing-encoding-escaping-in-ruby-1-8/233053)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [November 14, 2014, 8:08pm UTC](https://www.ruby-forum.com/t/testing-encoding-escaping-in-ruby-1-8/233053 "2014-11-14T20:08:18Z")

</div>

It’s Rails 2.3, Ruby 1.8.7 Someone before I came along coded a bunch of character sanitations in our app. These had no documentation and no unit tests. Our app is in English and all our clients use latin alphabet. …

---

## [Rails 4 - I got NoMethodError undefined method. Please help](https://www.ruby-forum.com/t/rails-4-i-got-nomethoderror-undefined-method-please-help/246435)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [October 20, 2013, 8:14pm UTC](https://www.ruby-forum.com/t/rails-4-i-got-nomethoderror-undefined-method-please-help/246435 "2013-10-20T20:14:02Z")

</div>

I got a NoMethodError when i called \<%= @post.admin\_user.name %\>, don’t know how to fix it. Extracted source (around line #4): \<h1\>\<%= @post.title %\>\</h1\> \<p\>\<%= @post.body %\>\</p\> \<small\>Post created at \<%= @post.crea…

---

## [Small correction in sample code](https://www.ruby-forum.com/t/small-correction-in-sample-code/206715)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 15, 2011, 11:02pm UTC](https://www.ruby-forum.com/t/small-correction-in-sample-code/206715 "2011-05-15T23:02:19Z")

</div>

After some of our members, helped me understand the ampersand problem, I realized that there is a small error in the menu list. I fixed it in the attached file. The change is at line 769. There were two instance…

---

## [Rohde and Schwarz ridiculous patent app. Sorry Ulrich](https://www.ruby-forum.com/t/rohde-and-schwarz-ridiculous-patent-app-sorry-ulrich/183375)

<div class="topic-metadata">

**Author:** [@Bob\_McGwier](https://www.ruby-forum.com/u/Bob_McGwier)\
**Replies:** 1\
**Last updated:** [February 12, 2010, 5:45pm UTC](https://www.ruby-forum.com/t/rohde-and-schwarz-ridiculous-patent-app-sorry-ulrich/183375 "2010-02-12T17:45:05Z")

</div>

This patent must be fought tooth and nail. It is loaded with art which has been done MANY times before. I will be personally taking this on as a battle for my employers but we need all guns blazing at the patent off…

---

## [Map.root doesn't work](https://www.ruby-forum.com/t/map-root-doesnt-work/152140)

<div class="topic-metadata">

**Author:** [@thithi32](https://www.ruby-forum.com/u/thithi32)\
**Replies:** 1\
**Last updated:** [October 30, 2008, 4:19pm UTC](https://www.ruby-forum.com/t/map-root-doesnt-work/152140 "2008-10-30T16:19:49Z")

</div>

Hello, I’ve been trying to set map.root for my site and it doesn’t seem to work!! Here’s what I have in my routes.rb: " ActionController::Routing::Routes.draw do |map| map.root :controller =\> ‘leagues’, :action =\> …

---

## [Is it just me or all all engines links set up as only\_path =\> false?](https://www.ruby-forum.com/t/is-it-just-me-or-all-all-engines-links-set-up-as-only-path-false/149709)

<div class="topic-metadata">

**Author:** [@yossarian](https://www.ruby-forum.com/u/yossarian)\
**Replies:** 1\
**Last updated:** [September 28, 2008, 9:14pm UTC](https://www.ruby-forum.com/t/is-it-just-me-or-all-all-engines-links-set-up-as-only-path-false/149709 "2008-09-28T21:14:11Z")

</div>

Hi there, Is it the case that all links in engines seem to ignore the default Rails only\_path =\> false option? Every link\_to in my Engine results in links like: Back to articles whereas the non-engine views in the …

---

## [Ruby-postgres gem installation on Leopard](https://www.ruby-forum.com/t/ruby-postgres-gem-installation-on-leopard/140249)

<div class="topic-metadata">

**Author:** [@simon.m.fox](https://www.ruby-forum.com/u/simon.m.fox)\
**Replies:** 1\
**Last updated:** [June 12, 2008, 10:00am UTC](https://www.ruby-forum.com/t/ruby-postgres-gem-installation-on-leopard/140249 "2008-06-12T10:00:34Z")

</div>

Hi all I am just about to start a project using rails and am trying to setup my enviroment with postgres as the database. I have installed postgres 8.3.1 from source and am now having trouble installing the ruby- pos…

---

## [Ruby operator precedence](https://www.ruby-forum.com/t/ruby-operator-precedence/106107)

<div class="topic-metadata">

**Author:** [@daduke](https://www.ruby-forum.com/u/daduke)\
**Replies:** 1\
**Last updated:** [June 6, 2007, 2:30pm UTC](https://www.ruby-forum.com/t/ruby-operator-precedence/106107 "2007-06-06T14:30:06Z")

</div>

Hi I’ve been toying a bit with Ruby based DSL in which I use some standard Ruby operators for my own evil purposes. I have some problems with operator precedence though. I can’t find any information about the pre…

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

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