# Top

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

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

---

## [Problem: Reading a file](https://www.ruby-forum.com/t/problem-reading-a-file/127013)

<div class="topic-metadata">

**Author:** [@jasonallen](https://www.ruby-forum.com/u/jasonallen)\
**Replies:** 5\
**Last updated:** [January 29, 2008, 7:09am UTC](https://www.ruby-forum.com/t/problem-reading-a-file/127013 "2008-01-29T07:09:30Z")

</div>

I have a problem reading an ascii file. I tried reading it using gr\_file\_soucrce and extracted it using gr\_vector\_sink\_f. Then I tried extracting the data by using .data(); or in short, by using its data member. Unfo…

---

## [Text\_field\_with\_auto\_complete scrollbars](https://www.ruby-forum.com/t/text-field-with-auto-complete-scrollbars/119709)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [November 13, 2007, 4:58pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-scrollbars/119709 "2007-11-13T16:58:23Z")

</div>

Greetings, I am using text\_field\_with\_auto\_complete to help narrow a long list of subject headings, about 10,000 in all. However, I wish to provide a scrollbar so that users can scroll through a list if there are too …

---

## [Maestro/detalle](https://www.ruby-forum.com/t/maestro-detalle/109637)

<div class="topic-metadata">

**Author:** [@william](https://www.ruby-forum.com/u/william)\
**Replies:** 5\
**Last updated:** [August 4, 2007, 10:15pm UTC](https://www.ruby-forum.com/t/maestro-detalle/109637 "2007-08-04T22:15:28Z")

</div>

buenos dias, compaÃ±eros. por favor me orientan como haga para manejar un formulario maestro/detalle, para ingreso de datos. me imagino que el padre va en un frame y los hijos en otro? gracias.

---

## [Method to prevent writing over a file](https://www.ruby-forum.com/t/method-to-prevent-writing-over-a-file/108974)

<div class="topic-metadata">

**Author:** [@mtnbiker](https://www.ruby-forum.com/u/mtnbiker)\
**Replies:** 5\
**Last updated:** [July 10, 2007, 3:11pm UTC](https://www.ruby-forum.com/t/method-to-prevent-writing-over-a-file/108974 "2007-07-10T15:11:34Z")

</div>

Coming from OS X, I’m used to protection to overwriting files. I have the need for such protection. Before I write it myself is there a standard method for this? I’d like it work like OS X where if a file of the same …

---

## [Rubyscript2exe on OS X](https://www.ruby-forum.com/t/rubyscript2exe-on-os-x/106787)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 5\
**Last updated:** [June 15, 2007, 3:16am UTC](https://www.ruby-forum.com/t/rubyscript2exe-on-os-x/106787 "2007-06-15T03:16:09Z")

</div>

Anyone using rubsyscript2exe on Mac OS X to generate standard Mac application bundles, or at the very least a standalone archive that can be deployed in an application bundle?

---

## [Radiant Issue Served by Litespeed 3.1](https://www.ruby-forum.com/t/radiant-issue-served-by-litespeed-3-1/90948)

<div class="topic-metadata">

**Author:** [@benni](https://www.ruby-forum.com/u/benni)\
**Replies:** 5\
**Last updated:** [April 4, 2007, 11:37am UTC](https://www.ruby-forum.com/t/radiant-issue-served-by-litespeed-3-1/90948 "2007-04-04T11:37:10Z")

</div>

Hi, I have the Radiant CMS running from a Litespeed 3.1 Webserver and the current url is http://my.slice.ip.address/admin/welcome which is good. Unfortunately there is no Admin Login screen, only this =\> Application …

---

## [Ruby18 vs. ruby](https://www.ruby-forum.com/t/ruby18-vs-ruby/90028)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [March 25, 2007, 9:57am UTC](https://www.ruby-forum.com/t/ruby18-vs-ruby/90028 "2007-03-25T09:57:37Z")

</div>

Hi, I am using the ruby-stable-snapshot on a more or less regualr basis on a Gentoo Linux system. I do not install ruby via Gentoo’s emerge mechanism. Suddenly all my ruby scripts stops to work. :slight\_smile: I not…

---

## [Help w/ errors.add\_to\_base between controller and model](https://www.ruby-forum.com/t/help-w-errors-add-to-base-between-controller-and-model/84645)

<div class="topic-metadata">

**Author:** [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Replies:** 5\
**Last updated:** [February 7, 2007, 12:33am UTC](https://www.ruby-forum.com/t/help-w-errors-add-to-base-between-controller-and-model/84645 "2007-02-07T00:33:32Z")

</div>

Help w/ errors.add\_to\_base between controller and model Hello, I'm having trouble in routing some errors between model and controller. The errors produced in the controller (invite\_controller.rb) are collected and…

---

## [Dojo and rails](https://www.ruby-forum.com/t/dojo-and-rails/76961)

<div class="topic-metadata">

**Author:** [@sergiborras](https://www.ruby-forum.com/u/sergiborras)\
**Replies:** 5\
**Last updated:** [December 12, 2005, 4:18pm UTC](https://www.ruby-forum.com/t/dojo-and-rails/76961 "2005-12-12T16:18:08Z")

</div>

Hi there, Does anyone now if Dojo can be used with Rails atm ? I am trying to include the Dojo Rich Text Editor in a rhtml with no success.

---

## [Url\_for\_file\_column nil](https://www.ruby-forum.com/t/url-for-file-column-nil/49636)

<div class="topic-metadata">

**Author:** [@beattie.mark](https://www.ruby-forum.com/u/beattie.mark)\
**Replies:** 5\
**Last updated:** [December 7, 2005, 4:04am UTC](https://www.ruby-forum.com/t/url-for-file-column-nil/49636 "2005-12-07T04:04:38Z")

</div>

Hi, Firstly, thanks to Sebastian K. for an excellent plugin! It works marvellously for uploading and resizing images, but I’m getting the dreaded url\_for\_file\_column returns nil error. Using: file\_column 0.3.1 Rai…

---

## [Build association and its size issue](https://www.ruby-forum.com/t/build-association-and-its-size-issue/233889)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [January 20, 2015, 1:17pm UTC](https://www.ruby-forum.com/t/build-association-and-its-size-issue/233889 "2015-01-20T13:17:56Z")

</div>

I wonder id it is normal behaviour that when building an assosiation ‘build’ method , the returned size of association array changes despite the objet is nt saved yet ? Here is a short exampe to illustrate that: clas…

---

## [Could Nginx redirected proxied traffic?](https://www.ruby-forum.com/t/could-nginx-redirected-proxied-traffic/232018)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [September 13, 2014, 12:46pm UTC](https://www.ruby-forum.com/t/could-nginx-redirected-proxied-traffic/232018 "2014-09-13T12:46:06Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have configuration like this : … snip … location /monitor { proxy\_pass http://backend:6800/; proxy\_redirect default; } … snip … Trying to access /monitor, it’…

---

## [\[ruby-trunk - Bug #7798\]\[Open\] 子スレッドを Process.daemon すると，その後メインスレッドが終了してもプロセスが終了しない](https://www.ruby-forum.com/t/ruby-trunk-bug-7798-open-process-daemon/229537)

<div class="topic-metadata">

**Author:** [@clicube\_SCubing\_Cub](https://www.ruby-forum.com/u/clicube_SCubing_Cub)\
**Replies:** 4\
**Last updated:** [February 8, 2013, 5:48am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-7798-open-process-daemon/229537 "2013-02-08T05:48:24Z")

</div>

Issue #7798 has been reported by clicube (Cubing Cube). Bug #7798: 子スレッドを Process.daemon すると，その後メインスレッドが終了してもプロセスが終了しない https://bugs.ruby-lang.org/issues/7798 Author: clicube (Cubing Cube) Status: Open Priority: No…

---

## [Postgres default values don't work with active record](https://www.ruby-forum.com/t/postgres-default-values-dont-work-with-active-record/210353)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 19, 2011, 2:04pm UTC](https://www.ruby-forum.com/t/postgres-default-values-dont-work-with-active-record/210353 "2011-10-19T14:04:29Z")

</div>

Activerecord sets the columns that are not specified to NULL. Postgres presumes that since your insert statement said to set the column to null you meant to set it null and ignores the default. Is there a way to tell…

---

## [Jruby 1.5.1 issue with jruby-openssl 0.7](https://www.ruby-forum.com/t/jruby-1-5-1-issue-with-jruby-openssl-0-7/192091)

<div class="topic-metadata">

**Author:** [@Sanel\_Z](https://www.ruby-forum.com/u/Sanel_Z)\
**Replies:** 4\
**Last updated:** [July 27, 2010, 5:17pm UTC](https://www.ruby-forum.com/t/jruby-1-5-1-issue-with-jruby-openssl-0-7/192091 "2010-07-27T17:17:56Z")

</div>

Hi guys, We have a larger Rails application happily run on jruby 1.4.0, and after some issues with sessions (session\[\] and flash\[\] get’s nil-ed between requests; any ideas why?), we did upgrade on 1.5.1 and issue is …

---

## [Deleting table data from staging table](https://www.ruby-forum.com/t/deleting-table-data-from-staging-table/174448)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 4\
**Last updated:** [August 27, 2009, 2:57pm UTC](https://www.ruby-forum.com/t/deleting-table-data-from-staging-table/174448 "2009-08-27T14:57:10Z")

</div>

Hello all, I’m using Ruby 1.8.6 and Rails 2.3.3. I’m new at Rails so bear with me, please. My application reads in a csv file to a staging (imports) table then compares the contents of the table to a main (projects) …

---

## [Implements the $arg\_encode\_\<name\> variables for get url encode value of \<name\> argument from request](https://www.ruby-forum.com/t/implements-the-arg-encode-name-variables-for-get-url-encode-value-of-name-argument-from-request/163873)

<div class="topic-metadata">

**Author:** [@Kirill\_ASKorinskiy](https://www.ruby-forum.com/u/Kirill_ASKorinskiy)\
**Replies:** 4\
**Last updated:** [March 25, 2009, 8:08pm UTC](https://www.ruby-forum.com/t/implements-the-arg-encode-name-variables-for-get-url-encode-value-of-name-argument-from-request/163873 "2009-03-25T20:08:56Z")

</div>

Raw value of arguments from request string can help for XSS. src/http/ngx\_http\_variables.c | 54 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/src/http/ngx\_h…

---

## [Add POSTARG support to rb\_scan\_args()](https://www.ruby-forum.com/t/add-postarg-support-to-rb-scan-args/160250)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 4\
**Last updated:** [February 16, 2009, 9:36am UTC](https://www.ruby-forum.com/t/add-postarg-support-to-rb-scan-args/160250 "2009-02-16T09:36:15Z")

</div>

ã€€rb\_scan\_args()ã‚’POSTARGå¯¾å¿œã«ã™ã‚‹ãƒ‘ãƒƒãƒã§ã™ã€‚ rb\_scan\_args(argc, argv, "11\*2", &first, &optional, &array, &penult, &last); ã®ã‚ˆã†ã«ã€ \* ã®å¾Œã«æ•°å­—ã‚’æŒ‡å®šã§ãã¾ã™ã€‚ ã€€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ã…

---

## [E-commerce in rails... esempi nel mondo reale?](https://www.ruby-forum.com/t/e-commerce-in-rails-esempi-nel-mondo-reale/152154)

<div class="topic-metadata">

**Author:** [@andrea\_longhi](https://www.ruby-forum.com/u/andrea_longhi)\
**Replies:** 4\
**Last updated:** [November 5, 2008, 11:16pm UTC](https://www.ruby-forum.com/t/e-commerce-in-rails-esempi-nel-mondo-reale/152154 "2008-11-05T23:16:29Z")

</div>

Ciao, volevo sapere se qualcuno conosce qualche sito di ecommerce realizzato in rails, giusto per avere qualche esempio concreto da portare ad un eventuale committente. Grazie! Andrea

---

## [NoMethodError in Classified#create nil object](https://www.ruby-forum.com/t/nomethoderror-in-classified-create-nil-object/89169)

<div class="topic-metadata">

**Author:** [@riottype](https://www.ruby-forum.com/u/riottype)\
**Replies:** 4\
**Last updated:** [June 27, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/nomethoderror-in-classified-create-nil-object/89169 "2008-06-27T18:41:52Z")

</div>

I’m following along the tutorials of a book (Rails Solutions: Ruby on Rails made easy) and I’ve come to a part that I can’t seem to figure out. I’m trying to implement validation for file uploads (make sure upload is …

---

## [Watir : Working in same session of IE](https://www.ruby-forum.com/t/watir-working-in-same-session-of-ie/136281)

<div class="topic-metadata">

**Author:** [@anukulsinghal](https://www.ruby-forum.com/u/anukulsinghal)\
**Replies:** 4\
**Last updated:** [April 30, 2008, 12:31pm UTC](https://www.ruby-forum.com/t/watir-working-in-same-session-of-ie/136281 "2008-04-30T12:31:58Z")

</div>

Hi, Actually am stuck in a problem. I am performing the following set of commands: require ‘watir’ ie = Watir::IE.new ie.goto(“http://www.google.com”) When I execute, it successfully opens a new browser with the co…

---

## [Net:: SSH slowness issues](https://www.ruby-forum.com/t/net-ssh-slowness-issues/196655)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 4\
**Last updated:** [April 26, 2008, 8:09am UTC](https://www.ruby-forum.com/t/net-ssh-slowness-issues/196655 "2008-04-26T08:09:43Z")

</div>

Guys I’m having a problem with net-ssh, its kinda taking too long to execute a command and give me the results. It takes around 40 seonds to do it. And I have 3-4 commands to run on the remote box. Is there any possi…

---

## [Scaffold en francais](https://www.ruby-forum.com/t/scaffold-en-francais/124025)

<div class="topic-metadata">

**Author:** [@pierreva](https://www.ruby-forum.com/u/pierreva)\
**Replies:** 4\
**Last updated:** [December 27, 2007, 6:54pm UTC](https://www.ruby-forum.com/t/scaffold-en-francais/124025 "2007-12-27T18:54:24Z")

</div>

Bonjour, Grâce à Rails 2.0, j’utilise beaucoup les resources Je fais souvent : ruby script/generate scaffold resource blabla… Donc mon scaffold est généré en anglais. Existe-t-il un moyen simple de le passer en fran…

---

## [RMagick, CentOS 5 64-bit, shared object cannot be dlopen()ed](https://www.ruby-forum.com/t/rmagick-centos-5-64-bit-shared-object-cannot-be-dlopen-ed/114025)

<div class="topic-metadata">

**Author:** [@rails.impaired](https://www.ruby-forum.com/u/rails.impaired)\
**Replies:** 4\
**Last updated:** [September 20, 2007, 11:39am UTC](https://www.ruby-forum.com/t/rmagick-centos-5-64-bit-shared-object-cannot-be-dlopen-ed/114025 "2007-09-20T11:39:41Z")

</div>

I have two servers. Both are 64-bit boxes. Development server is running Ubuntu 7.04 and the production server is running CentOS 5. My provider does not offer Ubuntu yet. I’m stuck with CentOS 5 64-bit I have RMag…

---

## [Cursor por defecto en un campo](https://www.ruby-forum.com/t/cursor-por-defecto-en-un-campo/113679)

<div class="topic-metadata">

**Author:** [@fernandosilva](https://www.ruby-forum.com/u/fernandosilva)\
**Replies:** 4\
**Last updated:** [September 3, 2007, 10:13pm UTC](https://www.ruby-forum.com/t/cursor-por-defecto-en-un-campo/113679 "2007-09-03T22:13:10Z")

</div>

Buenas Como podrÃ­a poner el cursor por defecto en el campo login al cargar la pagina? Existe algÃºn helper para esto? \<%= text\_field ‘user’, ‘login’, :class =\> “input” %\> un saludo y muchas gracias

---

## [Cygwin slow problem](https://www.ruby-forum.com/t/cygwin-slow-problem/92825)

<div class="topic-metadata">

**Author:** [@chrisfinne](https://www.ruby-forum.com/u/chrisfinne)\
**Replies:** 4\
**Last updated:** [April 25, 2007, 11:41am UTC](https://www.ruby-forum.com/t/cygwin-slow-problem/92825 "2007-04-25T11:41:43Z")

</div>

Hi, Being stuck in Windows at work, I installed rails on cygwin. However, when I type something like: script/generate or script/generate model the pc just churns and whirrs away and after about 2 minutes displays …

---

## [Some documents not found](https://www.ruby-forum.com/t/some-documents-not-found/69984)

<div class="topic-metadata">

**Author:** [@gtcaz](https://www.ruby-forum.com/u/gtcaz)\
**Replies:** 4\
**Last updated:** [September 26, 2006, 11:37pm UTC](https://www.ruby-forum.com/t/some-documents-not-found/69984 "2006-09-26T23:37:40Z")

</div>

I’m a ferret newbie, so hopefully I’m missing something simple :slight\_smile: I am using ferret to index data about 36,000 products from a MySQL database. The index has one document for each product, with these import…

---

## [Identity issues](https://www.ruby-forum.com/t/identity-issues/98246)

<div class="topic-metadata">

**Author:** [@Piers\_C](https://www.ruby-forum.com/u/Piers_C)\
**Replies:** 4\
**Last updated:** [July 17, 2006, 12:14am UTC](https://www.ruby-forum.com/t/identity-issues/98246 "2006-07-17T00:14:24Z")

</div>

I got slightly sidetracked on the way to the TRAC, but I’ve been thinking about identity and blogging. I really, really, really don’t want to have to add yet another login/password pair to a commenter’s keychain if I …

---

## [Svn problems](https://www.ruby-forum.com/t/svn-problems/93712)

<div class="topic-metadata">

**Author:** [@cedric](https://www.ruby-forum.com/u/cedric)\
**Replies:** 4\
**Last updated:** [April 7, 2006, 5:04pm UTC](https://www.ruby-forum.com/t/svn-problems/93712 "2006-04-07T17:04:16Z")

</div>

an error message comes when I’m doing ‘svn up’ Fetching external item into ‘vendor/rails’ svn: REPORT request failed on ‘/svn/rails/!svn/vcc/default’ svn: Cannot replace a directory from within Here are my svn info: …

---

## [Can't call my method? wrong number of arguments](https://www.ruby-forum.com/t/cant-call-my-method-wrong-number-of-arguments/244312)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [March 21, 2016, 4:52pm UTC](https://www.ruby-forum.com/t/cant-call-my-method-wrong-number-of-arguments/244312 "2016-03-21T16:52:05Z")

</div>

hey guys, i’m new to ruby but i can’t figure out what is wrong with my code. i get the error “rb:311:in \`test’: wrong number of arguments (0 for 1) (ArgumentError)” for this: def test date return\_test = nil return\_d…

---

## [Which SEO gem is best?](https://www.ruby-forum.com/t/which-seo-gem-is-best/223854)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [October 22, 2012, 4:06pm UTC](https://www.ruby-forum.com/t/which-seo-gem-is-best/223854 "2012-10-22T16:06:47Z")

</div>

Hi , which gem is best for SEO ? Thanks Ragards Fahim Babar Patel

---

## [Sendfile fails from livecd](https://www.ruby-forum.com/t/sendfile-fails-from-livecd/162212)

<div class="topic-metadata">

**Author:** [@J.pSLien](https://www.ruby-forum.com/u/J.pSLien)\
**Replies:** 1\
**Last updated:** [March 6, 2009, 8:32pm UTC](https://www.ruby-forum.com/t/sendfile-fails-from-livecd/162212 "2009-03-06T20:32:00Z")

</div>

My company makes an rails app that we serve using nginx. I’m trying to make a livecd that we can use distribute the app to customers. This has gone remarkably smoothly so far, with one small sticking point. When bo…

---

## [Open\_uri.rb -- 500 Internal Server Error](https://www.ruby-forum.com/t/open-uri-rb-500-internal-server-error/157973)

<div class="topic-metadata">

**Author:** [@vikas](https://www.ruby-forum.com/u/vikas)\
**Replies:** 1\
**Last updated:** [January 17, 2009, 1:02pm UTC](https://www.ruby-forum.com/t/open-uri-rb-500-internal-server-error/157973 "2009-01-17T13:02:29Z")

</div>

Hello to all, I am using ‘open-uri’ & ‘pp’ ruby library, to open url and gather some data from given web page. But it throws following error c:/ruby/lib/ruby/1.8/open-uri.rb:278:in open\_http': 500 Internal Server Erro…

---

## [Document Boost in acts\_as\_ferret?](https://www.ruby-forum.com/t/document-boost-in-acts-as-ferret/71868)

<div class="topic-metadata">

**Author:** [@humbucker](https://www.ruby-forum.com/u/humbucker)\
**Replies:** 1\
**Last updated:** [October 12, 2006, 10:50am UTC](https://www.ruby-forum.com/t/document-boost-in-acts-as-ferret/71868 "2006-10-12T10:50:53Z")

</div>

Is it possible to set a boost value for a document using acts\_as\_ferret (not field boost - document boost)?

---

## [Some basic search help](https://www.ruby-forum.com/t/some-basic-search-help/245147)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [November 21, 2016, 11:57am UTC](https://www.ruby-forum.com/t/some-basic-search-help/245147 "2016-11-21T11:57:47Z")

</div>

I’m looking to filter the logs messages going into pick out the location, store, operator and nonce. Nov 15 20:16:25 PROD SERVER: \[ERROR\] c.q.s.w.c.mycompanyControllerAdvice: logTraceId=f498cef6516543e1a70dc9bad5f73…

---

## [Missing callback : How to implement it](https://www.ruby-forum.com/t/missing-callback-how-to-implement-it/243509)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [November 24, 2015, 5:05pm UTC](https://www.ruby-forum.com/t/missing-callback-how-to-implement-it/243509 "2015-11-24T17:05:01Z")

</div>

Hi I’m running some old code, 6 months old approximately, and I’m running into a problem : /\[…\]/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gobject-introspection-3.0.7/lib/gobject-introspection/loader.rb:551:in \`i…

---

## [Weird understanding problem](https://www.ruby-forum.com/t/weird-understanding-problem/243313)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [September 18, 2015, 11:58am UTC](https://www.ruby-forum.com/t/weird-understanding-problem/243313 "2015-09-18T11:58:31Z")

</div>

Hello everyone, I just went some steps back to some “basics” of Ruby. When I read that everything is an object in Ruby, then i got confused by one little example: a = 3 =\> a is referencing to “number object 3” b = a …

---

## [Create mutiple row one time and save into database](https://www.ruby-forum.com/t/create-mutiple-row-one-time-and-save-into-database/233438)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [December 16, 2014, 12:08am UTC](https://www.ruby-forum.com/t/create-mutiple-row-one-time-and-save-into-database/233438 "2014-12-16T00:08:37Z")

</div>

{“utf8”=\>“✓”, “authenticity\_token”=\>“fB/ZNf3dnFz9OVa/h34xbNysN0AlxcIiPs=”, “f”=\>\[{“columns\_id”=\>“4”, “column\_value”=\>“rrr”, “users\_id”=\>“2”}, {“columns\_id”=\>“5”, “column\_value”=\>“ttt”, “users\_id”=\>“2”}\], “commit”…

---

## [Ruby Mechanize and do-if loops](https://www.ruby-forum.com/t/ruby-mechanize-and-do-if-loops/223389)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 2, 2012, 3:55pm UTC](https://www.ruby-forum.com/t/ruby-mechanize-and-do-if-loops/223389 "2012-10-02T15:55:59Z")

</div>

Hi all, This is probably pretty basic stuff, but I can’t seem to manage to get my head 'round it: I’m going through a number of webpages using mechanize. It is a database, with many pages and 10 links on each page. I…

---

## [Methods as arguments?](https://www.ruby-forum.com/t/methods-as-arguments/219852)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 8\
**Last updated:** [May 19, 2012, 8:38am UTC](https://www.ruby-forum.com/t/methods-as-arguments/219852 "2012-05-19T08:38:18Z")

</div>

Hi, I was experimenting with the arguments of the methods and I have a question: As I can pass a method as an argument to another method?, For example: def world print ‘world!’ end def aaa (string, method) print s…

---

## [Password encryption is not working](https://www.ruby-forum.com/t/password-encryption-is-not-working/216183)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 28, 2012, 10:22am UTC](https://www.ruby-forum.com/t/password-encryption-is-not-working/216183 "2012-01-28T10:22:19Z")

</div>

I am using require ‘digest/sha1’ to encrypt my password and save into database. During login it is showing the following error- undefined local variable or method \`encrypted\_password’ for #\<Signin:0x992c990 code: be…

---

## [Unable to open USRP-E100](https://www.ruby-forum.com/t/unable-to-open-usrp-e100/208849)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 29, 2011, 5:23pm UTC](https://www.ruby-forum.com/t/unable-to-open-usrp-e100/208849 "2011-06-29T17:23:59Z")

</div>

Hi, I recently got the USRP E100. Read the wiki page at http://ettus-apps.sourcerepo.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ. I decided to compile the latest version of UHD. But after following the steps listed …

---

## [Soliciting some help with inject method](https://www.ruby-forum.com/t/soliciting-some-help-with-inject-method/202622)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [February 2, 2011, 5:15pm UTC](https://www.ruby-forum.com/t/soliciting-some-help-with-inject-method/202622 "2011-02-02T17:15:43Z")

</div>

Rubysters, I think I am not wrong if I can solicit some knowledge. :slight\_smile: Can any one help modify this code? I have: array = \[\[‘a’, 1\], \[‘b’, 2\], \[‘a’,2\], \[‘c’,4\], \[‘d’, 5\], \[‘b’,4\]\] I want to create a hash …

---

## [Strange behaviour of console with non English symbols](https://www.ruby-forum.com/t/strange-behaviour-of-console-with-non-english-symbols/201023)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [December 29, 2010, 11:16am UTC](https://www.ruby-forum.com/t/strange-behaviour-of-console-with-non-english-symbols/201023 "2010-12-29T11:16:18Z")

</div>

Hi everyone, sorry for bad English. Can anybody ask why there is an error? require ‘shellwords’ a = \[‘ok\_привет’, ‘fail\_мистика’\] a.each do |s| touch #{s} cat #{s} tr -d '\\r' \< #{s} tr -d '\\r' \< #{s.shellescape} …

---

## ['net/ssh' error /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.23/lib/net/ssh/transport/session.rb:65:in \`i](https://www.ruby-forum.com/t/net-ssh-error-usr-lib-ruby-gems-1-8-gems-net-ssh-2-0-23-lib-net-ssh-transport-session-rbin-i/200852)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 3\
**Last updated:** [December 23, 2010, 4:20pm UTC](https://www.ruby-forum.com/t/net-ssh-error-usr-lib-ruby-gems-1-8-gems-net-ssh-2-0-23-lib-net-ssh-transport-session-rbin-i/200852 "2010-12-23T16:20:06Z")

</div>

Hi, I am trying to do ssh to multiple servers and get their versions using ruby Net::SSH When I assign a host name to a variable and used in Net::SSH it works fine server=“test.server.com” Net::SSH.start(server, US…

---

## [Open Source Contribution](https://www.ruby-forum.com/t/open-source-contribution/189516)

<div class="topic-metadata">

**Author:** [@Guilherme\_GuimarSSS](https://www.ruby-forum.com/u/Guilherme_GuimarSSS)\
**Replies:** 8\
**Last updated:** [June 3, 2010, 12:38pm UTC](https://www.ruby-forum.com/t/open-source-contribution/189516 "2010-06-03T12:38:49Z")

</div>

Hi. After some reading and coding samples i’m looking for a real ROR open- source project to contribute. Does anybody need help? Regards, Guilherme Guimarães

---

## [Easy Way to identify Partials](https://www.ruby-forum.com/t/easy-way-to-identify-partials/177134)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [October 16, 2009, 12:21pm UTC](https://www.ruby-forum.com/t/easy-way-to-identify-partials/177134 "2009-10-16T12:21:51Z")

</div>

Hey there, here we have a bunch of interns, so called marketing specialists and other folks just pushing out more and more layouts, views and partials. Now when theres a SEO wanting to change a link on page A to poi…

---

## [Array to Hash in 1.8.6 vs 1.8.7](https://www.ruby-forum.com/t/array-to-hash-in-1-8-6-vs-1-8-7/166675)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 3\
**Last updated:** [April 28, 2009, 3:43pm UTC](https://www.ruby-forum.com/t/array-to-hash-in-1-8-6-vs-1-8-7/166675 "2009-04-28T15:43:58Z")

</div>

I’m damn toast! My dev machine runs a manually compiled 1.8.7 version of Ruby. My server runs a Debian Etch with Ruby 1.8.6 version. From a string: 1:2\_5:6 I want to convert it to a hash: {“1” =\> “2”, “5” =\> “6”} O…

---

## [Una stupidata ma](https://www.ruby-forum.com/t/una-stupidata-ma/157709)

<div class="topic-metadata">

**Author:** [@mauro](https://www.ruby-forum.com/u/mauro)\
**Replies:** 8\
**Last updated:** [January 16, 2009, 3:12am UTC](https://www.ruby-forum.com/t/una-stupidata-ma/157709 "2009-01-16T03:12:05Z")

</div>

Ho due tabelle in relazione uno a molti: la prima: def self.up create\_table :sectors do |t| t.string :codice t.text :descrizione t.timestamps end la seconda: def self.up create\_table :categories do |t| t.refer…

---

## [Select\_tag id und name immer gleich](https://www.ruby-forum.com/t/select-tag-id-und-name-immer-gleich/144589)

<div class="topic-metadata">

**Author:** [@skorpions77](https://www.ruby-forum.com/u/skorpions77)\
**Replies:** 3\
**Last updated:** [July 31, 2008, 12:59pm UTC](https://www.ruby-forum.com/t/select-tag-id-und-name-immer-gleich/144589 "2008-07-31T12:59:54Z")

</div>

Hi, ist bei einem select\_tag die id und der Name immer gleich? Oder kann ich das auch unterscheidlich machen?

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

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