# Top

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

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

---

## [Syslog facility](https://www.ruby-forum.com/t/syslog-facility/113453)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 5\
**Last updated:** [September 2, 2007, 10:33pm UTC](https://www.ruby-forum.com/t/syslog-facility/113453 "2007-09-02T22:33:21Z")

</div>

Hi All, I am having trouble with pointing the syslog messages to a particular facility. Is this the right way to point it at facility local1: Syslog.open('name\_of\_prog', facility = Syslog::LOG\_LOCAL1) Syslog.log(Syslo…

---

## [Nokogiri::XML::Builder XML attribute ordering](https://www.ruby-forum.com/t/nokogiri-builder-xml-attribute-ordering/214956)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [December 19, 2011, 11:22pm UTC](https://www.ruby-forum.com/t/nokogiri-builder-xml-attribute-ordering/214956 "2011-12-19T23:22:15Z")

</div>

Hello, Just to get it out of the way, yes, I’ve searched the lists and yes, I am well aware that attribute ordering in XML elements shouldn’t matter. Additionally, yes, I am well aware of the Nokogiri mailing list, …

---

## [How to test a Rails 3 metal controller?](https://www.ruby-forum.com/t/how-to-test-a-rails-3-metal-controller/204821)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 24, 2011, 12:14pm UTC](https://www.ruby-forum.com/t/how-to-test-a-rails-3-metal-controller/204821 "2011-03-24T12:14:50Z")

</div>

Hi! I could not find an easy solution to this question: how can I properly test an Rails controller action? We were trying to run the following test: get :show, :id =\> 'hello' response.should redirect\_to("http://www.…

---

## [Abrir PDF en ruby](https://www.ruby-forum.com/t/abrir-pdf-en-ruby/167999)

<div class="topic-metadata">

**Author:** [@arycar](https://www.ruby-forum.com/u/arycar)\
**Replies:** 2\
**Last updated:** [May 15, 2009, 12:32am UTC](https://www.ruby-forum.com/t/abrir-pdf-en-ruby/167999 "2009-05-15T00:32:11Z")

</div>

Hola… Soy nuevo con el lenguaje de programacion RUBY… asi que no tengo mucha experiencia ya que lo comence la semana pasada… Bueno pues eso no es el punto… Tengo una pregunta… Estoy creando una aplicacion para gener…

---

## [Wrong number of arguments (0 for 1)](https://www.ruby-forum.com/t/wrong-number-of-arguments-0-for-1/118155)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 2\
**Last updated:** [October 24, 2007, 11:47am UTC](https://www.ruby-forum.com/t/wrong-number-of-arguments-0-for-1/118155 "2007-10-24T11:47:43Z")

</div>

Hi, When I am trying to update customer’s details (or even when trying to create a new customer) I get this error: ArgumentError in Admin/customerController#create wrong number of arguments (0 for 1) app/controllers…

---

## [Generate JS from RoR - strange delay with send\_data](https://www.ruby-forum.com/t/generate-js-from-ror-strange-delay-with-send-data/68441)

<div class="topic-metadata">

**Author:** [@viciu](https://www.ruby-forum.com/u/viciu)\
**Replies:** 2\
**Last updated:** [September 20, 2006, 5:49pm UTC](https://www.ruby-forum.com/t/generate-js-from-ror-strange-delay-with-send-data/68441 "2006-09-20T17:49:06Z")

</div>

Hi! I need to generate some JS from Ruby. This is no AJAX related stuff so RJS templates are not help to me. Also I want to not mix JS with HTML, so putting JS in .rhtml templates is no go for me. Currently I made so…

---

## [RSA Encryption Decryption](https://www.ruby-forum.com/t/rsa-encryption-decryption/58083)

<div class="topic-metadata">

**Author:** [@name\_pipe](https://www.ruby-forum.com/u/name_pipe)\
**Replies:** 2\
**Last updated:** [April 18, 2006, 11:36am UTC](https://www.ruby-forum.com/t/rsa-encryption-decryption/58083 "2006-04-18T11:36:10Z")

</div>

Hi, I would like to know how can we do encryption and decryption using public and private keys in ruby. Does ruby any RSA libraries for the same. A small example would be quite helpful. Thanks

---

## [GLError 1285](https://www.ruby-forum.com/t/glerror-1285/242864)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 6, 2015, 12:18am UTC](https://www.ruby-forum.com/t/glerror-1285/242864 "2015-08-06T00:18:58Z")

</div>

I have users of my simple\_ra application complaining of this: Traceback (most recent call last): File “/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/plotter/plotter\_base.py”, line 209, in \_on\_paint for fcn…

---

## [Wxgui issue with Windows version of GR-companion](https://www.ruby-forum.com/t/wxgui-issue-with-windows-version-of-gr-companion/246282)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [March 22, 2014, 9:57am UTC](https://www.ruby-forum.com/t/wxgui-issue-with-windows-version-of-gr-companion/246282 "2014-03-22T09:57:17Z")

</div>

Hello, I have managed to install gnuradio on a Win 8 and Win 7 machine and it seems like most of the block components in gnuradio-companion function correctly, except for the WX elements. When I include a WX block, l…

---

## [Renages](https://www.ruby-forum.com/t/renages/209010)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [July 5, 2011, 10:52pm UTC](https://www.ruby-forum.com/t/renages/209010 "2011-07-05T22:52:45Z")

</div>

All, I have a requirement to translate a time between 0000 and 2359 in to a single character ‘interval ID’ based on the time. For example, if the time is between 0000 and 0059, ‘0’ should be returned, if it’s between …

---

## [WEBrick won't use correct Ruby version with RVM](https://www.ruby-forum.com/t/webrick-wont-use-correct-ruby-version-with-rvm/186094)

<div class="topic-metadata">

**Author:** [@mikrogroove](https://www.ruby-forum.com/u/mikrogroove)\
**Replies:** 8\
**Last updated:** [April 26, 2011, 3:17pm UTC](https://www.ruby-forum.com/t/webrick-wont-use-correct-ruby-version-with-rvm/186094 "2011-04-26T15:17:22Z")

</div>

Ok, so I realised the hard way that 1.9.1 is just too close to the edge, especially in combination with Rails 3. I installed RVM and 1.8.7 which seems to work, but whenever I start WEBrick it still insists on using 1.…

---

## [How to index PDF](https://www.ruby-forum.com/t/how-to-index-pdf/145564)

<div class="topic-metadata">

**Author:** [@slum](https://www.ruby-forum.com/u/slum)\
**Replies:** 3\
**Last updated:** [September 26, 2008, 1:56pm UTC](https://www.ruby-forum.com/t/how-to-index-pdf/145564 "2008-09-26T13:56:21Z")

</div>

Hello, I’m actually trying to index PDF without success. Anyone could explain how does it works ? Thank you.

---

## [Check box value in array](https://www.ruby-forum.com/t/check-box-value-in-array/105063)

<div class="topic-metadata">

**Author:** [@amin](https://www.ruby-forum.com/u/amin)\
**Replies:** 3\
**Last updated:** [May 28, 2007, 2:01pm UTC](https://www.ruby-forum.com/t/check-box-value-in-array/105063 "2007-05-28T14:01:11Z")

</div>

Hi guys, I have a group of check box in rails page. check box Code as below: \<% for count in @total\_cellno %\> \<% end %\> I want to receive the selected value in my controller model. @selected\_box \<\< params\[“checkb…

---

## [Fwd: Morse Code (#121)](https://www.ruby-forum.com/t/fwd-morse-code-121/229112)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 8\
**Last updated:** [April 23, 2007, 3:42pm UTC](https://www.ruby-forum.com/t/fwd-morse-code-121/229112 "2007-04-23T15:42:12Z")

</div>

Begin forwarded message:

---

## [Inspect, eval & security](https://www.ruby-forum.com/t/inspect-eval-security/238256)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 31, 2013, 5:12am UTC](https://www.ruby-forum.com/t/inspect-eval-security/238256 "2013-12-31T05:12:58Z")

</div>

Hi guys ! :slight\_smile: Just a quick question… Is this code safe to execute ? eval(string.inspect) Thank you very much, Sébastien

---

## [How to get SQLite3, Cygwin and Rails to work together](https://www.ruby-forum.com/t/how-to-get-sqlite3-cygwin-and-rails-to-work-together/72758)

<div class="topic-metadata">

**Author:** [@chrislo](https://www.ruby-forum.com/u/chrislo)\
**Replies:** 4\
**Last updated:** [October 18, 2006, 9:27pm UTC](https://www.ruby-forum.com/t/how-to-get-sqlite3-cygwin-and-rails-to-work-together/72758 "2006-10-18T21:27:02Z")

</div>

I struggled for a while to get sqlite3 to work together well with Ruby and Ruby on Rails under Cygwin. I eventually figured it out, here is the procedure to save others some time : This procedure concerns the followin…

---

## [Trying to run "cap deploy" with my Rails app; ssh keys](https://www.ruby-forum.com/t/trying-to-run-cap-deploy-with-my-rails-app-ssh-keys/208587)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [June 23, 2011, 1:09am UTC](https://www.ruby-forum.com/t/trying-to-run-cap-deploy-with-my-rails-app-ssh-keys/208587 "2011-06-23T01:09:13Z")

</div>

I recently moved my ~/.ssh folder contents to my new laptop in the typical ~/.ssh folder. I was hoping to be able to use “cap deploy” on my new laptop to continue working with a Rails application I already had in pr…

---

## [Hash zu groÃŸ fÃ¼r Sortierung](https://www.ruby-forum.com/t/hash-zu-groay-fa-r-sortierung/159739)

<div class="topic-metadata">

**Author:** [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Replies:** 6\
**Last updated:** [February 7, 2009, 11:55pm UTC](https://www.ruby-forum.com/t/hash-zu-groay-fa-r-sortierung/159739 "2009-02-07T23:55:48Z")

</div>

Hallo, ich mÃ¶chte eine LÃ¤nderliste in einer Auswahlliste anbieten. Da gibt es von Rails ja schon einen schÃ¶nen Form Helper, leider brauche ich einen mit deutscher Darstellung und englischen Werten. Also erstelle i…

---

## [Mysql vs sqlite3... which is better for production?](https://www.ruby-forum.com/t/mysql-vs-sqlite3-which-is-better-for-production/146020)

<div class="topic-metadata">

**Author:** [@DCDCDC](https://www.ruby-forum.com/u/DCDCDC)\
**Replies:** 6\
**Last updated:** [August 17, 2008, 1:30pm UTC](https://www.ruby-forum.com/t/mysql-vs-sqlite3-which-is-better-for-production/146020 "2008-08-17T13:30:24Z")

</div>

Hi Everybody! Well I was gonna do a huge commercial project with nearly 2,000 data fields in PHP5 but the recent alliance between Zend Framework and Dojo means the planned integration won’t be available for a few mont…

---

## [Syntax highlighting for regexp](https://www.ruby-forum.com/t/syntax-highlighting-for-regexp/125873)

<div class="topic-metadata">

**Author:** [@Daniel\_DeLorme](https://www.ruby-forum.com/u/Daniel_DeLorme)\
**Replies:** 6\
**Last updated:** [January 13, 2008, 12:45pm UTC](https://www.ruby-forum.com/t/syntax-highlighting-for-regexp/125873 "2008-01-13T12:45:55Z")

</div>

We all now regular expressions can be difficult to read, but it seems to me like good syntax highlighting within a regexp would make the task much easier. Even something as simple as a different color for control char…

---

## [Deutsches Datum mit Funktion](https://www.ruby-forum.com/t/deutsches-datum-mit-funktion/125393)

<div class="topic-metadata">

**Author:** [@joecap](https://www.ruby-forum.com/u/joecap)\
**Replies:** 6\
**Last updated:** [January 10, 2008, 9:52pm UTC](https://www.ruby-forum.com/t/deutsches-datum-mit-funktion/125393 "2008-01-10T21:52:00Z")

</div>

Hallo allerseits, ich mÃ¶chte folgendes Feature mit einem Datumswert (Geburtsdatum/Projektstart, etc.) realisieren: DB/Model: Datentyp date View: Eingabefeld: Textfeld, kein Date-Helper oder Ã¤hnliches FunktionalitÃ¤…

---

## [Help with senior project](https://www.ruby-forum.com/t/help-with-senior-project/266681)

<div class="topic-metadata">

**Author:** [@Alex\_2025](https://www.ruby-forum.com/u/Alex_2025)\
**Replies:** 0\
**Last updated:** [November 19, 2024, 3:19pm UTC](https://www.ruby-forum.com/t/help-with-senior-project/266681 "2024-11-19T15:19:04Z")

</div>

Hi, I’m a high school senior who’s learning Ruby as my senior project. I have to conduct an interview with someone for my annotated bibliography who has experience with Ruby. if anyone with 2+ years of experience could a…

---

## [Re: All workers in 'D' state using sendfile](https://www.ruby-forum.com/t/re-all-workers-in-d-state-using-sendfile/235243)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [June 10, 2013, 1:57pm UTC](https://www.ruby-forum.com/t/re-all-workers-in-d-state-using-sendfile/235243 "2013-06-10T13:57:53Z")

</div>

Hi, I am facing the same exact issue as explained by Drew, is there any working solution to tune nginx for higher throughput? or how to deal with sleeping D state nginx processes ? i can post my server specs and ngin…

---

## [Instalation problem](https://www.ruby-forum.com/t/instalation-problem/226769)

<div class="topic-metadata">

**Author:** [@winkel](https://www.ruby-forum.com/u/winkel)\
**Replies:** 7\
**Last updated:** [February 21, 2013, 10:44pm UTC](https://www.ruby-forum.com/t/instalation-problem/226769 "2013-02-21T22:44:41Z")

</div>

HI!! I’m a complete newby and I’m trying to follow a tutorial on learning ruby on rails. I am on a new mac and require an updated version of ruby to follow the tutorial. Everything I’ve read has pointed me towards do…

---

## [Getting an unwanted exception from selenium-webdriver](https://www.ruby-forum.com/t/getting-an-unwanted-exception-from-selenium-webdriver/229295)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 7\
**Last updated:** [January 12, 2013, 8:16pm UTC](https://www.ruby-forum.com/t/getting-an-unwanted-exception-from-selenium-webdriver/229295 "2013-01-12T20:16:29Z")

</div>

I am using selenium-webdriver to automate web browser related tasks.But when i did the following getting a chunk of exception as below. Why so,can you tell me? irb(main):001:0\> require "selenium-webdriver" =\> true irb…

---

## [Generar PDF en ROR](https://www.ruby-forum.com/t/generar-pdf-en-ror/167081)

<div class="topic-metadata">

**Author:** [@arevert](https://www.ruby-forum.com/u/arevert)\
**Replies:** 7\
**Last updated:** [May 4, 2009, 8:17am UTC](https://www.ruby-forum.com/t/generar-pdf-en-ror/167081 "2009-05-04T08:17:54Z")

</div>

Buenas… Soy novato en esto de ROR y estoy creando una aplicaciÃ³n del estilo ‘TODO’ pero para gestionar un grupo de personas y con diversos niveles. Ya he generando las vistas necesarias para que cada usuario pueda ve…

---

## [Adding widgets to glade generated interfaces via code](https://www.ruby-forum.com/t/adding-widgets-to-glade-generated-interfaces-via-code/131008)

<div class="topic-metadata">

**Author:** [@markthomas](https://www.ruby-forum.com/u/markthomas)\
**Replies:** 7\
**Last updated:** [March 5, 2008, 6:07pm UTC](https://www.ruby-forum.com/t/adding-widgets-to-glade-generated-interfaces-via-code/131008 "2008-03-05T18:07:09Z")

</div>

I have an interface that I created in Glade3. I’ve used ruby-glade-create-template to create my initial code file. In the glade template I made a horizontal box with one cell which I named gl\_box. I my code I’ve since…

---

## [Woes of read-the-code documentation](https://www.ruby-forum.com/t/woes-of-read-the-code-documentation/125094)

<div class="topic-metadata">

**Author:** [@Mario\_TSL](https://www.ruby-forum.com/u/Mario_TSL)\
**Replies:** 7\
**Last updated:** [February 1, 2008, 9:04pm UTC](https://www.ruby-forum.com/t/woes-of-read-the-code-documentation/125094 "2008-02-01T21:04:42Z")

</div>

Recently I ran into an terrible bug. While working in my Radiant site on my local machine and navigating thru my Radiant site, suddenly the after one click too many the styling of the site went away. After a few min…

---

## [Mongrel CPU Usage](https://www.ruby-forum.com/t/mongrel-cpu-usage/102678)

<div class="topic-metadata">

**Author:** [@glenn](https://www.ruby-forum.com/u/glenn)\
**Replies:** 7\
**Last updated:** [February 10, 2007, 2:17pm UTC](https://www.ruby-forum.com/t/mongrel-cpu-usage/102678 "2007-02-10T14:17:12Z")

</div>

Hi Just wondering whats reasonable to expect in terms of mongrels CPU usage. I’ve established an app with 1 mongrel instance on a debian etch box. This process idles (yes idles) on 10% - 20% - this means say I instal…

---

## [AJAX/RJS Updating of Table Rows](https://www.ruby-forum.com/t/ajax-rjs-updating-of-table-rows/58310)

<div class="topic-metadata">

**Author:** [@nicholas-henry](https://www.ruby-forum.com/u/nicholas-henry)\
**Replies:** 7\
**Last updated:** [April 20, 2006, 5:05pm UTC](https://www.ruby-forum.com/t/ajax-rjs-updating-of-table-rows/58310 "2006-04-20T17:05:28Z")

</div>

I’m trying to update a table row (i.e. replace a ) using AJAX/RJS but of course this cannot be done in IE (works fine in Firefox). I have googled but have not found any solutions, only a lot of discussion. Does anyon…

---

## [Select vs. select\_tag](https://www.ruby-forum.com/t/select-vs-select-tag/52795)

<div class="topic-metadata">

**Author:** [@dmarkow](https://www.ruby-forum.com/u/dmarkow)\
**Replies:** 2\
**Last updated:** [January 19, 2006, 6:54pm UTC](https://www.ruby-forum.com/t/select-vs-select-tag/52795 "2006-01-19T18:54:50Z")

</div>

Rails mailing list removed\_email\_address@domain.invalid http://lists.rubyonrails.org/mailman/listinfo/rails

---

## [Real array via has\_many](https://www.ruby-forum.com/t/real-array-via-has-many/244693)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [May 28, 2016, 9:41am UTC](https://www.ruby-forum.com/t/real-array-via-has-many/244693 "2016-05-28T09:41:11Z")

</div>

The way to implement arrays in ActiveRecord is via has\_many. But, normally Ruby arrays keep the order of elements, while has\_many do not. This is not just a matter of “order by” clause. At every update one needs to i…

---

## [Having trouble with named\_scopes for my view](https://www.ruby-forum.com/t/having-trouble-with-named-scopes-for-my-view/244241)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [March 11, 2016, 5:38pm UTC](https://www.ruby-forum.com/t/having-trouble-with-named-scopes-for-my-view/244241 "2016-03-11T17:38:45Z")

</div>

In my articles model, I created a scope that links categories to their respective articles posts. When I use the rails console, the method works perfectly when I query the db. article.rb scope :category\_technology, -\>…

---

## [Dynamic loop in a hash](https://www.ruby-forum.com/t/dynamic-loop-in-a-hash/221905)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 4, 2012, 3:24am UTC](https://www.ruby-forum.com/t/dynamic-loop-in-a-hash/221905 "2012-08-04T03:24:36Z")

</div>

I’m trying to create a dynamic loop within the hash @data below and can’t really seem to figure it out. The array within the hash has to be dynamic i:e the day number has to be generated by a loop either while or unti…

---

## [A strange question involving costas loop](https://www.ruby-forum.com/t/a-strange-question-involving-costas-loop/182911)

<div class="topic-metadata">

**Author:** [@Mir\_MSAli](https://www.ruby-forum.com/u/Mir_MSAli)\
**Replies:** 5\
**Last updated:** [February 5, 2010, 3:58am UTC](https://www.ruby-forum.com/t/a-strange-question-involving-costas-loop/182911 "2010-02-05T03:58:06Z")

</div>

Hi, What is expected if I input a costas loop block with a complex sine wave signal? Will the Costas track the sine and give me a baseband output containing nothing?

---

## [Using route helper returns undefined method](https://www.ruby-forum.com/t/using-route-helper-returns-undefined-method/203515)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 22, 2011, 8:03pm UTC](https://www.ruby-forum.com/t/using-route-helper-returns-undefined-method/203515 "2011-02-22T20:03:28Z")

</div>

Hey all, I have this in routes: resources :cocore do collection do get :cocoreim end end I have this in ccore controller: class CoController \< ApplicationController def index end def cocoreim render ‘cocoreim…

---

## [Threading Rails](https://www.ruby-forum.com/t/threading-rails/147029)

<div class="topic-metadata">

**Author:** [@Parker\_T](https://www.ruby-forum.com/u/Parker_T)\
**Replies:** 3\
**Last updated:** [August 28, 2008, 4:01am UTC](https://www.ruby-forum.com/t/threading-rails/147029 "2008-08-28T04:01:00Z")

</div>

Hey, We (Pivotal Labs) have bee experimenting with Mongrel and Rails Edge to see what happens if we remove the mutex around the dispatch to Rails, our goal being to reduce memory usage in virtualized environments whe…

---

## [Eager loading multi-level belongs\_to](https://www.ruby-forum.com/t/eager-loading-multi-level-belongs-to/137934)

<div class="topic-metadata">

**Author:** [@nanosk](https://www.ruby-forum.com/u/nanosk)\
**Replies:** 3\
**Last updated:** [May 22, 2008, 11:40am UTC](https://www.ruby-forum.com/t/eager-loading-multi-level-belongs-to/137934 "2008-05-22T11:40:15Z")

</div>

Hi, I am working on a new project (Rails 2.0.2) and this is driving me nuts. I would appreciate any help! I have the following classes: class Nation \< ActiveRecord::Base has\_many :states end class State \< ActiveRe…

---

## [Gets and chomp issue ? (newbie)](https://www.ruby-forum.com/t/gets-and-chomp-issue-newbie/260243)

<div class="topic-metadata">

**Author:** [@almokhtar](https://www.ruby-forum.com/u/almokhtar)\
**Replies:** 4\
**Last updated:** [September 9, 2020, 2:02pm UTC](https://www.ruby-forum.com/t/gets-and-chomp-issue-newbie/260243 "2020-09-09T14:02:04Z")

</div>

Hello folks, i’m learning ruby and i’m trying to keep code running after getting inputs from user how is that ? this is my code : begin puts '---------please enter database name---------' database = gets puts '-…

---

## [RJS error: TypeError: element is null](https://www.ruby-forum.com/t/rjs-error-typeerror-element-is-null/185354)

<div class="topic-metadata">

**Author:** [@salil](https://www.ruby-forum.com/u/salil)\
**Replies:** 4\
**Last updated:** [March 19, 2010, 8:04am UTC](https://www.ruby-forum.com/t/rjs-error-typeerror-element-is-null/185354 "2010-03-19T08:04:59Z")

</div>

Hi All, I got RJS error: TypeError: element is null while using ajax. I used in view \<%= periodically\_call\_remote(:url=\>{:action=\>‘get\_user\_list’, :id=\>‘1’}, :frequency =\> ‘5’) %\> in controller render :update do…

---

## [Ideas why this rake task isn't saving one of my models?](https://www.ruby-forum.com/t/ideas-why-this-rake-task-isnt-saving-one-of-my-models/171988)

<div class="topic-metadata">

**Author:** [@rick](https://www.ruby-forum.com/u/rick)\
**Replies:** 4\
**Last updated:** [July 13, 2009, 4:17am UTC](https://www.ruby-forum.com/t/ideas-why-this-rake-task-isnt-saving-one-of-my-models/171988 "2009-07-13T04:17:54Z")

</div>

Newbie here working on an application that has a “Match” model and each Match can have some “Playergame” models. The rails apps is actually working, but I needed to now import some initial data from a csv file, so I b…

---

## [Debugging a TCPSocket.open timeout](https://www.ruby-forum.com/t/debugging-a-tcpsocket-open-timeout/138169)

<div class="topic-metadata">

**Author:** [@student](https://www.ruby-forum.com/u/student)\
**Replies:** 4\
**Last updated:** [May 20, 2008, 9:17pm UTC](https://www.ruby-forum.com/t/debugging-a-tcpsocket-open-timeout/138169 "2008-05-20T21:17:24Z")

</div>

I’m trying to do an IMAP connection. My first target is gmail: Net::IMAP.new(“imap.gmail.com”, 143) goes walkabout on line 886: TCPSocket.open(“imap.gmail.com”, 143) AT&T swears they are not port blocking. My syste…

---

## [Ruby classes and objects from XML](https://www.ruby-forum.com/t/ruby-classes-and-objects-from-xml/81047)

<div class="topic-metadata">

**Author:** [@Imobach\_GonzSSSSlez](https://www.ruby-forum.com/u/Imobach_GonzSSSSlez)\
**Replies:** 4\
**Last updated:** [January 3, 2007, 12:05pm UTC](https://www.ruby-forum.com/t/ruby-classes-and-objects-from-xml/81047 "2007-01-03T12:05:59Z")

</div>

Hi all, I have an XML file generated from TaskJuggler\[1\] and I’d like to have the objects described in that file (Projects, Resources, Tasks and Bookings) available as Ruby classes and objects, so I can write reports…

---

## [Doing chris pine learn to program - chapter 7 challenge feedback](https://www.ruby-forum.com/t/doing-chris-pine-learn-to-program-chapter-7-challenge-feedback/236199)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [August 14, 2013, 6:47pm UTC](https://www.ruby-forum.com/t/doing-chris-pine-learn-to-program-chapter-7-challenge-feedback/236199 "2013-08-14T18:47:41Z")

</div>

Hi, I’m totally new to ruby and web development (with only html/css/javascript and some php experience). I want to get into RoR development but would like to get a good understanding of ruby before doing railstutorial…

---

## [How to overwrite devise user session attributes?](https://www.ruby-forum.com/t/how-to-overwrite-devise-user-session-attributes/223090)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [September 22, 2012, 4:34pm UTC](https://www.ruby-forum.com/t/how-to-overwrite-devise-user-session-attributes/223090 "2012-09-22T16:34:43Z")

</div>

I’m using devise for authentication: In my user model I’ve do: def name “#{first\_name} #{last\_name}” end to have a name method. After signed in successfully I can use current\_user.name. I want to overwrite name me…

---

## [Oggetti "composti"](https://www.ruby-forum.com/t/oggetti-composti/226257)

<div class="topic-metadata">

**Author:** [@silviodel](https://www.ruby-forum.com/u/silviodel)\
**Replies:** 6\
**Last updated:** [December 29, 2011, 8:57pm UTC](https://www.ruby-forum.com/t/oggetti-composti/226257 "2011-12-29T20:57:58Z")

</div>

piano piano sto leggendo il libro agile web development with rails ma mi pare di allontanarmi sempre più da quello che dovrei fare :frowning: tra partial e simboli mi sto perdendo e non riesco neanche a fare (beh a me…

---

## [Champ recherche sur texte avec sphinx](https://www.ruby-forum.com/t/champ-recherche-sur-texte-avec-sphinx/182279)

<div class="topic-metadata">

**Author:** [@trankh](https://www.ruby-forum.com/u/trankh)\
**Replies:** 6\
**Last updated:** [January 26, 2010, 12:40pm UTC](https://www.ruby-forum.com/t/champ-recherche-sur-texte-avec-sphinx/182279 "2010-01-26T12:40:57Z")

</div>

Bonjour, j’ai installé Rails 2.3.4 sur Mas OS X (Snow leopard) avec MAMP pour mysql. Tout marche bien. J’ai installé Sphinx en téléchargeant la source Sphinx 0.9.9-rc2 puis thinking-sphinx-1.3.14. J’ai une objet …

---

## [Con o sin Rails](https://www.ruby-forum.com/t/con-o-sin-rails/164779)

<div class="topic-metadata">

**Author:** [@Jordi\_VSAlvarez](https://www.ruby-forum.com/u/Jordi_VSAlvarez)\
**Replies:** 6\
**Last updated:** [April 21, 2009, 11:35pm UTC](https://www.ruby-forum.com/t/con-o-sin-rails/164779 "2009-04-21T23:35:05Z")

</div>

Buenas, Estoy desarrollando una aplicación y me encuentro en un dilema de “optimización”. La aplicación se basa en datos extraídos de una API, así que hay que extraer los de cada usuario y guardarlos en la base de da…

---

## [Exiting ri on a mac terminal](https://www.ruby-forum.com/t/exiting-ri-on-a-mac-terminal/149352)

<div class="topic-metadata">

**Author:** [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Replies:** 6\
**Last updated:** [September 24, 2008, 3:57am UTC](https://www.ruby-forum.com/t/exiting-ri-on-a-mac-terminal/149352 "2008-09-24T03:57:19Z")

</div>

Hi, I’ve been avoiding using ri for my docs because when I type it I can’t seem to exit out of it without closing terminal. I’ve tried all the usual suspects like ctrl-c, ctrl-d, esc. Any ideas on what I might be do…

---

## [Layout dei progetti ruby](https://www.ruby-forum.com/t/layout-dei-progetti-ruby/223198)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [September 26, 2012, 8:02pm UTC](https://www.ruby-forum.com/t/layout-dei-progetti-ruby/223198 "2012-09-26T20:02:21Z")

</div>

Buongiorno a tutti Esistono delle linee guida da seguire per impostare un progetto ruby (in particolare sinatra)? Quello che intendo ci sono convenzioni che invitano a mettere il codice in una certa cartella (ad esem…

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

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