# Top

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

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

---

## [View data in single line](https://www.ruby-forum.com/t/view-data-in-single-line/200328)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [December 9, 2010, 5:57pm UTC](https://www.ruby-forum.com/t/view-data-in-single-line/200328 "2010-12-09T17:57:54Z")

</div>

Dear All, I have some data in two variables. I can’t merge those data into single variable. For example:- Profile hash contains some 50 key value pair. profile\[“name”\] profile\[“image”\] Post hash also contains some…

---

## [Trellis\_encoder\_bb segfaults when inside hier\_block](https://www.ruby-forum.com/t/trellis-encoder-bb-segfaults-when-inside-hier-block/192582)

<div class="topic-metadata">

**Author:** [@pytlik](https://www.ruby-forum.com/u/pytlik)\
**Replies:** 6\
**Last updated:** [August 3, 2010, 11:32pm UTC](https://www.ruby-forum.com/t/trellis-encoder-bb-segfaults-when-inside-hier-block/192582 "2010-08-03T23:32:57Z")

</div>

Hi, I’ve been playing around with the gr-trellis stuff, mainly to figure out how it works. My first step was to build a conv. coder/decoder. When I figured out how that works, I wanted to pack everything into a hiera…

---

## [Confusing docs . . . how do I use gcd2?](https://www.ruby-forum.com/t/confusing-docs-how-do-i-use-gcd2/181335)

<div class="topic-metadata">

**Author:** [@javamllama](https://www.ruby-forum.com/u/javamllama)\
**Replies:** 6\
**Last updated:** [January 10, 2010, 4:46am UTC](https://www.ruby-forum.com/t/confusing-docs-how-do-i-use-gcd2/181335 "2010-01-10T04:46:17Z")

</div>

The standard library docs don’t make sense to me a lot of the time. How do I use the gcd2 method in class Integer (or is it in file mathn.rb . . . no idea)?

---

## [DB Table Constraints using code or not! Best practices?](https://www.ruby-forum.com/t/db-table-constraints-using-code-or-not-best-practices/178840)

<div class="topic-metadata">

**Author:** [@bzouchir](https://www.ruby-forum.com/u/bzouchir)\
**Replies:** 6\
**Last updated:** [November 13, 2009, 6:56am UTC](https://www.ruby-forum.com/t/db-table-constraints-using-code-or-not-best-practices/178840 "2009-11-13T06:56:20Z")

</div>

Hi guys, although this is not Rails specific, I have built this Rails app and designed the MySQL database with all constraints and indexes using MySQL Workbench. It is a pretty tool that allows to you to quickly buil…

---

## [Adding, multiplying array](https://www.ruby-forum.com/t/adding-multiplying-array/169713)

<div class="topic-metadata">

**Author:** [@Haris\_BogdanoviS\_S](https://www.ruby-forum.com/u/Haris_BogdanoviS_S)\
**Replies:** 6\
**Last updated:** [June 7, 2009, 11:37pm UTC](https://www.ruby-forum.com/t/adding-multiplying-array/169713 "2009-06-07T23:37:14Z")

</div>

Hi. I want to multply all elements of two arrays and add that to all elements of the third array like this: c+=a\*b c=\[1,1,1\] a=\[2,2,2\] b=\[3,3,3\] c=\[7,7,7\] # (1+2\*3)=7 I tried (found on google): a.zip(b).map {|…

---

## [And in ternary operator](https://www.ruby-forum.com/t/and-in-ternary-operator/169526)

<div class="topic-metadata">

**Author:** [@parvg](https://www.ruby-forum.com/u/parvg)\
**Replies:** 6\
**Last updated:** [June 4, 2009, 9:30pm UTC](https://www.ruby-forum.com/t/and-in-ternary-operator/169526 "2009-06-04T21:30:55Z")

</div>

hi, i would like to do something like the following if true do\_a else d\_a d\_b end Can this be done using ternary operator? This seem to give different result: ifTrue ? do\_a : do\_a and do\_b Thank you.

---

## [Global PHP Rule](https://www.ruby-forum.com/t/global-php-rule/167101)

<div class="topic-metadata">

**Author:** [@mathew\_d](https://www.ruby-forum.com/u/mathew_d)\
**Replies:** 6\
**Last updated:** [May 4, 2009, 3:42am UTC](https://www.ruby-forum.com/t/global-php-rule/167101 "2009-05-04T03:42:53Z")

</div>

Hi, Is there a way to specify a global PHP location rule? As you can see below, the PHP block is repeated which is no good. domain1.tld server { server\_name domain1.tld; root html/domain1; location ~ .php$ { fa…

---

## [Can't transmit from USRP2](https://www.ruby-forum.com/t/cant-transmit-from-usrp2/152389)

<div class="topic-metadata">

**Author:** [@Matigakis\_E](https://www.ruby-forum.com/u/Matigakis_E)\
**Replies:** 6\
**Last updated:** [November 17, 2008, 11:21pm UTC](https://www.ruby-forum.com/t/cant-transmit-from-usrp2/152389 "2008-11-17T23:21:43Z")

</div>

Hi, I while ago we bought two USRP2. When they came we tested them with the usrp2\_siggen and usrp2\_fft programs. Also we had two USRP1 and used USRP\_oscope to see the waveforms produced by USRP2. Everything seemed t…

---

## [Que hace que un mÃ©todo sea llamado auto maticamente](https://www.ruby-forum.com/t/que-hace-que-un-ma-todo-sea-llamado-auto-maticamente/140459)

<div class="topic-metadata">

**Author:** [@alarkspur](https://www.ruby-forum.com/u/alarkspur)\
**Replies:** 6\
**Last updated:** [June 14, 2008, 8:59pm UTC](https://www.ruby-forum.com/t/que-hace-que-un-ma-todo-sea-llamado-auto-maticamente/140459 "2008-06-14T20:59:09Z")

</div>

Buenas lista, Andaba mirando el código de algunos plugins, en concreto los referidos a la autorización, el caso es que la mayoría usan lo siguiente a la hora de asignar un password def password=(value) … end Entie…

---

## [Weird DB Session error, "Mysql::Error: Lost connection to MySQL server during query"](https://www.ruby-forum.com/t/weird-db-session-error-mysql-lost-connection-to-mysql-server-during-query/127510)

<div class="topic-metadata">

**Author:** [@jonzo](https://www.ruby-forum.com/u/jonzo)\
**Replies:** 6\
**Last updated:** [March 29, 2008, 6:45am UTC](https://www.ruby-forum.com/t/weird-db-session-error-mysql-lost-connection-to-mysql-server-during-query/127510 "2008-03-29T06:45:46Z")

</div>

I’ve discovered something really weird in rails 1.2.3 (It could be fixed in 2.0? but I don’t know). Recently I started getting the error “Mysql::Error: Lost connection to MySQL server during query” in my application. …

---

## [Image uploading](https://www.ruby-forum.com/t/image-uploading/119336)

<div class="topic-metadata">

**Author:** [@shybe](https://www.ruby-forum.com/u/shybe)\
**Replies:** 6\
**Last updated:** [November 7, 2007, 12:33pm UTC](https://www.ruby-forum.com/t/image-uploading/119336 "2007-11-07T12:33:33Z")

</div>

I’m Building an application where i need users to be able to upload an image with blog posts, and in another section I need the user to upload multiple images. From what I’ve read “attachment\_fu” is the way to go, b…

---

## [:params =\> params does not work :-(](https://www.ruby-forum.com/t/params-params-does-not-work/87862)

<div class="topic-metadata">

**Author:** [@MartOn](https://www.ruby-forum.com/u/MartOn)\
**Replies:** 6\
**Last updated:** [March 6, 2007, 9:01pm UTC](https://www.ruby-forum.com/t/params-params-does-not-work/87862 "2007-03-06T21:01:23Z")

</div>

Hello I’m applying some filter functionallity to my controller and would like to have pagination and params sendt without using sessions. My filter works and it is sent so I can use it like this: params\[:filter\]\[:fil…

---

## [Breakpointer doesn't show local variables](https://www.ruby-forum.com/t/breakpointer-doesnt-show-local-variables/82334)

<div class="topic-metadata">

**Author:** [@Paolo\_N](https://www.ruby-forum.com/u/Paolo_N)\
**Replies:** 6\
**Last updated:** [February 3, 2007, 2:40am UTC](https://www.ruby-forum.com/t/breakpointer-doesnt-show-local-variables/82334 "2007-02-03T02:40:47Z")

</div>

Hi there On one of my machines (ubuntu 6.10) I’m experiencing some weird problems. Breakpointer doesn’t recognize the local variables, if in a breakpointer session I type local\_variables the reply is always \[“id”,…

---

## [How colud i can run application on remote system in the netw](https://www.ruby-forum.com/t/how-colud-i-can-run-application-on-remote-system-in-the-netw/81821)

<div class="topic-metadata">

**Author:** [@pooja](https://www.ruby-forum.com/u/pooja)\
**Replies:** 6\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/how-colud-i-can-run-application-on-remote-system-in-the-netw/81821 "2007-01-19T16:31:15Z")

</div>

I m running my application on localhost i m using this link-\> http://localhost:3000/abc but when i m accessing the application by its IP its not running I have tried all these links. http://systemName:3000/abc http:…

---

## [Grouping elements of an array?](https://www.ruby-forum.com/t/grouping-elements-of-an-array/81349)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 6\
**Last updated:** [January 8, 2007, 7:02am UTC](https://www.ruby-forum.com/t/grouping-elements-of-an-array/81349 "2007-01-08T07:02:51Z")

</div>

Hello, What’s the best way to do the following? \[1,2,3,4,5,6,7,8,9\] =\> \[\[1,2,3\],\[4,5,6\],\[7,8,9\]\] I want to transform the array into an array of arrays with fixed number of elements. I think there should be a method …

---

## [Rubyinline and rails - do they play nice](https://www.ruby-forum.com/t/rubyinline-and-rails-do-they-play-nice/68853)

<div class="topic-metadata">

**Author:** [@Hemant\_S](https://www.ruby-forum.com/u/Hemant_S)\
**Replies:** 6\
**Last updated:** [September 19, 2006, 5:56pm UTC](https://www.ruby-forum.com/t/rubyinline-and-rails-do-they-play-nice/68853 "2006-09-19T17:56:24Z")

</div>

I am not sure, if this deserves a response, but i was experimenting with rubyinline and was trying to write some of the controller code in C. class FameController \< ApplicationController inline do |builder| builder.c…

---

## [Dreamhost FastCGI: incomplete headers (0 bytes) errors](https://www.ruby-forum.com/t/dreamhost-fastcgi-incomplete-headers-0-bytes-errors/65127)

<div class="topic-metadata">

**Author:** [@chrislo](https://www.ruby-forum.com/u/chrislo)\
**Replies:** 6\
**Last updated:** [August 20, 2006, 1:20am UTC](https://www.ruby-forum.com/t/dreamhost-fastcgi-incomplete-headers-0-bytes-errors/65127 "2006-08-20T01:20:47Z")

</div>

Sorry to trouble the list with another Dreamhost problem, but looking through the archives I see nothing that can solve my problem. I have installed my app as per http://wiki.dreamhost.com/index.php/Ruby\_on\_Rails#Quic…

---

## [RJS - Insert at top of table?](https://www.ruby-forum.com/t/rjs-insert-at-top-of-table/98772)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 6\
**Last updated:** [July 18, 2006, 3:49pm UTC](https://www.ruby-forum.com/t/rjs-insert-at-top-of-table/98772 "2006-07-18T15:49:31Z")

</div>

Quick question regarding RJS and inserting to the top of a table. Here’s the view I’m working with: Display title URL Description Category \<% for link in @links %\> \<%= h link.name %\> \<%= lin…

---

## [Rails app + Radiant](https://www.ruby-forum.com/t/rails-app-radiant/64345)

<div class="topic-metadata">

**Author:** [@tlianza](https://www.ruby-forum.com/u/tlianza)\
**Replies:** 6\
**Last updated:** [June 26, 2006, 12:31am UTC](https://www.ruby-forum.com/t/rails-app-radiant/64345 "2006-06-26T00:31:28Z")

</div>

Hi Folks, Finally getting around to having a play with Radiant - looks like it’s going to be fun. At last the CMS I’ve been waiting for: doesn’t do much; does it well; easily extended. :slight\_smile: Not sure what it…

---

## [A bug in ranges?](https://www.ruby-forum.com/t/a-bug-in-ranges/95321)

<div class="topic-metadata">

**Author:** [@olbrich](https://www.ruby-forum.com/u/olbrich)\
**Replies:** 6\
**Last updated:** [May 29, 2006, 4:04am UTC](https://www.ruby-forum.com/t/a-bug-in-ranges/95321 "2006-05-29T04:04:43Z")

</div>

I think I may have stumbled upon a minor bug in ranges. on my system, (“Z”…“AA”).map returns \[\] while “Z”.succ returns “AA” “Z”.upto(“AA”) also returns \[\] ruby 1.8.4 (2005-12-24) \[i686-darwin8.6.1\] Is this a real …

---

## [RE: Why Does Ruby on Debian Blow? (Was: Mongrel 3.15, Ubuntu](https://www.ruby-forum.com/t/re-why-does-ruby-on-debian-blow-was-mongrel-3-15-ubuntu/94495)

<div class="topic-metadata">

**Author:** [@Ross\_D](https://www.ruby-forum.com/u/Ross_D)\
**Replies:** 6\
**Last updated:** [May 5, 2006, 7:25pm UTC](https://www.ruby-forum.com/t/re-why-does-ruby-on-debian-blow-was-mongrel-3-15-ubuntu/94495 "2006-05-05T19:25:58Z")

</div>

One scanario where you might want to separate would be a productions server running Ruby apps. Would you want or need irb, ri and rdoc on a server where you’re not doing development? (that’s not a retorical question …

---

## [Q: How to initialize debugger's state when starting](https://www.ruby-forum.com/t/q-how-to-initialize-debuggers-state-when-starting/72456)

<div class="topic-metadata">

**Author:** [@Dumaiu](https://www.ruby-forum.com/u/Dumaiu)\
**Replies:** 6\
**Last updated:** [February 28, 2006, 3:24pm UTC](https://www.ruby-forum.com/t/q-how-to-initialize-debuggers-state-when-starting/72456 "2006-02-28T15:24:31Z")

</div>

Quick question: When starting a Ruby script in debug (’-rdebug’) mode, what’s the simplest way to source an \*rc-type file for, say, setting breakpoints? Is it possible to do such during the invocation of ruby at the …

---

## [Lighttpd on mac for local development](https://www.ruby-forum.com/t/lighttpd-on-mac-for-local-development/72568)

<div class="topic-metadata">

**Author:** [@TJ\_Stankus](https://www.ruby-forum.com/u/TJ_Stankus)\
**Replies:** 6\
**Last updated:** [February 24, 2006, 4:01am UTC](https://www.ruby-forum.com/t/lighttpd-on-mac-for-local-development/72568 "2006-02-24T04:01:44Z")

</div>

I’m having trouble installing lighttpd for local development on Mac OS X Tiger. Here are the commands I’ve run: sudo port install fcgi sudo port install lighttpd Here’s a snippet from running “port installed” with s…

---

## [Problem with: Exception: cannot convert Class into String](https://www.ruby-forum.com/t/problem-with-exception-cannot-convert-class-into-string/54211)

<div class="topic-metadata">

**Author:** [@basi](https://www.ruby-forum.com/u/basi)\
**Replies:** 6\
**Last updated:** [December 22, 2005, 5:49pm UTC](https://www.ruby-forum.com/t/problem-with-exception-cannot-convert-class-into-string/54211 "2005-12-22T17:49:28Z")

</div>

Hello: puts aString \<\<\< no error printing aString here process(aString) … … def process(aString) puts aString \<\<\< error printing aString here end The error is: Exception: cannot…

---

## [Nginx stats](https://www.ruby-forum.com/t/nginx-stats/218363)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 6, 2013, 7:38am UTC](https://www.ruby-forum.com/t/nginx-stats/218363 "2013-03-06T07:38:23Z")

</div>

Folks, I’am interested in nginx stats like per return status numbers, bytes served etc. I run nginx in a reverse proxy mode. I know parsing logs will give that, but I wanted to know if there any module which gives th…

---

## [Expanding gemspecs](https://www.ruby-forum.com/t/expanding-gemspecs/229449)

<div class="topic-metadata">

**Author:** [@imnotquitejack](https://www.ruby-forum.com/u/imnotquitejack)\
**Replies:** 5\
**Last updated:** [February 6, 2013, 11:53am UTC](https://www.ruby-forum.com/t/expanding-gemspecs/229449 "2013-02-06T11:53:15Z")

</div>

Hi everyone, I’ve got a question about the existence or potential usefulness of a particular gem. The situation is this: all gems have a gemspec file that defines various properties about the gem. When creating a new …

---

## [Nginx-1.0.12](https://www.ruby-forum.com/t/nginx-1-0-12/216492)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [February 7, 2012, 5:15am UTC](https://www.ruby-forum.com/t/nginx-1-0-12/216492 "2012-02-07T05:15:47Z")

</div>

Changes with nginx 1.0.12 06 Feb 2012 \*) Feature: the "TLSv1.1" and "TLSv1.2" parameters of the "ssl\_protocols" directive. \*) Feature: the "if" SSI command supports captures i…

---

## [Is there a reason why a gem would run in jruby -S irb, but not in a script invoked with jruby?](https://www.ruby-forum.com/t/is-there-a-reason-why-a-gem-would-run-in-jruby-s-irb-but-not-in-a-script-invoked-with-jruby/213150)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [October 25, 2011, 10:47pm UTC](https://www.ruby-forum.com/t/is-there-a-reason-why-a-gem-would-run-in-jruby-s-irb-but-not-in-a-script-invoked-with-jruby/213150 "2011-10-25T22:47:50Z")

</div>

$ jruby -S irb ree-1.8.7-2011.03 :001 \> require ‘tweetstream’ =\> true however… $ jruby test.rb LoadError: no such file to load – tweetstream require at org/jruby/RubyKernel.java:1038 (root) at test.rb:1 which is …

---

## [What happens to incoming data if a block is too slow?](https://www.ruby-forum.com/t/what-happens-to-incoming-data-if-a-block-is-too-slow/208274)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [June 14, 2011, 2:28am UTC](https://www.ruby-forum.com/t/what-happens-to-incoming-data-if-a-block-is-too-slow/208274 "2011-06-14T02:28:38Z")

</div>

Hi, What happens to the incoming data from USRP, over the USB bus, when a gnuradio block takes a lot of time to process its output? Is the data buffered indefinitely or is it dropped as new samples come in case the c…

---

## [Why does my program exit?!](https://www.ruby-forum.com/t/why-does-my-program-exit/194834)

<div class="topic-metadata">

**Author:** [@timrohde](https://www.ruby-forum.com/u/timrohde)\
**Replies:** 5\
**Last updated:** [September 14, 2010, 6:50pm UTC](https://www.ruby-forum.com/t/why-does-my-program-exit/194834 "2010-09-14T18:50:21Z")

</div>

Hi I was hoping that anyone could help me with this piece of code from my program?! I have a menu with 2 submenus that you can reach from the main menu. When I start the program I want the main menu to be presented wi…

---

## [Player Camera](https://www.ruby-forum.com/t/player-camera/194270)

<div class="topic-metadata">

**Author:** [@andr92](https://www.ruby-forum.com/u/andr92)\
**Replies:** 5\
**Last updated:** [September 2, 2010, 1:59am UTC](https://www.ruby-forum.com/t/player-camera/194270 "2010-09-02T01:59:14Z")

</div>

Hello Im pretty new. Im creating a 2d racing game and want to make the camera to stick to the player. I have give this many thoughts and i can’t come to any conclusion. Search this forum for answer but couldn’t find …

---

## [Why through and foreign\_key not working?](https://www.ruby-forum.com/t/why-through-and-foreign-key-not-working/193532)

<div class="topic-metadata">

**Author:** [@mimosa](https://www.ruby-forum.com/u/mimosa)\
**Replies:** 5\
**Last updated:** [August 20, 2010, 4:48pm UTC](https://www.ruby-forum.com/t/why-through-and-foreign-key-not-working/193532 "2010-08-20T16:48:35Z")

</div>

I need SQL : SELECT activities.\* FROM activities INNER JOIN friendships ON activities.user\_id = friendships.friend\_id WHERE friendships.user\_id = 1 My User Model code: has\_many :friendships, :dependent =\> :destroy …

---

## [Db:fixures:load does not call Model.save()](https://www.ruby-forum.com/t/dbload-does-not-call-model-save/192322)

<div class="topic-metadata">

**Author:** [@isyairazu](https://www.ruby-forum.com/u/isyairazu)\
**Replies:** 5\
**Last updated:** [July 28, 2010, 2:44pm UTC](https://www.ruby-forum.com/t/dbload-does-not-call-model-save/192322 "2010-07-28T14:44:16Z")

</div>

Hello, $ ruby script/generate model balance plus:integer minus:integer equal:integer $ cat app/models/balance.rb class Balance \< ActiveRecord::Base def save self.equal = self.plus - self.minus super end end $ c…

---

## [Replace a very long string with gsub get regexp error](https://www.ruby-forum.com/t/replace-a-very-long-string-with-gsub-get-regexp-error/179016)

<div class="topic-metadata">

**Author:** [@ahmad](https://www.ruby-forum.com/u/ahmad)\
**Replies:** 5\
**Last updated:** [November 16, 2009, 8:40am UTC](https://www.ruby-forum.com/t/replace-a-very-long-string-with-gsub-get-regexp-error/179016 "2009-11-16T08:40:30Z")

</div>

Hello, I’ve encountered a problem to replace a very long string with gsub. The string length is around 80,000. As example, data contains string with length 80,000 lala = “Replaced string” input = input.gsub(data, l…

---

## [Beginner: what to do after adding an association in a model?](https://www.ruby-forum.com/t/beginner-what-to-do-after-adding-an-association-in-a-model/162641)

<div class="topic-metadata">

**Author:** [@neerolyte](https://www.ruby-forum.com/u/neerolyte)\
**Replies:** 5\
**Last updated:** [March 12, 2009, 2:22pm UTC](https://www.ruby-forum.com/t/beginner-what-to-do-after-adding-an-association-in-a-model/162641 "2009-03-12T14:22:28Z")

</div>

I’ve looked at a bunch of tutorials and don’t really understand what is supposed to happen after I add an association (belongs\_to, has\_many etc) to both sides of a relationship. A lot of the tutorials just add the ass…

---

## [Conversione files](https://www.ruby-forum.com/t/conversione-files/159963)

<div class="topic-metadata">

**Author:** [@mauro](https://www.ruby-forum.com/u/mauro)\
**Replies:** 5\
**Last updated:** [February 10, 2009, 4:34pm UTC](https://www.ruby-forum.com/t/conversione-files/159963 "2009-02-10T16:34:03Z")

</div>

Ho un file in excel, convertito in formato ods con openoffice. Devo caricare i dati contenuti in questo file in una tabella. Pensavo ad una conversione in un file yaml per poi usare le fixtures. La vedo dura’ pero’, m…

---

## [How to retrive multiple vaules from a view for a text\_field!](https://www.ruby-forum.com/t/how-to-retrive-multiple-vaules-from-a-view-for-a-text-field/153034)

<div class="topic-metadata">

**Author:** [@raji](https://www.ruby-forum.com/u/raji)\
**Replies:** 5\
**Last updated:** [November 12, 2008, 11:13am UTC](https://www.ruby-forum.com/t/how-to-retrive-multiple-vaules-from-a-view-for-a-text-field/153034 "2008-11-12T11:13:27Z")

</div>

Hi, I have view page which takes all the information like contact’s emails , phones no’s etc and saves different tables. I want to save more than one email id’s for a particular contact. view page is something like t…

---

## [Ruby Spec](https://www.ruby-forum.com/t/ruby-spec/145442)

<div class="topic-metadata">

**Author:** [@Mayuresh\_K](https://www.ruby-forum.com/u/Mayuresh_K)\
**Replies:** 5\
**Last updated:** [August 10, 2008, 6:59am UTC](https://www.ruby-forum.com/t/ruby-spec/145442 "2008-08-10T06:59:55Z")

</div>

Hello, Is there a Ruby language specification? I read the following on wikipedia; There is currently no specification of the Ruby language, so the original implementation is considered to be the de facto reference. I…

---

## [Can't get basic CGI and Form submission working](https://www.ruby-forum.com/t/cant-get-basic-cgi-and-form-submission-working/104058)

<div class="topic-metadata">

**Author:** [@tobyr](https://www.ruby-forum.com/u/tobyr)\
**Replies:** 5\
**Last updated:** [May 14, 2007, 12:31am UTC](https://www.ruby-forum.com/t/cant-get-basic-cgi-and-form-submission-working/104058 "2007-05-14T00:31:36Z")

</div>

I’m not a programmer, but like to use Ruby for writing simple programs, mainly for helping with my day job (as a network engineer). My normal method of coding is to take an example out a book (“The Pragmatic Programm…

---

## [Action Mailer](https://www.ruby-forum.com/t/action-mailer/82134)

<div class="topic-metadata">

**Author:** [@Chika](https://www.ruby-forum.com/u/Chika)\
**Replies:** 5\
**Last updated:** [January 18, 2007, 4:18pm UTC](https://www.ruby-forum.com/t/action-mailer/82134 "2007-01-18T16:18:52Z")

</div>

Hola, estoy intentando enviar correos y al parecer no entiendo la documentacion del ActionMailer, Â¿alguien tienen algo en espaÃ±ol?serÃ­a muy bueno. Estoy haciendo que se envien correos a partir de un simple form: \<%…

---

## [HOWTO Use Veriables inside of Regexp and Commands?](https://www.ruby-forum.com/t/howto-use-veriables-inside-of-regexp-and-commands/56959)

<div class="topic-metadata">

**Author:** [@pyr0](https://www.ruby-forum.com/u/pyr0)\
**Replies:** 5\
**Last updated:** [April 6, 2006, 8:20pm UTC](https://www.ruby-forum.com/t/howto-use-veriables-inside-of-regexp-and-commands/56959 "2006-04-06T20:20:31Z")

</div>

Hi, I’ve just started using Ruby and am LOVING IT! :smiley: For my job I need to do allot of shell scripting but have been getting very annoyed at its limitations. So I am now looking to Ruby to replace it. The thing…

---

## [Lighttpd / WEBrick forum?](https://www.ruby-forum.com/t/lighttpd-webrick-forum/76963)

<div class="topic-metadata">

**Author:** [@John\_NSAlegre](https://www.ruby-forum.com/u/John_NSAlegre)\
**Replies:** 5\
**Last updated:** [March 6, 2006, 9:39pm UTC](https://www.ruby-forum.com/t/lighttpd-webrick-forum/76963 "2006-03-06T21:39:56Z")

</div>

Is there a mail list or USENET group for lighttpd WEBrick questions. I posted a simple CGI question to this list last week and got one responce and that responce told me I was on the wrong list with Ruby based from / …

---

## [Does Nginx have separate queuing mechanism for requests?](https://www.ruby-forum.com/t/does-nginx-have-separate-queuing-mechanism-for-requests/236776)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 3, 2013, 5:03pm UTC](https://www.ruby-forum.com/t/does-nginx-have-separate-queuing-mechanism-for-requests/236776 "2013-10-03T17:03:01Z")

</div>

Hello. Consider the following situation: you are deploying application that can serve 1 req./sec. What would happen if I send 10 request in 1 second? I wrote simple app to test that: GitHub - amezhenin/nginx\_slow\_ups…

---

## [Multitenancy and the options to realise it in rails4](https://www.ruby-forum.com/t/multitenancy-and-the-options-to-realise-it-in-rails4/236640)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [September 25, 2013, 2:00pm UTC](https://www.ruby-forum.com/t/multitenancy-and-the-options-to-realise-it-in-rails4/236640 "2013-09-25T14:00:03Z")

</div>

Ok the situation is that I have an App, where to user can sign in and can use the app save some data like customers and orders to the db. Since I’m using devise for authentication, I realised the multitenenacy with c…

---

## [$SAFE variable in Ruby](https://www.ruby-forum.com/t/safe-variable-in-ruby/225506)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [February 14, 2013, 12:26am UTC](https://www.ruby-forum.com/t/safe-variable-in-ruby/225506 "2013-02-14T00:26:00Z")

</div>

The variable $SAFE determines Ruby’s level of paranoia. Now it has 5 different values to protest against “Security Vulnerabilities”. Now Can any present some real time scenarios by which it can be easily understandabl…

---

## [ActiveRecord::Reflection active\_record read-only method](https://www.ruby-forum.com/t/activerecord-reflection-active-record-read-only-method/221785)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 1, 2012, 1:55pm UTC](https://www.ruby-forum.com/t/activerecord-reflection-active-record-read-only-method/221785 "2012-08-01T13:55:13Z")

</div>

I was horsing around with the reflect\_on\_assocation class method of ActiveRecord Reflection, which returns an instance of AssociationReflection. One of its methods is called active\_record. I run it in console: Accoun…

---

## [Conditional before\_save :encrypt\_password](https://www.ruby-forum.com/t/conditional-before-save-encrypt-password/212824)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [October 14, 2011, 4:56pm UTC](https://www.ruby-forum.com/t/conditional-before-save-encrypt-password/212824 "2011-10-14T16:56:04Z")

</div>

I am having a problem finding the best way to make a “before\_save :encrypt\_password” conditional. I have to at times update user model attributes but each time I do this the password is reencrypted because of the abov…

---

## [Generating html files](https://www.ruby-forum.com/t/generating-html-files/212009)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 20, 2011, 2:07am UTC](https://www.ruby-forum.com/t/generating-html-files/212009 "2011-09-20T02:07:45Z")

</div>

what the recommended way to generate static html files based on a database structure, for example 1000 product pages. i would like to specify s template and embed css styles. i use rails 3.1 thanx

---

## [Make errors in gnu radio 3.3.0](https://www.ruby-forum.com/t/make-errors-in-gnu-radio-3-3-0/203095)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 13, 2011, 3:04pm UTC](https://www.ruby-forum.com/t/make-errors-in-gnu-radio-3-3-0/203095 "2011-02-13T15:04:58Z")

</div>

Hi, I am trying to build the gnu radio (release 3.3.0) for the first time on my windows pc. I am following the steps as in http://gnuradio.org/redmine/wiki/gnuradio/CygwinInstallMain I have installed cygwin and the …

---

## [Maximum antenna input voltage on LFRX](https://www.ruby-forum.com/t/maximum-antenna-input-voltage-on-lfrx/200921)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 25, 2010, 2:03am UTC](https://www.ruby-forum.com/t/maximum-antenna-input-voltage-on-lfrx/200921 "2010-12-25T02:03:31Z")

</div>

I’ve looked through the mailing list archive and found a few messages related to this, but they referred to signal generators and power in dBm. In my case, I plan to use it with an antenna and eventually a pre-amp. H…

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

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