# Top

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

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

---

## [Needed to change org.jruby.ext.POSIXFunctionMapper.java to pass unit tests and use gem](https://www.ruby-forum.com/t/needed-to-change-org-jruby-ext-posixfunctionmapper-java-to-pass-unit-tests-and-use-gem/117277)

<div class="topic-metadata">

**Author:** [@WolffS\_Tobias](https://www.ruby-forum.com/u/WolffS_Tobias)\
**Replies:** 4\
**Last updated:** [October 15, 2007, 5:43pm UTC](https://www.ruby-forum.com/t/needed-to-change-org-jruby-ext-posixfunctionmapper-java-to-pass-unit-tests-and-use-gem/117277 "2007-10-15T17:43:20Z")

</div>

Hi, my msvcrt.dll does not contain a symbol “chmod”, but rather “\_chmod”. I had to adjust the POSIXFunctionMapper class in the following way: public String getFunctionName(NativeLibrary library, Method method) { Str…

---

## [MMORPG on Rails](https://www.ruby-forum.com/t/mmorpg-on-rails/115769)

<div class="topic-metadata">

**Author:** [@Rav](https://www.ruby-forum.com/u/Rav)\
**Replies:** 4\
**Last updated:** [October 1, 2007, 4:12pm UTC](https://www.ruby-forum.com/t/mmorpg-on-rails/115769 "2007-10-01T16:12:09Z")

</div>

Is Ruby on Rails good platform for a web browser MMORPG? Server push is a good oportunity to solve this idea.

---

## [Tests de plugins](https://www.ruby-forum.com/t/tests-de-plugins/86475)

<div class="topic-metadata">

**Author:** [@Oscar\_Arias](https://www.ruby-forum.com/u/Oscar_Arias)\
**Replies:** 4\
**Last updated:** [February 23, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/tests-de-plugins/86475 "2007-02-23T13:25:34Z")

</div>

Hola a todos: Estamos desarrollando un plugin Rails que implementa modelo, vista y controlador (usando engines). Necesitamos realizar tests unitarios, funcionales y de integración de este plugin pero Rails no nos lo p…

---

## [Why should initialize\_copy verify the class of the original?](https://www.ruby-forum.com/t/why-should-initialize-copy-verify-the-class-of-the-original/85983)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 4\
**Last updated:** [February 20, 2007, 10:31am UTC](https://www.ruby-forum.com/t/why-should-initialize-copy-verify-the-class-of-the-original/85983 "2007-02-20T10:31:01Z")

</div>

I was looking at the CD player example in the Pickaxe book and I can’t see why their C implementation of CDPlayer#initialize\_copy needs to check that the original object is an instance of CDPlayer . Isn’t this always…

---

## [\[kinda OT\] Recommended Java Web Frameworks](https://www.ruby-forum.com/t/kinda-ot-recommended-java-web-frameworks/85679)

<div class="topic-metadata">

**Author:** [@jruyle](https://www.ruby-forum.com/u/jruyle)\
**Replies:** 4\
**Last updated:** [February 15, 2007, 11:15pm UTC](https://www.ruby-forum.com/t/kinda-ot-recommended-java-web-frameworks/85679 "2007-02-15T23:15:21Z")

</div>

Rails-talk, Being an avid Rails user for over two years now, it’s very hard for me to even consider using another type of framework, much less another language altogether than Ruby. However, I do need to do a web po…

---

## [Unable to create associations](https://www.ruby-forum.com/t/unable-to-create-associations/75320)

<div class="topic-metadata">

**Author:** [@stubbsuk](https://www.ruby-forum.com/u/stubbsuk)\
**Replies:** 4\
**Last updated:** [November 9, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/unable-to-create-associations/75320 "2006-11-09T18:06:04Z")

</div>

I have two tables, user & provider and I’m struggling to set up the association between them. A simplified table structure for the two is: CREATE TABLE users ( id integer not null, login string not null, password s…

---

## [Segmentation fault on page requests](https://www.ruby-forum.com/t/segmentation-fault-on-page-requests/61133)

<div class="topic-metadata">

**Author:** [@Cody\_Caughlan](https://www.ruby-forum.com/u/Cody_Caughlan)\
**Replies:** 4\
**Last updated:** [May 21, 2006, 7:12pm UTC](https://www.ruby-forum.com/t/segmentation-fault-on-page-requests/61133 "2006-05-21T19:12:42Z")

</div>

Hi, I am new to Rails and got the “Agile Web Dev with Rails book”, following along with the examples…starting the Depot sample app, but am running into segmentation faults and my WEBrick console looks like this: ht…

---

## [...da un neofita cosa volete attendervi se non domande?:-)](https://www.ruby-forum.com/t/da-un-neofita-cosa-volete-attendervi-se-non-domande/58202)

<div class="topic-metadata">

**Author:** [@lottosempre](https://www.ruby-forum.com/u/lottosempre)\
**Replies:** 4\
**Last updated:** [April 26, 2006, 3:23pm UTC](https://www.ruby-forum.com/t/da-un-neofita-cosa-volete-attendervi-se-non-domande/58202 "2006-04-26T15:23:04Z")

</div>

Ciao a tutti da due giorni, qualche ora e pochissimi minuti sto leggendo la documentazione di questo affascinante linguaggio di programmazione. Per avere le idee piu’ chiare vorrei porgervi alcune domande, sperando c…

---

## [Rails Developer Positions in San Diego](https://www.ruby-forum.com/t/rails-developer-positions-in-san-diego/54761)

<div class="topic-metadata">

**Author:** [@Mike\_OSBrien](https://www.ruby-forum.com/u/Mike_OSBrien)\
**Replies:** 4\
**Last updated:** [March 14, 2006, 4:12am UTC](https://www.ruby-forum.com/t/rails-developer-positions-in-san-diego/54761 "2006-03-14T04:12:17Z")

</div>

We are looking for fulltime Rails Developers to join a tremendous rails only development team in San Diego. Please send resume and examples of work to removed\_email\_address@domain.invalid. Pay is based upon experie…

---

## [Re: Prob](https://www.ruby-forum.com/t/re-prob/75213)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [March 2, 2006, 10:04am UTC](https://www.ruby-forum.com/t/re-prob/75213 "2006-03-02T10:04:23Z")

</div>

Je ne suis pas (encore…) un spÃ©cialiste Rails, mais ressemble fortement Ã une relation N vers N et il faudrait donc dans ce cas une table de jointure, par exemple projects\_customers : create table projects\_customers…

---

## [Stupid problem with named fixture](https://www.ruby-forum.com/t/stupid-problem-with-named-fixture/48345)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 4\
**Last updated:** [November 19, 2005, 5:33am UTC](https://www.ruby-forum.com/t/stupid-problem-with-named-fixture/48345 "2005-11-19T05:33:02Z")

</div>

I’m missing something here. The settings table just has a couple fields, id, name, value, and group. name, value and group are all strings, and id and name are the only ones with not null constraints. When I run thi…

---

## [Dump Mysql database to ruby class](https://www.ruby-forum.com/t/dump-mysql-database-to-ruby-class/253526)

<div class="topic-metadata">

**Author:** [@valoche73700](https://www.ruby-forum.com/u/valoche73700)\
**Replies:** 1\
**Last updated:** [January 26, 2020, 6:13pm UTC](https://www.ruby-forum.com/t/dump-mysql-database-to-ruby-class/253526 "2020-01-26T18:13:41Z")

</div>

Hello, I just would like to know if there’s a solution in ruby to “export” a table from mysql to a ruby class by creating attributes from column, class name from table name etc. I know that it’s possible in a lot of la…

---

## [Duplicate key warnings with Ruby 2.2.0-rc1](https://www.ruby-forum.com/t/duplicate-key-warnings-with-ruby-2-2-0-rc1/233540)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [December 23, 2014, 1:00pm UTC](https://www.ruby-forum.com/t/duplicate-key-warnings-with-ruby-2-2-0-rc1/233540 "2014-12-23T13:00:30Z")

</div>

I’m getting a number of warnings that look like this: (eval):1: warning: duplicated key at line 1 ignored: “resource\_type\_sim” (eval):1: warning: duplicated key at line 1 ignored: “creator\_sim” (eval):1: warning: dupl…

---

## [Re: Worker process is not getting killed , when master is killed using -9](https://www.ruby-forum.com/t/re-worker-process-is-not-getting-killed-when-master-is-killed-using-9/236133)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 10, 2013, 12:31pm UTC](https://www.ruby-forum.com/t/re-worker-process-is-not-getting-killed-when-master-is-killed-using-9/236133 "2013-08-10T12:31:31Z")

</div>

Hello. SIGKILL(9) is not able to trapped for any process. How about using SIGTERM or QUIT? Or you might want to see following about controlling nginx with signal. http://nginx.org/en/docs/control.html 2013/8/8 Vivek…

---

## [How to debug memory leak/grow](https://www.ruby-forum.com/t/how-to-debug-memory-leak-grow/228427)

<div class="topic-metadata">

**Author:** [@gadh](https://www.ruby-forum.com/u/gadh)\
**Replies:** 1\
**Last updated:** [April 22, 2013, 7:28pm UTC](https://www.ruby-forum.com/t/how-to-debug-memory-leak-grow/228427 "2013-04-22T19:28:09Z")

</div>

in my nginx, compiled with my modules, i see that under every day usage (its on a web site , i cannot reproduce this in my lab) the memory usage of nginx grows all the time, it has many open connections (but the tota…

---

## [Gsub](https://www.ruby-forum.com/t/gsub/218181)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [March 26, 2012, 2:50pm UTC](https://www.ruby-forum.com/t/gsub/218181 "2012-03-26T14:50:18Z")

</div>

hi, im getting tired on this one. i want to replace all forwardslashes with backwardslashes. irb: r = “C:/RAILS/” r.gsub("/", “\\”) or r.gsub("/") {(’’} both give me: “C:\\RAILS\\” how can i use gsub to display only …

---

## [Problem using Activesupport rescuable in a PORO](https://www.ruby-forum.com/t/problem-using-activesupport-rescuable-in-a-poro/205249)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 1, 2011, 9:24pm UTC](https://www.ruby-forum.com/t/problem-using-activesupport-rescuable-in-a-poro/205249 "2011-04-01T21:24:57Z")

</div>

Hi experts, I want to use ActiveSupport::Rescuable in my PORO that lives in lib/ directory of a Rails 3.0.4 app. The invocation is something like this: require ‘java’ … rescue\_from java.lang.NullPointerException, …

---

## [Turn of a single validation](https://www.ruby-forum.com/t/turn-of-a-single-validation/184175)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 7\
**Last updated:** [February 27, 2010, 11:56am UTC](https://www.ruby-forum.com/t/turn-of-a-single-validation/184175 "2010-02-27T11:56:26Z")

</div>

During migration I would like to turn off a single validation. That is, I don’t want to turn off all validations for a single record, I want to turn of a single validation (of several) for all records.

---

## [For GIS applications](https://www.ruby-forum.com/t/for-gis-applications/173007)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 7\
**Last updated:** [August 4, 2009, 12:36am UTC](https://www.ruby-forum.com/t/for-gis-applications/173007 "2009-08-04T00:36:38Z")

</div>

Hi Could anybody please which is the most widely used gem for GIS applications I came across http://ym4r.rubyforge.org/ym4r-doc/ But seen it has not been updated since 2006 Thanks in adavnce Sijo

---

## [Depornto ya no pudo mas ActionView::TemplateError (can't convert Fixnum into String)](https://www.ruby-forum.com/t/depornto-ya-no-pudo-mas-actionview-templateerror-cant-convert-fixnum-into-string/171372)

<div class="topic-metadata">

**Author:** [@Angel\_Mauricio\_Pino](https://www.ruby-forum.com/u/Angel_Mauricio_Pino)\
**Replies:** 1\
**Last updated:** [July 1, 2009, 9:45am UTC](https://www.ruby-forum.com/t/depornto-ya-no-pudo-mas-actionview-templateerror-cant-convert-fixnum-into-string/171372 "2009-07-01T09:45:07Z")

</div>

Tengo un helper que crea mis index y de la nada dejo de funcionar, deshice los ultimos cambios pero aun asi no se arreglo. Alguna idea? el index.html.rb que llama al helper es: \<%= cps = \[“folio”,“contrato.folio”,…

---

## [Mysterious closed stream (IOError) exception](https://www.ruby-forum.com/t/mysterious-closed-stream-ioerror-exception/164456)

<div class="topic-metadata">

**Author:** [@skiz](https://www.ruby-forum.com/u/skiz)\
**Replies:** 1\
**Last updated:** [April 2, 2009, 12:36am UTC](https://www.ruby-forum.com/t/mysterious-closed-stream-ioerror-exception/164456 "2009-04-02T00:36:06Z")

</div>

Hi, Sorry to keep bothering everybody with what are probably very beginnerish questions. Thanks to everybody who has already helped me out in answering questions. This time I am complete mystified as to what is go…

---

## [Singular y Plural](https://www.ruby-forum.com/t/singular-y-plural/161838)

<div class="topic-metadata">

**Author:** [@rolanghel](https://www.ruby-forum.com/u/rolanghel)\
**Replies:** 1\
**Last updated:** [March 3, 2009, 12:03am UTC](https://www.ruby-forum.com/t/singular-y-plural/161838 "2009-03-03T00:03:19Z")

</div>

Bueno tengo entendido que ror maneja sus archivos de la siguiente forma (modelo: singular, vistas: plural, controlador:plural, pruebas:plural). Para crear un modelo para la tabla personas(plural) suele hacerse " ruby …

---

## [Dynamic string (depending on a variable)](https://www.ruby-forum.com/t/dynamic-string-depending-on-a-variable/160706)

<div class="topic-metadata">

**Author:** [@loader](https://www.ruby-forum.com/u/loader)\
**Replies:** 7\
**Last updated:** [February 20, 2009, 3:34pm UTC](https://www.ruby-forum.com/t/dynamic-string-depending-on-a-variable/160706 "2009-02-20T15:34:06Z")

</div>

Hello everyone! Do you have a better way to do this ? sentence = “Your ticket has expired since #{nb\_of\_days if nb\_of\_days\<0} #{‘days’ if nb\_of\_days\<0} #{‘today’ if nb\_of\_days==0}” My goal is to print something like …

---

## [Ile Not Found Error occured at \<except.c\>:117 in xpop\_contex](https://www.ruby-forum.com/t/ile-not-found-error-occured-at-except-c-117-in-xpop-contex/134399)

<div class="topic-metadata">

**Author:** [@turnkeytraders](https://www.ruby-forum.com/u/turnkeytraders)\
**Replies:** 1\
**Last updated:** [April 10, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/ile-not-found-error-occured-at-except-c-117-in-xpop-contex/134399 "2008-04-10T15:07:55Z")

</div>

Recently we have seen this error occurring on one of our servers (Debian). We are using the Drb Server and the error occurs even if we switch from Ferret 0.11.6 down to 0.11.4. It seems to occur after the application …

---

## [SuperRedCloth inserting \<pre\>\<code\>](https://www.ruby-forum.com/t/superredcloth-inserting-pre-code/121082)

<div class="topic-metadata">

**Author:** [@Daniel\_Nogues](https://www.ruby-forum.com/u/Daniel_Nogues)\
**Replies:** 1\
**Last updated:** [November 26, 2007, 9:54pm UTC](https://www.ruby-forum.com/t/superredcloth-inserting-pre-code/121082 "2007-11-26T21:54:58Z")

</div>

I maintain a web application frozen to version Ruby 1.8.6 and RedCloth 3.0.4 Whenever I insert a newline followed by a white space, SuperRedCloth, wraps the text with tags. Say for example I write ############### …

---

## [ActiveRecord::StatementInvalid conditionsdeleted?](https://www.ruby-forum.com/t/activerecord-statementinvalid-conditionsdeleted/110443)

<div class="topic-metadata">

**Author:** [@moo](https://www.ruby-forum.com/u/moo)\
**Replies:** 1\
**Last updated:** [July 26, 2007, 12:00pm UTC](https://www.ruby-forum.com/t/activerecord-statementinvalid-conditionsdeleted/110443 "2007-07-26T12:00:15Z")

</div>

i’m trying latest dracs version as of now. and i get the following error: ActiveRecord::StatementInvalid (Mysql::Error: Unknown column ‘conditionsdeleted’ in ‘where clause’: SELECT count(\*) AS count\_all FROM posts WH…

---

## [Failure in comparisons](https://www.ruby-forum.com/t/failure-in-comparisons/98034)

<div class="topic-metadata">

**Author:** [@isaacrtree](https://www.ruby-forum.com/u/isaacrtree)\
**Replies:** 7\
**Last updated:** [July 12, 2006, 4:50am UTC](https://www.ruby-forum.com/t/failure-in-comparisons/98034 "2006-07-12T04:50:29Z")

</div>

I’m basically a Ruby noobie. At the moment I’m having a fair bit of trouble trying to figure out what’s going wrong here (partial template): \<%= @project = Project.find(@the\_id) if current\_user.userid == @project.cl…

---

## [Google SOC Suggestion](https://www.ruby-forum.com/t/google-soc-suggestion/59014)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 7\
**Last updated:** [April 27, 2006, 11:05pm UTC](https://www.ruby-forum.com/t/google-soc-suggestion/59014 "2006-04-27T23:05:32Z")

</div>

A bug tracking mechanism that sucks significantly less than FogBugs! Why can no one get this right? It’s not rocket science. James Edward G. II

---

## [Montreal.rb October 2024 - Tame Complex Queries with Database Views](https://www.ruby-forum.com/t/montreal-rb-october-2024-tame-complex-queries-with-database-views/266572)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [October 14, 2024, 10:30pm UTC](https://www.ruby-forum.com/t/montreal-rb-october-2024-tame-complex-queries-with-database-views/266572 "2024-10-14T22:30:52Z")

</div>

PostgreSQL views are a useful tool to make query logic reusable and maintainable. This talk will cover their pros and cons, a couple of real-world use cases, and how to use them in Rails apps using the Scenic gem. YouTu…

---

## [Gnuradio data modulation](https://www.ruby-forum.com/t/gnuradio-data-modulation/262640)

<div class="topic-metadata">

**Author:** [@Saadi](https://www.ruby-forum.com/u/Saadi)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 6:16am UTC](https://www.ruby-forum.com/t/gnuradio-data-modulation/262640 "2022-03-23T06:16:24Z")

</div>

Hello everyone I want to modulate and demodulate my encrypted data before sending it to the decryption block as shown in the flow graph. I tried different ways but none of them worked. So i ask your help in this regard…

---

## ["Opposite" of .maximize (restore prior status)?](https://www.ruby-forum.com/t/opposite-of-maximize-restore-prior-status/242565)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [July 2, 2015, 5:15pm UTC](https://www.ruby-forum.com/t/opposite-of-maximize-restore-prior-status/242565 "2015-07-02T17:15:38Z")

</div>

Hello. With .maximize you can maximize (full screen) a widget. Is there a way to also restore to the old prior default size? I need to enable this functionality via a menu interface.

---

## [\[ruby-trunk - Bug #10653\] \[Open\] do-end block in ternary operator is syntax error](https://www.ruby-forum.com/t/ruby-trunk-bug-10653-open-do-end-block-in-ternary-operator-is-syntax-error/233585)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 26, 2014, 4:02am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-10653-open-do-end-block-in-ternary-operator-is-syntax-error/233585 "2014-12-26T04:02:44Z")

</div>

Issue #10653 has been reported by Shinta Koyanagi. Bug #10653: do-end block in ternary operator is syntax error Author: Shinta Koyanagi Status: Open Priority: Normal Assignee: Yukihiro M. Category: syntax Target ver…

---

## [Rspec include paths](https://www.ruby-forum.com/t/rspec-include-paths/220427)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [June 8, 2012, 11:03pm UTC](https://www.ruby-forum.com/t/rspec-include-paths/220427 "2012-06-08T23:03:07Z")

</div>

'm using rspec 2.10 with Rails 3.2.1 and have problems with classes not being found. I have put a class called DbTasks under a dir app/util. Under spec, i’ve created file util/db\_tasks\_spec.rb which runs afer i includ…

---

## [Changing external reference frequency with USRP2](https://www.ruby-forum.com/t/changing-external-reference-frequency-with-usrp2/193214)

<div class="topic-metadata">

**Author:** [@dcian](https://www.ruby-forum.com/u/dcian)\
**Replies:** 8\
**Last updated:** [August 17, 2010, 6:24am UTC](https://www.ruby-forum.com/t/changing-external-reference-frequency-with-usrp2/193214 "2010-08-17T06:24:23Z")

</div>

Hi I have read on the FAQ that is possible to change the external reference frequency for the USRP2 from 10 MHz to another value simply by changing one line in the firmware. However, I have as yet been unable to loca…

---

## [Online app to be developed using RoR and sqlite3](https://www.ruby-forum.com/t/online-app-to-be-developed-using-ror-and-sqlite3/178762)

<div class="topic-metadata">

**Author:** [@OluwayomiSO.Oluwa](https://www.ruby-forum.com/u/OluwayomiSO.Oluwa)\
**Replies:** 8\
**Last updated:** [November 11, 2009, 3:33pm UTC](https://www.ruby-forum.com/t/online-app-to-be-developed-using-ror-and-sqlite3/178762 "2009-11-11T15:33:21Z")

</div>

Hi all, I want to implement a web based application(A B2C e-commerce web site selling textbooks) using Ruby on rails as my server side scripting lang and squlite3 as my database.Can any body give me a clue as to how t…

---

## [Inverse OOP](https://www.ruby-forum.com/t/inverse-oop/135708)

<div class="topic-metadata">

**Author:** [@martin\_gnu](https://www.ruby-forum.com/u/martin_gnu)\
**Replies:** 8\
**Last updated:** [April 26, 2008, 2:46pm UTC](https://www.ruby-forum.com/t/inverse-oop/135708 "2008-04-26T14:46:03Z")

</div>

Hi: I have always had a doubt about OOP. Usually we have a parent and several child, but what happen if we need the inverse system. for example DBI/DBD APIs.?? I need build map proyections and i want and intermediate…

---

## [Reg :regular expression](https://www.ruby-forum.com/t/reg-regular-expression/113654)

<div class="topic-metadata">

**Author:** [@shiva](https://www.ruby-forum.com/u/shiva)\
**Replies:** 8\
**Last updated:** [September 4, 2007, 5:44pm UTC](https://www.ruby-forum.com/t/reg-regular-expression/113654 "2007-09-04T17:44:12Z")

</div>

Hi, Iam facing problem in excluding new line in reular expression…(/n) eg: shiva.grp\\nhi da so it should exclude \\n .if any one knows help me

---

## [Question about .gsub](https://www.ruby-forum.com/t/question-about-gsub/79602)

<div class="topic-metadata">

**Author:** [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Replies:** 8\
**Last updated:** [December 17, 2006, 8:09am UTC](https://www.ruby-forum.com/t/question-about-gsub/79602 "2006-12-17T08:09:54Z")

</div>

line = tree /Users/aragon/Documents -d line.each { |l| l = l.gsub(/|/,’ ‘) l = l.gsub(/-/,’ ‘) l = l.gsub(/\`/,’ ') line = l puts line } I use the gsub commands because the tree co…

---

## [Syntax for accessing methods and variables](https://www.ruby-forum.com/t/syntax-for-accessing-methods-and-variables/79356)

<div class="topic-metadata">

**Author:** [@patwa](https://www.ruby-forum.com/u/patwa)\
**Replies:** 8\
**Last updated:** [December 15, 2006, 2:24am UTC](https://www.ruby-forum.com/t/syntax-for-accessing-methods-and-variables/79356 "2006-12-15T02:24:18Z")

</div>

Hi all, I have a controller named aircrafts. In there I put: def showtime @time = Time.now end In the default views/layouts/aircrafts.rhtml, I want to use the method above to show the current time on the page. Bu…

---

## [Google analytics integration](https://www.ruby-forum.com/t/google-analytics-integration/243782)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [January 5, 2016, 11:12pm UTC](https://www.ruby-forum.com/t/google-analytics-integration/243782 "2016-01-05T23:12:14Z")

</div>

I want to track all the data and user interactions through google analytics for my entire website which is built with rails. I added a script that I found online that looks like it works but I dont know how to certain…

---

## [What can I .call? complete noob question, sorry](https://www.ruby-forum.com/t/what-can-i-call-complete-noob-question-sorry/243369)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [October 14, 2015, 6:50am UTC](https://www.ruby-forum.com/t/what-can-i-call-complete-noob-question-sorry/243369 "2015-10-14T06:50:22Z")

</div>

Hello I am an absolute beginner in Ruby, having trouble understanding when to use which objects - class, module, proc. I have tried googling the available documentation but without success. If I have mystring = MyA…

---

## [Using fft::fft\_complex in an out-of-tree moudle](https://www.ruby-forum.com/t/using-fft-fft-complex-in-an-out-of-tree-moudle/242006)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 20, 2015, 6:18am UTC](https://www.ruby-forum.com/t/using-fft-fft-complex-in-an-out-of-tree-moudle/242006 "2015-05-20T06:18:15Z")

</div>

Hi all, I created an out-of-tree module for my personal project. In one block, I need to perform FFT and IFFF, so I put “#include \<gnuradio/fft/fft.h\>” in the header file, and then declare \*fft::fft\_complex d\_ifft; …

---

## [Multiple controller with associated view calling Application Helper to get image path not working](https://www.ruby-forum.com/t/multiple-controller-with-associated-view-calling-application-helper-to-get-image-path-not-working/241810)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 2, 2015, 8:57pm UTC](https://www.ruby-forum.com/t/multiple-controller-with-associated-view-calling-application-helper-to-get-image-path-not-working/241810 "2015-05-02T20:57:48Z")

</div>

SORRY about the previous… How does one edit here after POST? Working with Rails 3.0 From numerous controllers with associated views, I need to display images. In the views to retrieve an images I have: \<img src="\<%=…

---

## [\-Lprefix/lib](https://www.ruby-forum.com/t/lprefix-lib/246184)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 13, 2013, 3:13am UTC](https://www.ruby-forum.com/t/lprefix-lib/246184 "2013-09-13T03:13:27Z")

</div>

Issue #8443 has been updated by nagachika (Tomoyuki C.). r39347 のバックポートははさらに他の変更も引き連れていかないといけないと思うのでしないつもりです。 では少し変更して以下で入れておこうと思います。 Index: configure.in — configure.in (revision 42911) +++ configure.in …

---

## [Multi-page blog posts](https://www.ruby-forum.com/t/multi-page-blog-posts/235988)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [July 29, 2013, 2:40pm UTC](https://www.ruby-forum.com/t/multi-page-blog-posts/235988 "2013-07-29T14:40:44Z")

</div>

Hi, everyone! It has been a while since I posted here, given that I get to find most of my answers on google. However, there is one particular coding practice I am after, for which I have thought of a solution, as wel…

---

## [Patching around String#intern](https://www.ruby-forum.com/t/patching-around-string-intern/227123)

<div class="topic-metadata">

**Author:** [@chiefgeek](https://www.ruby-forum.com/u/chiefgeek)\
**Replies:** 2\
**Last updated:** [March 4, 2013, 11:46pm UTC](https://www.ruby-forum.com/t/patching-around-string-intern/227123 "2013-03-04T23:46:40Z")

</div>

Hey groovy cats. I’ve decided to stretch myself and start being more useful to the Ruby community (I hope) by breaking the core. …I mean, by submitting patches, implementing features I think look interesting and/or e…

---

## [Rails API Doc for Mail::Message?](https://www.ruby-forum.com/t/rails-api-doc-for-mail-message/223498)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 7, 2012, 1:17am UTC](https://www.ruby-forum.com/t/rails-api-doc-for-mail-message/223498 "2012-10-07T01:17:31Z")

</div>

Hi, I am very new to Rails. I am trying to delete an email that I have retrieved from a pop3 account. I googled around but couldn’t find any thing on that topic. I couldn’t find any API Doc either. What do I need …

---

## [/config/database.yml accessable in beta/alpha](https://www.ruby-forum.com/t/config-database-yml-accessable-in-beta-alpha/184535)

<div class="topic-metadata">

**Author:** [@toddf](https://www.ruby-forum.com/u/toddf)\
**Replies:** 2\
**Last updated:** [August 18, 2010, 11:01am UTC](https://www.ruby-forum.com/t/config-database-yml-accessable-in-beta-alpha/184535 "2010-08-18T11:01:53Z")

</div>

we’re not sure how to stop this, but on a few of our projects the database.yml is accessble and on others it’s not (only in an alpha/beta environment, production is OK). regardless we still need to stop it from being …

---

## [Extra output?](https://www.ruby-forum.com/t/extra-output/188819)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [May 19, 2010, 8:53pm UTC](https://www.ruby-forum.com/t/extra-output/188819 "2010-05-19T20:53:40Z")

</div>

Hi all. Sorry for the flood. Another question: When running my rails unit tests, with 1.9.x MRI I get failure messages that look like: Error: test\_should\_create\_image(ImageTest): NoMethodError: undefined method f…

---

## [Imprimir indice](https://www.ruby-forum.com/t/imprimir-indice/196996)

<div class="topic-metadata">

**Author:** [@aprendiz\_ror](https://www.ruby-forum.com/u/aprendiz_ror)\
**Replies:** 2\
**Last updated:** [September 12, 2009, 1:30am UTC](https://www.ruby-forum.com/t/imprimir-indice/196996 "2009-09-12T01:30:50Z")

</div>

buenas necesito de la ayuda en esto: @prestamos es un hash? lo cargue en un controller. necesito imprimir el numero de registro, no es el id, si no el numero de registro que se muestra, ya que esta lista depende …

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

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