# Top

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

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

---

## [How to configure rails to use mysql by default (not sqlite3)](https://www.ruby-forum.com/t/how-to-configure-rails-to-use-mysql-by-default-not-sqlite3/192624)

<div class="topic-metadata">

**Author:** [@reivilo](https://www.ruby-forum.com/u/reivilo)\
**Replies:** 8\
**Last updated:** [August 5, 2010, 5:21pm UTC](https://www.ruby-forum.com/t/how-to-configure-rails-to-use-mysql-by-default-not-sqlite3/192624 "2010-08-05T17:21:58Z")

</div>

Hello, I am running Mac OS X 10.6.4 and have installed the following: ruby-1.9.1-p429 (64 bits, I believe!) RubyGems 1.3.7 Rails 2.3.8 MySQL 5.1.49 (64 bits) I am now getting an error because sqlite3 is not install…

---

## [How to sort this array](https://www.ruby-forum.com/t/how-to-sort-this-array/152182)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 8\
**Last updated:** [October 31, 2008, 2:24am UTC](https://www.ruby-forum.com/t/how-to-sort-this-array/152182 "2008-10-31T02:24:56Z")

</div>

Hi, I have an array containing files names. How do I sort them so that I can get the expected results? Thanks, Li ############# files=\[ “c:/ruby/self/2004/20.txt”, “c:/ruby/self/2004/3.txt”, “c:/ruby/self/2004/2…

---

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

<div class="topic-metadata">

**Author:** [@vchav](https://www.ruby-forum.com/u/vchav)\
**Replies:** 8\
**Last updated:** [July 12, 2008, 12:09am UTC](https://www.ruby-forum.com/t/simple-module-question/142793 "2008-07-12T00:09:45Z")

</div>

Hi, I just want to make a simple module which get uploaded image to a directory with a custom name. All things seem to be good but ngx\_http\_read\_client\_request\_body create local image with the form header (filename=“…

---

## [\[rails 2\] pluralizzazione](https://www.ruby-forum.com/t/rails-2-pluralizzazione/132885)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 8\
**Last updated:** [April 18, 2008, 10:27am UTC](https://www.ruby-forum.com/t/rails-2-pluralizzazione/132885 "2008-04-18T10:27:10Z")

</div>

Ciao! Ho un problema di pluralizzazione. Vorrei creare una tabella ‘concerti’, solo che creando il modello ‘Concerto’, rails mi fa una tabella ‘concertos’. Tra l’altro poi ho bisogno che la cosa venga rispettata anche…

---

## [Consiglio: dati attraverso i controller](https://www.ruby-forum.com/t/consiglio-dati-attraverso-i-controller/123624)

<div class="topic-metadata">

**Author:** [@enzo\_ferro](https://www.ruby-forum.com/u/enzo_ferro)\
**Replies:** 8\
**Last updated:** [December 31, 2007, 4:15pm UTC](https://www.ruby-forum.com/t/consiglio-dati-attraverso-i-controller/123624 "2007-12-31T16:15:58Z")

</div>

Ciao a tutti, scusate il Subject un pÃ² incompresibile ma non sapevo come spiegarmi. Avrei bisogno di un consiglio. Nella mia applicazione ROR al momento del login, che Ã¨ sempre la prima pagina che viene visualizzat…

---

## [Proxying junebug through Apache](https://www.ruby-forum.com/t/proxying-junebug-through-apache/114418)

<div class="topic-metadata">

**Author:** [@n1c](https://www.ruby-forum.com/u/n1c)\
**Replies:** 8\
**Last updated:** [September 12, 2007, 7:59pm UTC](https://www.ruby-forum.com/t/proxying-junebug-through-apache/114418 "2007-09-12T19:59:41Z")

</div>

I’m trying to configure Junebug to be served through Apache following the instructions at http://www.junebugwiki.com/Junebug\_Installation. The only change I’ve made from the std Apache config is to serve the wiki on p…

---

## [Trollop 1.1 released](https://www.ruby-forum.com/t/trollop-1-1-released/83967)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 8\
**Last updated:** [January 31, 2007, 8:40pm UTC](https://www.ruby-forum.com/t/trollop-1-1-released/83967 "2007-01-31T20:40:00Z")

</div>

Trollop version 1.1 has been released! http://trollop.rubyforge.org Trollop is YAFCLAP — yet another fine commandline argument processing library for Ruby. Trollop is designed to provide the maximal amount of GNU-sty…

---

## [Problems installing postgres in Ruby](https://www.ruby-forum.com/t/problems-installing-postgres-in-ruby/70021)

<div class="topic-metadata">

**Author:** [@Torkel\_M](https://www.ruby-forum.com/u/Torkel_M)\
**Replies:** 8\
**Last updated:** [October 7, 2006, 10:03am UTC](https://www.ruby-forum.com/t/problems-installing-postgres-in-ruby/70021 "2006-10-07T10:03:49Z")

</div>

Hi, I got some problems getting the postgres installed in Ruby. This is the output I get: gem install postgres Building native extensions. This could take a while… ruby extconf.rb install postgres checking for cygw…

---

## [User Account Setup - Multiple OS's](https://www.ruby-forum.com/t/user-account-setup-multiple-oss/61119)

<div class="topic-metadata">

**Author:** [@Paul\_DSKraus](https://www.ruby-forum.com/u/Paul_DSKraus)\
**Replies:** 8\
**Last updated:** [May 23, 2006, 3:09pm UTC](https://www.ruby-forum.com/t/user-account-setup-multiple-oss/61119 "2006-05-23T15:09:18Z")

</div>

I am learning ruby and have a background in perl. As my first project and to help me get my head around ruby I want to create a useradmin script that will let me do the following. Remotely create a domain user on a …

---

## [My coding style](https://www.ruby-forum.com/t/my-coding-style/53222)

<div class="topic-metadata">

**Author:** [@dirk](https://www.ruby-forum.com/u/dirk)\
**Replies:** 8\
**Last updated:** [February 13, 2006, 3:14am UTC](https://www.ruby-forum.com/t/my-coding-style/53222 "2006-02-13T03:14:04Z")

</div>

hi all, i was wondering if my rubyness has increased above the ‘total newbie’-level… so below is some code in my coding style, can you give comments on how it looks and how effective it is. greetings Dirk. def fin…

---

## [Glimmer DSL for SWT 4.28.0.0](https://www.ruby-forum.com/t/glimmer-dsl-for-swt-4-28-0-0/264106)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [July 14, 2023, 8:32pm UTC](https://www.ruby-forum.com/t/glimmer-dsl-for-swt-4-28-0-0/264106 "2023-07-14T20:32:06Z")

</div>

Glimmer DSL for SWT 4.28.0.0 (JRuby Desktop Development Cross-Platform Native GUI Framework) is the quarterly major release that happens after a new version of Eclipse SWT (Standard Widget Toolkit) is released. It is wra…

---

## [Buscamos un Full-stack Ruby on Rails Developer para nuestro startup en Zurich](https://www.ruby-forum.com/t/buscamos-un-full-stack-ruby-on-rails-developer-para-nuestro-startup-en-zurich/239385)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [February 24, 2014, 3:04pm UTC](https://www.ruby-forum.com/t/buscamos-un-full-stack-ruby-on-rails-developer-para-nuestro-startup-en-zurich/239385 "2014-02-24T15:04:56Z")

</div>

RECOMY is un ‘startup’ Suizo cuya ambición es de intentar cambiar el mercado de empleo online. Vuestro perfil: Motivado de trabajar para un ‘startup’ Disponible para trabajar full-time Muy buenos conocimientos de Rub…

---

## [Mruby faster than ruby 2.0 and jruby?](https://www.ruby-forum.com/t/mruby-faster-than-ruby-2-0-and-jruby/239244)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [February 20, 2014, 7:36pm UTC](https://www.ruby-forum.com/t/mruby-faster-than-ruby-2-0-and-jruby/239244 "2014-02-20T19:36:38Z")

</div>

hello, trying this stupid code, def a(p,j) i=0 while i\<1000 p+=j\*(j-1)(j-2)(j-3)(j-4)(j-5)(j-6)(j-7)(j-8)(j-9) i+=1 end p end def b(b) starttime=Time.now if b puts(“start”) if b p=0 j=10 while j\<10000 p=a(…

---

## [How to view Nginx wiki history?](https://www.ruby-forum.com/t/how-to-view-nginx-wiki-history/224211)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 9, 2012, 4:09am UTC](https://www.ruby-forum.com/t/how-to-view-nginx-wiki-history/224211 "2012-11-09T04:09:36Z")

</div>

For example, this page: http://wiki.nginx.org/WordPress In the Google cache: http://webcache.googleusercontent.com/search?q=cache:\_fqHWtIaxmsJ:wiki.nginx.org/WordPress+&cd=1&hl=zh-CN&ct=clnk It contains the following …

---

## [Nginx Server : Desired Domain Name on Local Host](https://www.ruby-forum.com/t/nginx-server-desired-domain-name-on-local-host/220681)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 16, 2012, 7:32pm UTC](https://www.ruby-forum.com/t/nginx-server-desired-domain-name-on-local-host/220681 "2012-06-16T19:32:21Z")

</div>

Hi, I’m on Fedora 16 with nginx installed using yum. /etc/nginx/conf.d contains : default.conf ssl.conf virtual.conf /etc/init.d/ contains : nginx (to start,stop etc server) /usr/share/nginx …

---

## [Nginx redis, select database not working?](https://www.ruby-forum.com/t/nginx-redis-select-database-not-working/207862)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 8, 2011, 3:50am UTC](https://www.ruby-forum.com/t/nginx-redis-select-database-not-working/207862 "2011-06-08T03:50:27Z")

</div>

I’m having problem with redis module: HTTP Redis | NGINX (version 0.32 downloaded from mirror at GitHub - elcuervo/nginx\_http\_redis: Mirror from wiki.nginx.org) As I tried, variable $redis\_db is never used and result …

---

## [FileUtils writing to stderr](https://www.ruby-forum.com/t/fileutils-writing-to-stderr/202201)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 25, 2011, 12:44pm UTC](https://www.ruby-forum.com/t/fileutils-writing-to-stderr/202201 "2011-01-25T12:44:22Z")

</div>

Hi there, I’m having a few issues with FileUtils writing stuff to stderr when no error has occurred. For example I might have the following simple Rakefile: require ‘rake’ task :clean do rm\_rf ‘test’ end When I r…

---

## [\#{} in xpath](https://www.ruby-forum.com/t/in-xpath/194852)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 3\
**Last updated:** [September 13, 2010, 7:15am UTC](https://www.ruby-forum.com/t/in-xpath/194852 "2010-09-13T07:15:59Z")

</div>

code1 data=doc.xpath(’.//small//span\[@id=“yfs\_t10\_aacc”\]’) puts data.text code2 str=“aacc” data=doc.xpath(’.//small//span\[@id=“yfs\_t10\_#{str}”\]’) puts data.text code1 can work,code2 can’t,would you mind to tell me…

---

## ["ORA-12154: TNS:..." error after successful oracle connection](https://www.ruby-forum.com/t/ora-12154-tns-error-after-successful-oracle-connection/187699)

<div class="topic-metadata">

**Author:** [@kimda](https://www.ruby-forum.com/u/kimda)\
**Replies:** 3\
**Last updated:** [April 28, 2010, 5:03am UTC](https://www.ruby-forum.com/t/ora-12154-tns-error-after-successful-oracle-connection/187699 "2010-04-28T05:03:06Z")

</div>

Hi, After a few days of struggling, I was able to run this command successfully. ruby -r oci8 -e “OCI8.new(‘xxx\_dba’, ‘xxx’, ‘//xxxx:1521/ xxxxx.xxx.org’).exec(‘SELECT 1 from dual’) {|r| puts r.join}” I got “1.0” as…

---

## [Cannot find header-files](https://www.ruby-forum.com/t/cannot-find-header-files/187313)

<div class="topic-metadata">

**Author:** [@mike343](https://www.ruby-forum.com/u/mike343)\
**Replies:** 3\
**Last updated:** [April 21, 2010, 7:03pm UTC](https://www.ruby-forum.com/t/cannot-find-header-files/187313 "2010-04-21T19:03:55Z")

</div>

I am working here on Solaris and i have ruby-installation. One installation is local, self-compiled and with that version everything is working fine. I also have a system-installation and with that ruby-version i cann…

---

## [Net/ssh & send\_data](https://www.ruby-forum.com/t/net-ssh-send-data/184634)

<div class="topic-metadata">

**Author:** [@Dawa\_Ometto](https://www.ruby-forum.com/u/Dawa_Ometto)\
**Replies:** 3\
**Last updated:** [April 12, 2010, 10:15pm UTC](https://www.ruby-forum.com/t/net-ssh-send-data/184634 "2010-04-12T22:15:31Z")

</div>

Hi, I would like to use the net/ssh gem to connect to an ssh server, execute a command, and send data to the command’s standard input. So far I’ve managed to do this using the on\_data callback: ch.exec “mycommand” do…

---

## [Model obligatoire mais pas tout le temps (vous faites comment)](https://www.ruby-forum.com/t/model-obligatoire-mais-pas-tout-le-temps-vous-faites-comment/170523)

<div class="topic-metadata">

**Author:** [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Replies:** 3\
**Last updated:** [June 18, 2009, 3:34pm UTC](https://www.ruby-forum.com/t/model-obligatoire-mais-pas-tout-le-temps-vous-faites-comment/170523 "2009-06-18T15:34:43Z")

</div>

Bonjour, Dans mon appli j’ai un model Adresse qui est rataché à plusieurs autre modèles (batiment, société, user, …) Dans certain modele je veux que la saisie de l’adresse soit obligatoire , dans d’autres non mais si…

---

## [Executer une tache Ã  la seconde prÃ¨s](https://www.ruby-forum.com/t/executer-une-tache-a-la-seconde-pra-s/151233)

<div class="topic-metadata">

**Author:** [@gbenoit79](https://www.ruby-forum.com/u/gbenoit79)\
**Replies:** 3\
**Last updated:** [October 18, 2008, 7:47pm UTC](https://www.ruby-forum.com/t/executer-une-tache-a-la-seconde-pra-s/151233 "2008-10-18T19:47:56Z")

</div>

Bonjour, Je travaille sur un jeu, ou des camions livrent des marchandises. L’idÃ©e c’est un jeu “temps rÃ©el”, c’est Ã dire qu’une journÃ©e est une journÃ©e, et qu’en une heure le camion ne parcoura que 80km (pour p…

---

## [Markdown + Smarty Pants](https://www.ruby-forum.com/t/markdown-smarty-pants/98744)

<div class="topic-metadata">

**Author:** [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Replies:** 3\
**Last updated:** [July 18, 2006, 12:51am UTC](https://www.ruby-forum.com/t/markdown-smarty-pants/98744 "2006-07-18T00:51:37Z")

</div>

Working on the 0.5.1 release this week and scanning through various patches today. A patch on ticket 83 adds two filters to Radiant: A SmartyPants filter for curling quotes (via RubyPants) A Markdown+SmartyPants filt…

---

## [Global rb\_funcall](https://www.ruby-forum.com/t/global-rb-funcall/51129)

<div class="topic-metadata">

**Author:** [@SSSISO-8859-1SQSSim](https://www.ruby-forum.com/u/SSSISO-8859-1SQSSim)\
**Replies:** 3\
**Last updated:** [December 27, 2005, 4:52am UTC](https://www.ruby-forum.com/t/global-rb-funcall/51129 "2005-12-27T04:52:00Z")

</div>

Hi, i’m embedding ruby into a C++, how do i call global functions from C? like rb\_funcall2(??, rb\_intern(“test”), 0, NULL); thanks Simon

---

## [Montreal.rb Nov 2023 Anatomy of a Payment](https://www.ruby-forum.com/t/montreal-rb-nov-2023-anatomy-of-a-payment/264483)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 1\
**Last updated:** [January 2, 2024, 10:22pm UTC](https://www.ruby-forum.com/t/montreal-rb-nov-2023-anatomy-of-a-payment/264483 "2024-01-02T22:22:23Z")

</div>

The video and slides for the Nov 2023 Montreal.rb Ruby Meetup talk “Anatomy of a Payment” by Michel Jamati (CTO/Co-Founder of Lexop) have been posted!! This talk will provide an overview of the business payment world. At…

---

## [How can I sort the data one after the other?](https://www.ruby-forum.com/t/how-can-i-sort-the-data-one-after-the-other/261421)

<div class="topic-metadata">

**Author:** [@elturco](https://www.ruby-forum.com/u/elturco)\
**Replies:** 1\
**Last updated:** [June 29, 2021, 6:19am UTC](https://www.ruby-forum.com/t/how-can-i-sort-the-data-one-after-the-other/261421 "2021-06-29T06:19:37Z")

</div>

page.css(".div").text

---

## [Nginx-1.9.15](https://www.ruby-forum.com/t/nginx-1-9-15/244485)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [April 21, 2016, 7:59am UTC](https://www.ruby-forum.com/t/nginx-1-9-15/244485 "2016-04-21T07:59:24Z")

</div>

Changes with nginx 1.9.15 19 Apr 2016 \*) Bugfix: "recv() failed" errors might occur when using HHVM as a FastCGI server. \*) Bugfix: when using HTTP/2 and the "limit\_req" or "a…

---

## [Just Another ActiveRecord::ConnectionNotEstablished Question](https://www.ruby-forum.com/t/just-another-activerecord-connectionnotestablished-question/243567)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [December 5, 2015, 9:18am UTC](https://www.ruby-forum.com/t/just-another-activerecord-connectionnotestablished-question/243567 "2015-12-05T09:18:01Z")

</div>

I am trying to follow RESTful Rails Development from O’Reilly by Silvia Puglisi. I have created an app (wikicat), database (MySQL), models (category and link), controllers (CategoryController show) and routes. I have …

---

## [How to use short\_month in I18n localize Date format](https://www.ruby-forum.com/t/how-to-use-short-month-in-i18n-localize-date-format/216844)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [February 15, 2012, 4:01pm UTC](https://www.ruby-forum.com/t/how-to-use-short-month-in-i18n-localize-date-format/216844 "2012-02-15T16:01:00Z")

</div>

using the I18n helper : I18n.l( aDate, :format =\> ( :default/:long/:short) ) is fine to display a localized date … in the rails yml file, there is also abbr\_day\_names: and abbr\_month\_names: that I can use with s…

---

## [Invitation for IT JOB FAIR](https://www.ruby-forum.com/t/invitation-for-it-job-fair/203092)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 23, 2011, 8:54am UTC](https://www.ruby-forum.com/t/invitation-for-it-job-fair/203092 "2011-02-23T08:54:44Z")

</div>

Dear Friends AMA Business is organizing an IT Job fair in Bangalore on 26th and 27th of February 2011 Below are the feature of job fair \* 100 Software companies \* 2000 + Jobs \* One place multiple option to select j…

---

## [Access to helper method](https://www.ruby-forum.com/t/access-to-helper-method/171035)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [June 25, 2009, 4:42pm UTC](https://www.ruby-forum.com/t/access-to-helper-method/171035 "2009-06-25T16:42:54Z")

</div>

Hi, does someone of you ever tried to put some helper methods in database with some other text like this: h1. title \<%= helper(id) %\> description and get an output using RedCloth?! what I need is that the helper fu…

---

## [Nginx-0.6.36 =\> unknown directive "if"](https://www.ruby-forum.com/t/nginx-0-6-36-unknown-directive-if/165780)

<div class="topic-metadata">

**Author:** [@temesta](https://www.ruby-forum.com/u/temesta)\
**Replies:** 1\
**Last updated:** [April 18, 2009, 8:52pm UTC](https://www.ruby-forum.com/t/nginx-0-6-36-unknown-directive-if/165780 "2009-04-18T20:52:41Z")

</div>

Hi, I just installed passenger + nginx on my server. Unfortunately my config seems to be broken now with the new NGINX. I’m getting this error: \[emerg\] 4217#0: unknown directive “if” in /usr/local/nginx/conf/halenje…

---

## [RMagick: Method to invert the colors of an image](https://www.ruby-forum.com/t/rmagick-method-to-invert-the-colors-of-an-image/151589)

<div class="topic-metadata">

**Author:** [@anukulsinghal](https://www.ruby-forum.com/u/anukulsinghal)\
**Replies:** 1\
**Last updated:** [October 23, 2008, 9:20am UTC](https://www.ruby-forum.com/t/rmagick-method-to-invert-the-colors-of-an-image/151589 "2008-10-23T09:20:30Z")

</div>

Hi, I am using RMagick gem to work with images. In one of my methods, I want to totally invert the colors of the image file. I searched the Rmagick API but am not able to converge to a method which can do so (Probably…

---

## [Help with lineno](https://www.ruby-forum.com/t/help-with-lineno/239031)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [February 8, 2014, 12:52pm UTC](https://www.ruby-forum.com/t/help-with-lineno/239031 "2014-02-08T12:52:28Z")

</div>

Hi, so I’m not clear with what lineno does. I’m trying to print the number of lines in the file ‘testfile’. However it says. "Undefined method ‘lineno’ for 105:Fixnum (NoMethodError) Can someone help me out with that…

---

## [Listen directive](https://www.ruby-forum.com/t/listen-directive/235936)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [July 26, 2013, 6:33am UTC](https://www.ruby-forum.com/t/listen-directive/235936 "2013-07-26T06:33:20Z")

</div>

Hi. I’ve noticed that in configuratuion like http { server { server\_name some.domain.tld; listen 1.1.1.1; } server { server\_name another.domain.tld; listen 1.1.1.1; } server { server\_name one\_more.domain.tld …

---

## [How To Rectify This Error?](https://www.ruby-forum.com/t/how-to-rectify-this-error/223222)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [September 26, 2012, 10:34pm UTC](https://www.ruby-forum.com/t/how-to-rectify-this-error/223222 "2012-09-26T22:34:21Z")

</div>

I am attaching my ‘.rb’ file. Please check it. I am getting an error- “C:/Ruby193/bin/rubysrc/Event\_Manager/event\_manager.rb:78: syntax error, unexpected $end, expecting keyword\_end” How to rectify it?

---

## [Capture system command output](https://www.ruby-forum.com/t/capture-system-command-output/222576)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [September 3, 2012, 5:26am UTC](https://www.ruby-forum.com/t/capture-system-command-output/222576 "2012-09-03T05:26:31Z")

</div>

Hi my bellow command #!/usr/bin/ruby require ‘rubygems’ parted -s /dev/cciss/c0d12 primary 0 100% puts $?.to\_i its showing 0, but it should show 1 because check the command line from comand line parted -s /dev…

---

## [Embedding Ruby debugging and gems using](https://www.ruby-forum.com/t/embedding-ruby-debugging-and-gems-using/216216)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [February 1, 2012, 10:19am UTC](https://www.ruby-forum.com/t/embedding-ruby-debugging-and-gems-using/216216 "2012-02-01T10:19:27Z")

</div>

Embedding Ruby in C is poor documented part of Ruby programming. When I call Ruby from C code and I do something wrong on Ruby side I get error in this form: :17: \[BUG\] Segmentation fault ruby 1.9.0 (2008-10-04 revis…

---

## [Confusion about singleton method definition](https://www.ruby-forum.com/t/confusion-about-singleton-method-definition/199813)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [November 30, 2010, 5:19pm UTC](https://www.ruby-forum.com/t/confusion-about-singleton-method-definition/199813 "2010-11-30T17:19:06Z")

</div>

Hi fellow Rubists, I’m just learning Ruby from The Well-grounded Rubist book and I cann’t understand why I cann’t get the same results as in author’s example. It’s about the difference between defining singleton metho…

---

## [Form\_for problem after upgrading](https://www.ruby-forum.com/t/form-for-problem-after-upgrading/198143)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [November 4, 2010, 3:46am UTC](https://www.ruby-forum.com/t/form-for-problem-after-upgrading/198143 "2010-11-04T03:46:42Z")

</div>

I am upgrading to rails 3 and afer diong so, none of my form\_for are working. (I can not actually say not all of them are working but the few that i have tried are not). The page loads fine but the form is not output.…

---

## [Views Testing](https://www.ruby-forum.com/t/views-testing/181877)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 6\
**Last updated:** [January 20, 2010, 3:32pm UTC](https://www.ruby-forum.com/t/views-testing/181877 "2010-01-20T15:32:50Z")

</div>

Hello Champs, Can anyone tell me that from where should i start for testing views of my application ? Want to know every possible way. Thanks in advance :slight\_smile:

---

## [Inherit and override in the same time?](https://www.ruby-forum.com/t/inherit-and-override-in-the-same-time/160457)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 6\
**Last updated:** [February 16, 2009, 7:31pm UTC](https://www.ruby-forum.com/t/inherit-and-override-in-the-same-time/160457 "2009-02-16T19:31:05Z")

</div>

Hi Ruby gurus, Let’s say we have a Parent class, and a Child1 class that inherits from the Parent class. I’d like to create a Child2 class that inherits most of the Child1 class, except for one method, which I’d like…

---

## [Empezando con Rails 2.0 y REST](https://www.ruby-forum.com/t/empezando-con-rails-2-0-y-rest/134043)

<div class="topic-metadata">

**Author:** [@calabriama](https://www.ruby-forum.com/u/calabriama)\
**Replies:** 6\
**Last updated:** [April 7, 2008, 10:52am UTC](https://www.ruby-forum.com/t/empezando-con-rails-2-0-y-rest/134043 "2008-04-07T10:52:34Z")

</div>

Buenas, hoy me he propuesto empezar con rails 2.0, estoy siguiendo las indicaciones de “Desarrollo REST con Rails” de Ralf Wirdemann y Thomas Baustert, traducido al castellano. He empezado por crear el andamiaje: rub…

---

## [Aprender RoR](https://www.ruby-forum.com/t/aprender-ror/131358)

<div class="topic-metadata">

**Author:** [@alex\_romera](https://www.ruby-forum.com/u/alex_romera)\
**Replies:** 6\
**Last updated:** [March 10, 2008, 12:06pm UTC](https://www.ruby-forum.com/t/aprender-ror/131358 "2008-03-10T12:06:24Z")

</div>

Hola me presento me llamo Alex y estoy interesado en aprender a programar en RoR ( decir que ya tengo algo de experiencia en php), pero la curiosidad me puede. MI mayor problema es que mi dominio del ingles es pesimo…

---

## [Screencast en espaÃ±ol](https://www.ruby-forum.com/t/screencast-en-espaa-ol/111469)

<div class="topic-metadata">

**Author:** [@vigosan](https://www.ruby-forum.com/u/vigosan)\
**Replies:** 6\
**Last updated:** [August 9, 2007, 8:08am UTC](https://www.ruby-forum.com/t/screencast-en-espaa-ol/111469 "2007-08-09T08:08:58Z")

</div>

Hola a todos, estoy realizando unos pequeÃ±os screencasts (~25 minutos) en los que se enseÃ±a paso a paso como realizar una aplicaciÃ³n para la gestiÃ³n de tickets. Por hora llevo 6 entregas, no es que sean lo mÃ¡s, n…

---

## [Customize the admin UI](https://www.ruby-forum.com/t/customize-the-admin-ui/110493)

<div class="topic-metadata">

**Author:** [@sylvain\_gibier](https://www.ruby-forum.com/u/sylvain_gibier)\
**Replies:** 6\
**Last updated:** [July 26, 2007, 9:41pm UTC](https://www.ruby-forum.com/t/customize-the-admin-ui/110493 "2007-07-26T21:41:30Z")

</div>

Hi, May be already answered in some posts. Radiant Gem - 0.6.1 Ok - i have 5 different sites using Radiant - with their own database. Now two customers want to have their own header/stylesheet on the admin UI - wha…

---

## [Capistrano en 2.0](https://www.ruby-forum.com/t/capistrano-en-2-0/110174)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Tr](https://www.ruby-forum.com/u/Jean-FranSSSSois_Tr)\
**Replies:** 6\
**Last updated:** [July 24, 2007, 9:21pm UTC](https://www.ruby-forum.com/t/capistrano-en-2-0/110174 "2007-07-24T21:21:19Z")

</div>

Au fait, personne n’a mis l’info sur la liste (tout le monde l’avait vue ?) http://blog.rubyonrails.org/2007/7/22/capistrano-2-0 -- Jean-François. – Ruby ( http://www.rubyfrance.org ) on Rails ( http://www.railsfra…

---

## [Easily parsing a string to retrieve values and assign them t](https://www.ruby-forum.com/t/easily-parsing-a-string-to-retrieve-values-and-assign-them-t/109718)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [July 18, 2007, 11:38am UTC](https://www.ruby-forum.com/t/easily-parsing-a-string-to-retrieve-values-and-assign-them-t/109718 "2007-07-18T11:38:13Z")

</div>

Hi! I’ve been looking in API’s for a while in desperate need for an easy way to parse string and retrieve data (forget about Regexp or scanf), so that any non-rubyist guy I work with could describe, with a single str…

---

## [Shutting irb up](https://www.ruby-forum.com/t/shutting-irb-up/87475)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [March 12, 2007, 5:55pm UTC](https://www.ruby-forum.com/t/shutting-irb-up/87475 "2007-03-12T17:55:10Z")

</div>

i looked forever, didn’t find this, and am posting for posterity harp:~ \> cat .irbrc IRB.conf\[:PROMPT\]\[ IRB.conf\[:PROMPT\_MODE\] \]\[:RETURN\]=’’ harp :~ \> irb irb(main):001:0\> 42 irb(main):002:0\> 43 irb(main):003:0\> pu…

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

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