# Top

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

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

---

## [Rails3 Model without ActiveRecord](https://www.ruby-forum.com/t/rails3-model-without-activerecord/204242)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 8, 2011, 5:58pm UTC](https://www.ruby-forum.com/t/rails3-model-without-activerecord/204242 "2011-03-08T17:58:19Z")

</div>

Hi, I was reading about ActiveModel to ride rails without ActiveRecord, but the documentation doesn’t include info about find, and how to implement search functionality. I need to do the following: i have a simple …

---

## [Simple Contact Form - ActiveRecord without a table](https://www.ruby-forum.com/t/simple-contact-form-activerecord-without-a-table/201071)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 29, 2010, 7:24pm UTC](https://www.ruby-forum.com/t/simple-contact-form-activerecord-without-a-table/201071 "2010-12-29T19:24:46Z")

</div>

Hey, This is hopefully a very basic question, though I couldn’t find a nice tutorial for that. I want to make in Rails3 a simple contact form, but with validation. So I thought, that I would use ActiveRecord for that…

---

## [1.9.x release and trunk branch policy](https://www.ruby-forum.com/t/1-9-x-release-and-trunk-branch-policy/200177)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 10, 2010, 2:13pm UTC](https://www.ruby-forum.com/t/1-9-x-release-and-trunk-branch-policy/200177 "2010-12-10T14:13:20Z")

</div>

$B$^$D$b$H$5$s!"(BYugui $B$5$s(B $B1sF#$G$9!#(B trunk $B%V%i%s%A$N07$$$K$D$$$F!"3NG’$HDs0F$G$9!#(B http://www.ustream.tv/recorded/11236338 $B$N(B 41 $BJ,:"!“KNIt$5$s$+$i$N\<A5?$G!”$^$D$b$H$5$s$,(B trunk $B$N07$$$K(B …

---

## [Ssl encryption with post\_form()](https://www.ruby-forum.com/t/ssl-encryption-with-post-form/198677)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 6, 2010, 12:45am UTC](https://www.ruby-forum.com/t/ssl-encryption-with-post-form/198677 "2010-11-06T00:45:47Z")

</div>

im writing a program that needs to post a form, and iv found that i can do this with post\_form(), but i need to send it over a connection with ssl encryption. heres my code require ‘net/http’ require ‘uri’ res = Net…

---

## [How to call a method within another method](https://www.ruby-forum.com/t/how-to-call-a-method-within-another-method/196046)

<div class="topic-metadata">

**Author:** [@prichard](https://www.ruby-forum.com/u/prichard)\
**Replies:** 3\
**Last updated:** [October 6, 2010, 6:12am UTC](https://www.ruby-forum.com/t/how-to-call-a-method-within-another-method/196046 "2010-10-06T06:12:59Z")

</div>

Hi, I have a method… def make\_pay\_loan end I want this method to ‘activate’ (for want of a better word) another method called pay\_loan. Any tips on how this could be done are welcome, thanks

---

## [Placing database.yml to svn](https://www.ruby-forum.com/t/placing-database-yml-to-svn/184185)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 3\
**Last updated:** [February 26, 2010, 10:12am UTC](https://www.ruby-forum.com/t/placing-database-yml-to-svn/184185 "2010-02-26T10:12:30Z")

</div>

Hi I would like to know is there any serious problem if committing database.yml file to svn? What I am currently doing is committing database.yml.sample file to svn. So an extra step needed in each production setup(l…

---

## [\[Bug:trunk\] behavior change of some methods of Date between 1.8 and 1.9](https://www.ruby-forum.com/t/bug-trunk-behavior-change-of-some-methods-of-date-between-1-8-and-1-9/182462)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 3\
**Last updated:** [January 28, 2010, 5:00pm UTC](https://www.ruby-forum.com/t/bug-trunk-behavior-change-of-some-methods-of-date-between-1-8-and-1-9/182462 "2010-01-28T17:00:23Z")

</div>

e$B$U$J$P$5$se(B e$B1sF#$G$9!#e(B rubyspec e$B$,e(B Date e$B$K4X$9$kF0:n$N0c$$$r8+$D$1$^$/$C$F$/$l$k$s$G$9$,!"e(B Date e$B$NCN\<1$,$J$/$F%P%0$+$I$&$+H=CG$G$-$^$;$s!#e(B e$B$9$\_$^$;$s$,0J2\<$NF0:n$N0c$$$r%A%'%C%/$7$F$$…

---

## [Finding an element in an array of hashes](https://www.ruby-forum.com/t/finding-an-element-in-an-array-of-hashes/179829)

<div class="topic-metadata">

**Author:** [@asoto](https://www.ruby-forum.com/u/asoto)\
**Replies:** 3\
**Last updated:** [December 5, 2009, 12:24am UTC](https://www.ruby-forum.com/t/finding-an-element-in-an-array-of-hashes/179829 "2009-12-05T00:24:29Z")

</div>

Hi, I have an array of Facebooker::User objects so friends.class = Array and friends\[1\].class = Facebooker::User Facebooker::User objects which are basically hashes. each friend has a unique facebook\_id so friends\[…

---

## [Problem upgrading from Rails 2.0.2 to 2.2.2](https://www.ruby-forum.com/t/problem-upgrading-from-rails-2-0-2-to-2-2-2/153879)

<div class="topic-metadata">

**Author:** [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Replies:** 3\
**Last updated:** [December 4, 2008, 10:12pm UTC](https://www.ruby-forum.com/t/problem-upgrading-from-rails-2-0-2-to-2-2-2/153879 "2008-12-04T22:12:37Z")

</div>

Hey all, I just upgraded a very simple rails based website from Rails 2.0.2 to 2.2.2. When I started up Mongrel however, I got the following error: \*\* Starting Rails with development environment… ExitingC:/InstantRai…

---

## [Rawk no longer works on Rails 2.2.2](https://www.ruby-forum.com/t/rawk-no-longer-works-on-rails-2-2-2/153895)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 3\
**Last updated:** [November 22, 2008, 3:46pm UTC](https://www.ruby-forum.com/t/rawk-no-longer-works-on-rails-2-2-2/153895 "2008-11-22T15:46:02Z")

</div>

I just wanted to let you know that the hack to make rawk work on Rails 2.2.2 by grouping action calls no longer works. This is the hack, I have put the TODO where the line crashes Rails: module ActiveSupport class Buf…

---

## [Convert string array to interger array in in one line](https://www.ruby-forum.com/t/convert-string-array-to-interger-array-in-in-one-line/152600)

<div class="topic-metadata">

**Author:** [@jags](https://www.ruby-forum.com/u/jags)\
**Replies:** 3\
**Last updated:** [November 5, 2008, 11:49pm UTC](https://www.ruby-forum.com/t/convert-string-array-to-interger-array-in-in-one-line/152600 "2008-11-05T23:49:24Z")

</div>

hi guys i have a array like this for e.g \[\[“0”, “0”, “0”, “0”, “0”, “3”, “3”\], \[“0”, “0”, “0”, “0”, “0”, “3”, “3”\], \[“0”, “0”, “0”, “0”, “0”, “3”, “3”\], \[“0”, “3”, “0”, “0”, “0”, “0”, “3”\], \[“0”, “0”, “0”, “0”, “0”…

---

## [Connecting to mysql on locomotive](https://www.ruby-forum.com/t/connecting-to-mysql-on-locomotive/151794)

<div class="topic-metadata">

**Author:** [@tim](https://www.ruby-forum.com/u/tim)\
**Replies:** 3\
**Last updated:** [October 27, 2008, 1:06pm UTC](https://www.ruby-forum.com/t/connecting-to-mysql-on-locomotive/151794 "2008-10-27T13:06:08Z")

</div>

Hi, I am having trouble connecting to mysql on a locomotive installation. Everything is working fine through my rails application (it is able to read the database via the database.yml configuration), but when I try t…

---

## [Where is the difference between \>system "script/myscript"\< and \>script/myscript\< (via shell)?](https://www.ruby-forum.com/t/where-is-the-difference-between-system-script-myscript-and-script-myscript-via-shell/151344)

<div class="topic-metadata">

**Author:** [@none](https://www.ruby-forum.com/u/none)\
**Replies:** 3\
**Last updated:** [October 21, 2008, 10:32am UTC](https://www.ruby-forum.com/t/where-is-the-difference-between-system-script-myscript-and-script-myscript-via-shell/151344 "2008-10-21T10:32:52Z")

</div>

hallo everybody, i’ve searched the web for quite some time now, but didn’t find an answer to this question (and thus no solution to my problem). explanation: i wrote a script to start a DRb-server on a rails-app. wha…

---

## [Display a form with selected values from URL](https://www.ruby-forum.com/t/display-a-form-with-selected-values-from-url/150443)

<div class="topic-metadata">

**Author:** [@robertderosny](https://www.ruby-forum.com/u/robertderosny)\
**Replies:** 3\
**Last updated:** [October 9, 2008, 4:02am UTC](https://www.ruby-forum.com/t/display-a-form-with-selected-values-from-url/150443 "2008-10-09T04:02:32Z")

</div>

Hi there, I have an author model and a book model. I’m trying to create a “add new book” link for each author from the authors index page, that would point to a new book page, with the the author select field already…

---

## [\[ANN\] Rejaw is born](https://www.ruby-forum.com/t/ann-rejaw-is-born/145185)

<div class="topic-metadata">

**Author:** [@dburkes](https://www.ruby-forum.com/u/dburkes)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/ann-rejaw-is-born/145185 "2008-08-06T18:56:37Z")

</div>

We’ve just launched a new Rails-based chat/microblogging site at http://rejaw.com. I mention it here because we are using ferret/aaf to index all our content, as we did on Lingr. Our index isn’t as big as Lingr’s yet…

---

## [Sortie de Typo 5.0.4b](https://www.ruby-forum.com/t/sortie-de-typo-5-0-4b/141979)

<div class="topic-metadata">

**Author:** [@de\_Villamil\_FrSSSSd](https://www.ruby-forum.com/u/de_Villamil_FrSSSSd)\
**Replies:** 3\
**Last updated:** [July 7, 2008, 11:16am UTC](https://www.ruby-forum.com/t/sortie-de-typo-5-0-4b/141979 "2008-07-07T11:16:59Z")

</div>

Bonsoir, J’ai le plaisir de vous annoncer la sortie de la bÃªta 2 de Typo 5.0.4. Contrairement Ã ce que son nom semble l’indiquer, il s’agit d’une Ã©volution majeure de l’application Outre les nouvelles fonctionnali…

---

## [Re: changes to extname\_spec.rb](https://www.ruby-forum.com/t/re-changes-to-extname-spec-rb/137602)

<div class="topic-metadata">

**Author:** [@ksunair](https://www.ruby-forum.com/u/ksunair)\
**Replies:** 3\
**Last updated:** [May 14, 2008, 4:49pm UTC](https://www.ruby-forum.com/t/re-changes-to-extname-spec-rb/137602 "2008-05-14T16:49:49Z")

</div>

Hi Pete, I was kind of doing what you are saying but manually though. But after seeing the specs, I stopped doing it altogether. I wrote down the test and display the result on the console with puts. Now run the scri…

---

## [Obtener direcciÃ³n IP](https://www.ruby-forum.com/t/obtener-direccia-n-ip/129536)

<div class="topic-metadata">

**Author:** [@SSdac](https://www.ruby-forum.com/u/SSdac)\
**Replies:** 3\
**Last updated:** [February 19, 2008, 12:07pm UTC](https://www.ruby-forum.com/t/obtener-direccia-n-ip/129536 "2008-02-19T12:07:43Z")

</div>

Hola a todxs. Necesito guardar la direcciÃ³n IP del cliente (usuario) cada vez que hace un comentario. Â¿Sabe alguien como puedo hacerlo? Muchas gracias!

---

## [How to manipulate a Hash object to String](https://www.ruby-forum.com/t/how-to-manipulate-a-hash-object-to-string/126502)

<div class="topic-metadata">

**Author:** [@Erwin](https://www.ruby-forum.com/u/Erwin)\
**Replies:** 3\
**Last updated:** [January 21, 2008, 6:20pm UTC](https://www.ruby-forum.com/t/how-to-manipulate-a-hash-object-to-string/126502 "2008-01-21T18:20:48Z")

</div>

I got a result from my app (web service) that I transform into a Hash : @return = Hash.from\_xml(data).values.first @return = {“Saved”=\>“false”, “Rating”=\>{“Comment”=\>nil, “Error”=\>" missing"}, “Post”=\>{“Title”=\>nil, …

---

## [Crear plugin desde aplicaciÃ³n RoR](https://www.ruby-forum.com/t/crear-plugin-desde-aplicacia-n-ror/125824)

<div class="topic-metadata">

**Author:** [@zaid](https://www.ruby-forum.com/u/zaid)\
**Replies:** 0\
**Last updated:** [January 12, 2008, 2:08pm UTC](https://www.ruby-forum.com/t/crear-plugin-desde-aplicacia-n-ror/125824 "2008-01-12T14:08:29Z")

</div>

Hello. I have an application that rails intependientemente works. But now Have asked me to run as a plugin. And I would like to know if anyone can help me. Because I do not know if it’s a Work trivial or need to cha…

---

## [Hardware speedup factor starting from AMD Sempron 3000+](https://www.ruby-forum.com/t/hardware-speedup-factor-starting-from-amd-sempron-3000/120386)

<div class="topic-metadata">

**Author:** [@Vincenzo\_P](https://www.ruby-forum.com/u/Vincenzo_P)\
**Replies:** 3\
**Last updated:** [November 17, 2007, 12:38pm UTC](https://www.ruby-forum.com/t/hardware-speedup-factor-starting-from-amd-sempron-3000/120386 "2007-11-17T12:38:12Z")

</div>

hi everybody, I have got my ETSI DVB-T transmitter code working on my linux box, which is based upon an AMD sempron 3000+ (single core) processor. Can anybody roughly esteem the speed up factor that I would have by u…

---

## [Bizarre log file permissions](https://www.ruby-forum.com/t/bizarre-log-file-permissions/118216)

<div class="topic-metadata">

**Author:** [@nobrow](https://www.ruby-forum.com/u/nobrow)\
**Replies:** 3\
**Last updated:** [October 24, 2007, 9:49pm UTC](https://www.ruby-forum.com/t/bizarre-log-file-permissions/118216 "2007-10-24T21:49:49Z")

</div>

When I create a new app with the rails command, it creates a log directory. You must chmod that to 666 according to the error message I get whenever anything (like script/generate) tries to log a message. Fine … … Bu…

---

## [\[TRM\] nuovo articolo su AAA](https://www.ruby-forum.com/t/trm-nuovo-articolo-su-aaa/110827)

<div class="topic-metadata">

**Author:** [@Carletto](https://www.ruby-forum.com/u/Carletto)\
**Replies:** 3\
**Last updated:** [August 1, 2007, 9:42am UTC](https://www.ruby-forum.com/t/trm-nuovo-articolo-su-aaa/110827 "2007-08-01T09:42:37Z")

</div>

Salve a tutti, su TheRubyMine (HugeDomains.com) ho pubblicato un articolo introduttivo sul plugin act\_as\_authenticated. Lo scopo è presentare una soluzione sufficientemente rapida e completa per tutti coloro (specie…

---

## [Shut down Ruby interpreter as last command of a script?](https://www.ruby-forum.com/t/shut-down-ruby-interpreter-as-last-command-of-a-script/110880)

<div class="topic-metadata">

**Author:** [@Sunburned\_S](https://www.ruby-forum.com/u/Sunburned_S)\
**Replies:** 3\
**Last updated:** [July 31, 2007, 8:07pm UTC](https://www.ruby-forum.com/t/shut-down-ruby-interpreter-as-last-command-of-a-script/110880 "2007-07-31T20:07:24Z")

</div>

Is there a command I can issue in the last command of a script to shut down the Ruby interpreter? (I want to open the ruby interpreter to execute the script from another program, but I want the script to close the int…

---

## [Newcocoa, command not found?](https://www.ruby-forum.com/t/newcocoa-command-not-found/105896)

<div class="topic-metadata">

**Author:** [@anne001](https://www.ruby-forum.com/u/anne001)\
**Replies:** 3\
**Last updated:** [June 4, 2007, 10:07pm UTC](https://www.ruby-forum.com/t/newcocoa-command-not-found/105896 "2007-06-04T22:07:33Z")

</div>

I installed new cocoa from gem: sudo gem install newcocoa Successfully installed newcocoa-0.0.4 Installing ri documentation for newcocoa-0.0.4… Installing RDoc documentation for newcocoa-0.0.4… But I can’t run new…

---

## [Ulaw audio over network](https://www.ruby-forum.com/t/ulaw-audio-over-network/103560)

<div class="topic-metadata">

**Author:** [@eclubb](https://www.ruby-forum.com/u/eclubb)\
**Replies:** 3\
**Last updated:** [May 8, 2007, 3:57pm UTC](https://www.ruby-forum.com/t/ulaw-audio-over-network/103560 "2007-05-08T15:57:37Z")

</div>

Does anyone know of a good way to stream ulaw audio (read from a file) over a UDP socket? I have something (mostly) working, but I can’t seem to get the packet timing right. If I use a 10ms sleep, the packets end up…

---

## [YAML (Yet Another Meaningless Languagepopularitystatisticals](https://www.ruby-forum.com/t/yaml-yet-another-meaningless-languagepopularitystatisticals/89539)

<div class="topic-metadata">

**Author:** [@MSEdward\_SEdS\_Bora](https://www.ruby-forum.com/u/MSEdward_SEdS_Bora)\
**Replies:** 3\
**Last updated:** [March 21, 2007, 8:40pm UTC](https://www.ruby-forum.com/t/yaml-yet-another-meaningless-languagepopularitystatisticals/89539 "2007-03-21T20:40:29Z")

</div>

I couldn’t resist … anyhow one of my fellow Forth freaks does this every year. Yes, Ruby is ahead of Forth. But Forth is ahead of Haskell and Erlang. :slight\_smile: http://www.complang.tuwien.ac.at/anton/comp.lang-sta…

---

## [How do you add/install Ruby classes?](https://www.ruby-forum.com/t/how-do-you-add-install-ruby-classes/88372)

<div class="topic-metadata">

**Author:** [@ramontayag](https://www.ruby-forum.com/u/ramontayag)\
**Replies:** 3\
**Last updated:** [March 10, 2007, 5:45am UTC](https://www.ruby-forum.com/t/how-do-you-add-install-ruby-classes/88372 "2007-03-10T05:45:57Z")

</div>

Hi everyone, I wanted to add this class here for handling passwords: http://www.caliban.org/ruby/ruby-password.shtml But I don’t know how to. There’s nothing on that page. I searched in Google too but found nothing…

---

## [Looking for crc32-0.1.0](https://www.ruby-forum.com/t/looking-for-crc32-0-1-0/88090)

<div class="topic-metadata">

**Author:** [@s0nspark](https://www.ruby-forum.com/u/s0nspark)\
**Replies:** 3\
**Last updated:** [March 8, 2007, 1:02pm UTC](https://www.ruby-forum.com/t/looking-for-crc32-0-1-0/88090 "2007-03-08T13:02:25Z")

</div>

I inherited some legacy ruby code that uses the Digest::CRC32 extension mentioned here: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/63994?help-en Unfortunately the source I was given only included that…

---

## [Development Hosting](https://www.ruby-forum.com/t/development-hosting/87216)

<div class="topic-metadata">

**Author:** [@jima](https://www.ruby-forum.com/u/jima)\
**Replies:** 3\
**Last updated:** [March 1, 2007, 3:48pm UTC](https://www.ruby-forum.com/t/development-hosting/87216 "2007-03-01T15:48:42Z")

</div>

HI, I am looking at a hosted environment for RoR, subversion, trac and possible also a JVM. I would like to start of with a srtandard plan while I am in development mode and then upgrade to a production-level plan in…

---

## [Ruby subprocess](https://www.ruby-forum.com/t/ruby-subprocess/86731)

<div class="topic-metadata">

**Author:** [@badcherry](https://www.ruby-forum.com/u/badcherry)\
**Replies:** 3\
**Last updated:** [February 25, 2007, 2:50pm UTC](https://www.ruby-forum.com/t/ruby-subprocess/86731 "2007-02-25T14:50:52Z")

</div>

I am wanting inside of a ruby script to execute another ruby script in a subprocess in the same manner as exec(). As first thought I considered seeing if you can lookup the ruby executable path from within ruby, but …

---

## [Embedding the Ruby interpreter in C# app](https://www.ruby-forum.com/t/embedding-the-ruby-interpreter-in-c-app/70308)

<div class="topic-metadata">

**Author:** [@Nick\_Partridge](https://www.ruby-forum.com/u/Nick_Partridge)\
**Replies:** 0\
**Last updated:** [September 28, 2006, 3:16am UTC](https://www.ruby-forum.com/t/embedding-the-ruby-interpreter-in-c-app/70308 "2006-09-28T03:16:32Z")

</div>

Hi, I’m looking for some assistance in embedding the ruby interpreter in C#. I’ve got well through the basics of using p/invoke to load the C api methods, and I’m having some brain-destroying problems with getting a r…

---

## [Form params help](https://www.ruby-forum.com/t/form-params-help/68609)

<div class="topic-metadata">

**Author:** [@zaq](https://www.ruby-forum.com/u/zaq)\
**Replies:** 3\
**Last updated:** [September 18, 2006, 7:03am UTC](https://www.ruby-forum.com/t/form-params-help/68609 "2006-09-18T07:03:05Z")

</div>

I’ve got a form where I have several items (“packages”) listed and I want to query a param that should contain all the “packages” from the form in the controller. However I’m only getting the first item returned. a…

---

## [VIM + indentation/highlightning for ruby](https://www.ruby-forum.com/t/vim-indentation-highlightning-for-ruby/58212)

<div class="topic-metadata">

**Author:** [@Meino\_Christian\_C](https://www.ruby-forum.com/u/Meino_Christian_C)\
**Replies:** 3\
**Last updated:** [April 19, 2006, 8:16pm UTC](https://www.ruby-forum.com/t/vim-indentation-highlightning-for-ruby/58212 "2006-04-19T20:16:17Z")

</div>

Hi, I started learning vim and I tried the indentation/highlightning for ruby. Either I did something very wrong or it does not work that nice. (I used the newest vim (version 6.4.10)). Is there a patched/improved/t…

---

## [What does this hash do? Is this a hash?](https://www.ruby-forum.com/t/what-does-this-hash-do-is-this-a-hash/56722)

<div class="topic-metadata">

**Author:** [@ralf](https://www.ruby-forum.com/u/ralf)\
**Replies:** 3\
**Last updated:** [April 3, 2006, 1:49pm UTC](https://www.ruby-forum.com/t/what-does-this-hash-do-is-this-a-hash/56722 "2006-04-03T13:49:01Z")

</div>

Hi, I’m tryin some hash functionality and came accros this in irb: hash = Hash.new("") =\> {} hash\[“a”\] \<\< “b” =\> “b” hash\[“a”\] =\> “b” hash =\> {} hash.size =\> 0 hash\[“alskj”\] =\> “b” What ist this? Prog.Ruby …

---

## [Why use a Subdomain?](https://www.ruby-forum.com/t/why-use-a-subdomain/56418)

<div class="topic-metadata">

**Author:** [@d6veteran](https://www.ruby-forum.com/u/d6veteran)\
**Replies:** 3\
**Last updated:** [March 31, 2006, 3:49am UTC](https://www.ruby-forum.com/t/why-use-a-subdomain/56418 "2006-03-31T03:49:18Z")

</div>

New to Ruby on Rails. I’ve been playing around with an application I set up at rails.foo.com. Basically this means that all my pages tied to the application live on that subdomain. Is there any reason for not just ins…

---

## [When (not) to use belongs\_to](https://www.ruby-forum.com/t/when-not-to-use-belongs-to/86404)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [March 24, 2006, 2:33am UTC](https://www.ruby-forum.com/t/when-not-to-use-belongs-to/86404 "2006-03-24T02:33:14Z")

</div>

I know you get a lot of questions like this, but I couldn’t find one which answers exactly what I’m after. I’m reasonably new to rails, and I’m having a bit of trouble with when to use belongs\_to. On the rails wiki ( …

---

## [Activerecord: column named 'type' silently ignore (pgsql)](https://www.ruby-forum.com/t/activerecord-column-named-type-silently-ignore-pgsql/102385)

<div class="topic-metadata">

**Author:** [@sduclos](https://www.ruby-forum.com/u/sduclos)\
**Replies:** 3\
**Last updated:** [February 8, 2006, 3:18pm UTC](https://www.ruby-forum.com/t/activerecord-column-named-type-silently-ignore-pgsql/102385 "2006-02-08T15:18:04Z")

</div>

Hi, I’ve been scraching my head on that. If a column is named ‘type’ then nothing appear in this column in postgresql! Just changing the name to ‘typ’ instead of ‘type’ fix the problem. I’m using the latest: active…

---

## [Problem with regexp?](https://www.ruby-forum.com/t/problem-with-regexp/100644)

<div class="topic-metadata">

**Author:** [@Wmute](https://www.ruby-forum.com/u/Wmute)\
**Replies:** 3\
**Last updated:** [February 3, 2006, 3:24pm UTC](https://www.ruby-forum.com/t/problem-with-regexp/100644 "2006-02-03T15:24:06Z")

</div>

Hello, I am trying to replace some old Perl scripts with Ruby, however i get stuck with this line if line =~/($time)/ && line =~/(xxx)/ \<\< $time is a global variable containing the current day/month, but it wont…

---

## [Parsing RDF coming from a URL](https://www.ruby-forum.com/t/parsing-rdf-coming-from-a-url/53315)

<div class="topic-metadata">

**Author:** [@Werner\_Ramaekers](https://www.ruby-forum.com/u/Werner_Ramaekers)\
**Replies:** 3\
**Last updated:** [February 2, 2006, 4:54pm UTC](https://www.ruby-forum.com/t/parsing-rdf-coming-from-a-url/53315 "2006-02-02T16:54:46Z")

</div>

Hello, i’m writing an application that needs geocoding information for locations outside of the US. I’m using the brainoff.com geocoding service mappoint = Net::HTTP.new(‘brainoff.com’, 80) response = mappoint.get(…

---

## [Simple scaffold question](https://www.ruby-forum.com/t/simple-scaffold-question/82288)

<div class="topic-metadata">

**Author:** [@McClain](https://www.ruby-forum.com/u/McClain)\
**Replies:** 3\
**Last updated:** [January 20, 2006, 1:48am UTC](https://www.ruby-forum.com/t/simple-scaffold-question/82288 "2006-01-20T01:48:55Z")

</div>

How do I get scaffold to generate code for a table whos name is not plural of the modelname I give to it. I.E., If I have an existing database, and wish to generate scaffold code for existing tables, is this possible?…

---

## [Couter Cache for 2 Parents?](https://www.ruby-forum.com/t/couter-cache-for-2-parents/52549)

<div class="topic-metadata">

**Author:** [@Tony\_Tseng](https://www.ruby-forum.com/u/Tony_Tseng)\
**Replies:** 3\
**Last updated:** [January 17, 2006, 2:01am UTC](https://www.ruby-forum.com/t/couter-cache-for-2-parents/52549 "2006-01-17T02:01:10Z")

</div>

Hi, I’ve got a question about counter cache; here’s my setup: I have 3 model classes, A, B, and C. A has many C. B has many C. C belongs to both A and B. Now I’d like to keep counters of C in both A and B for perfo…

---

## [Render\_component ignores :layout =\> nil](https://www.ruby-forum.com/t/render-component-ignores-layout-nil/49668)

<div class="topic-metadata">

**Author:** [@Henning](https://www.ruby-forum.com/u/Henning)\
**Replies:** 3\
**Last updated:** [December 7, 2005, 2:56pm UTC](https://www.ruby-forum.com/t/render-component-ignores-layout-nil/49668 "2005-12-07T14:56:29Z")

</div>

Hello, I try to include an action to my main page like this: \<%= render\_component(:controller =\> ‘patient’, :action =\> ‘list’, :layout =\> nil) %\> But the action is rendered in the default layout. Why is :layout =\> n…

---

## [Excel saveas using a variable](https://www.ruby-forum.com/t/excel-saveas-using-a-variable/233012)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 20, 2014, 12:00pm UTC](https://www.ruby-forum.com/t/excel-saveas-using-a-variable/233012 "2014-11-20T12:00:32Z")

</div>

When I run this code in Sketchup, it performs it’s duties, then opens excel, enters the info, then I want it to save as the Address. And that is where I am having the problem. Thanks. ents=Sketchup.active\_model.activ…

---

## [Help please ASAP getting stuck on showing articles](https://www.ruby-forum.com/t/help-please-asap-getting-stuck-on-showing-articles/232266)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 29, 2014, 8:55am UTC](https://www.ruby-forum.com/t/help-please-asap-getting-stuck-on-showing-articles/232266 "2014-09-29T08:55:18Z")

</div>

Hey I am using the gettting started with rails tutorial on Rails guide I am up to session 5.7 Showing articles. I am stuck on this session as i have changed my parameters to be strong and all went well. I have defin…

---

## [\[ruby-trunk - Bug #8484\]\[Assigned\] Restoring conditions through the ruby method call during VM proce](https://www.ruby-forum.com/t/ruby-trunk-bug-8484-assigned-restoring-conditions-through-the-ruby-method-call-during-vm-proce/235178)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [April 26, 2014, 3:01am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8484-assigned-restoring-conditions-through-the-ruby-method-call-during-vm-proce/235178 "2014-04-26T03:01:18Z")

</div>

Issue #8484 has been reported by naruse (Yui NARUSE). Bug #8484: Restoring conditions through the ruby method call during VM processing Author: naruse (Yui NARUSE) Status: Assigned Priority: Normal Assignee: ko1 …

---

## [Reading complex numbers from file dump](https://www.ruby-forum.com/t/reading-complex-numbers-from-file-dump/235990)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 29, 2013, 4:56pm UTC](https://www.ruby-forum.com/t/reading-complex-numbers-from-file-dump/235990 "2013-07-29T16:56:53Z")

</div>

Hi, I have created a file dump with samples from USRP output. Samples are in gr\_complex format. Now I want to read data from the file to compute FFT. How can I read complex numbers in python from this binary file?

---

## [Optimising performance of N210 + XCVR2450](https://www.ruby-forum.com/t/optimising-performance-of-n210-xcvr2450/221671)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 16, 2012, 11:44am UTC](https://www.ruby-forum.com/t/optimising-performance-of-n210-xcvr2450/221671 "2012-08-16T11:44:24Z")

</div>

I have a few queries regarding some of the options for improving the performance of the XCVR2450 + N210. The N210 can offer 50MSPS with 8 bit I&Q samples or 25MSPS with 16bit 1&Q. If using 16 bit I &Q samples, I’d …

---

## [Facing installation issues with GNUradio companion](https://www.ruby-forum.com/t/facing-installation-issues-with-gnuradio-companion/216729)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 17, 2012, 1:19pm UTC](https://www.ruby-forum.com/t/facing-installation-issues-with-gnuradio-companion/216729 "2012-02-17T13:19:53Z")

</div>

Hello, I am trying to work with grc flow graphs. I downloaded the latest versions of gnuradio yesterday and I used Marcus’s script to do it. I have not connected my laptop with USRP daughterboards. I am just trying t…

---

## [Nginx ridiculously slow with PHP+SSL combined](https://www.ruby-forum.com/t/nginx-ridiculously-slow-with-php-ssl-combined/216145)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 27, 2012, 6:53am UTC](https://www.ruby-forum.com/t/nginx-ridiculously-slow-with-php-ssl-combined/216145 "2012-01-27T06:53:39Z")

</div>

So, I’m having an issue with SSL and fastcgi\_pass, specifically to PHP. PHP over standard http gets me over 6,000 requests per second, without stressing the CPU. It’s limited by somaxconn and maximum php children. S…

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

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