# Top

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

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

---

## [Removing special/syntax characters](https://www.ruby-forum.com/t/removing-special-syntax-characters/82188)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 7\
**Last updated:** [January 20, 2007, 12:59am UTC](https://www.ruby-forum.com/t/removing-special-syntax-characters/82188 "2007-01-20T00:59:25Z")

</div>

Is there any somewhat standard way to remove or otherwise handle special or syntax characters from a user’s search, such as a colon? I was thinking maybe there was something akin to Ferret::Analysis::FULL\_ENGLISH\_STO…

---

## [Cleanup at session expiration](https://www.ruby-forum.com/t/cleanup-at-session-expiration/65972)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 7\
**Last updated:** [August 23, 2006, 1:12am UTC](https://www.ruby-forum.com/t/cleanup-at-session-expiration/65972 "2006-08-23T01:12:11Z")

</div>

I’m going to explicitly time out sessions if they’re idle more than X minutes. Like online banking sites do. How do I set things up so that, when a session expires, a set of database records and a set of files that m…

---

## [Automatically finding gaps in unit test coverage?](https://www.ruby-forum.com/t/automatically-finding-gaps-in-unit-test-coverage/101406)

<div class="topic-metadata">

**Author:** [@fmwr](https://www.ruby-forum.com/u/fmwr)\
**Replies:** 7\
**Last updated:** [August 4, 2006, 10:55pm UTC](https://www.ruby-forum.com/t/automatically-finding-gaps-in-unit-test-coverage/101406 "2006-08-04T22:55:30Z")

</div>

Hello, Is it possible to somehow automatically check which parts of code are not covered by unit tests ?

---

## [Issue with ActiveRecord 4.2 in non Rails app](https://www.ruby-forum.com/t/issue-with-activerecord-4-2-in-non-rails-app/234214)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [March 6, 2015, 9:10am UTC](https://www.ruby-forum.com/t/issue-with-activerecord-4-2-in-non-rails-app/234214 "2015-03-06T09:10:07Z")

</div>

Hello, I’ve been using ActiveRecord and ActionMailer outside Rails. Versions: 4.1.7 Recently wanted to update to 4.2.0 and got an issue: NoMethodError: undefined method env' for Rails:Module/Users/user/.rvm/gems/rub…

---

## [Low cost SDR hardware](https://www.ruby-forum.com/t/low-cost-sdr-hardware/245914)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [July 30, 2013, 9:33pm UTC](https://www.ruby-forum.com/t/low-cost-sdr-hardware/245914 "2013-07-30T21:33:36Z")

</div>

Hello everyone, A professor in my university wants to revive lab course on communication. He wants to introduce some experiments involving SDR. For that we need about 100 pieces of hardware( both receiver and transmi…

---

## [Get rid of extra, blank lines via html parsing?](https://www.ruby-forum.com/t/get-rid-of-extra-blank-lines-via-html-parsing/192691)

<div class="topic-metadata">

**Author:** [@mickey](https://www.ruby-forum.com/u/mickey)\
**Replies:** 4\
**Last updated:** [August 4, 2010, 9:29pm UTC](https://www.ruby-forum.com/t/get-rid-of-extra-blank-lines-via-html-parsing/192691 "2010-08-04T21:29:01Z")

</div>

So I am trying to get some information from a snippet of html (\<table class="listing sortable" id="packages\_list"\> \<thead\> - Pastebin.com), and im using doc.inner\_text to get the important parts, but when I do so I get…

---

## [How to get amount of allocated memory from within a process (heap size)](https://www.ruby-forum.com/t/how-to-get-amount-of-allocated-memory-from-within-a-process-heap-size/172634)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 4\
**Last updated:** [July 27, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/how-to-get-amount-of-allocated-memory-from-within-a-process-heap-size/172634 "2009-07-27T20:57:10Z")

</div>

What would be a good way to determine the current heap size (VSZ) for a process on Linux? I always used sbrk(0) for that, which used to return the top of the heap. However recently, to my dismay, I discovered that it …

---

## [Has\_many Beziehungen abbilden](https://www.ruby-forum.com/t/has-many-beziehungen-abbilden/148697)

<div class="topic-metadata">

**Author:** [@Frank\_Mahlstedt](https://www.ruby-forum.com/u/Frank_Mahlstedt)\
**Replies:** 4\
**Last updated:** [September 16, 2008, 12:27pm UTC](https://www.ruby-forum.com/t/has-many-beziehungen-abbilden/148697 "2008-09-16T12:27:36Z")

</div>

Hallo Liste! Als PHP Umsteiger habe ich ab und an noch ein paar Probleme mit Rails. Im Moment komme ich bei folgendem nicht weiter: Ich habe eine kleine Anwendung auf die Beine gestellt. Es ist eine Bestandsliste. Hi…

---

## [Multiple deploy scripts](https://www.ruby-forum.com/t/multiple-deploy-scripts/140800)

<div class="topic-metadata">

**Author:** [@Slant](https://www.ruby-forum.com/u/Slant)\
**Replies:** 4\
**Last updated:** [June 19, 2008, 11:35pm UTC](https://www.ruby-forum.com/t/multiple-deploy-scripts/140800 "2008-06-19T23:35:19Z")

</div>

I’m taking over a project and am wanting to put a staging server in place. The thing holding me up is the Capistrano deploy scripts. I have changed the ‘deploy.rb’ file to ‘deploy-production.rb’ and then added a ‘de…

---

## [Blague du jour](https://www.ruby-forum.com/t/blague-du-jour/67643)

<div class="topic-metadata">

**Author:** [@ertai](https://www.ruby-forum.com/u/ertai)\
**Replies:** 4\
**Last updated:** [September 5, 2006, 10:34pm UTC](https://www.ruby-forum.com/t/blague-du-jour/67643 "2006-09-05T22:34:30Z")

</div>

re, J’ai la frite ce soir, je continue donc Ã polluer cette liste gaiement en vous proposant une petite perle signÃ©e Zed trouvÃ©e dans le source code de Mongrel Ã propos de “concurrency” (c’est Ã dire lancer plus…

---

## [Un Heroku italiano?](https://www.ruby-forum.com/t/un-heroku-italiano/223329)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [October 4, 2012, 11:44am UTC](https://www.ruby-forum.com/t/un-heroku-italiano/223329 "2012-10-04T11:44:36Z")

</div>

Ciao a tutti, Mi chiedevo se anche di sabato questa lista vispa come al solito e sa dirmi se esistono servizi paragonabili (per semplicit di utilizzo e configurazione, non necessariamente per caratteristiche tecniche…

---

## [Selects y Ajax y lios](https://www.ruby-forum.com/t/selects-y-ajax-y-lios/172163)

<div class="topic-metadata">

**Author:** [@eltercero](https://www.ruby-forum.com/u/eltercero)\
**Replies:** 5\
**Last updated:** [July 17, 2009, 11:19pm UTC](https://www.ruby-forum.com/t/selects-y-ajax-y-lios/172163 "2009-07-17T23:19:15Z")

</div>

Hola, Como descubrirÃ©is al leer el post, soy totalmente nuevo en Rails y en programaciÃ³n web. Tengo conocimientos de C y Java, pero de Ruby poco y de Rails mucho menos. Mi idea es hacer un apartado de una web que v…

---

## [Custom Radiant Tags](https://www.ruby-forum.com/t/custom-radiant-tags/159335)

<div class="topic-metadata">

**Author:** [@littleknown](https://www.ruby-forum.com/u/littleknown)\
**Replies:** 5\
**Last updated:** [February 3, 2009, 5:34pm UTC](https://www.ruby-forum.com/t/custom-radiant-tags/159335 "2009-02-03T17:34:27Z")

</div>

tag ‘kids:kid\_sport\_list’ do |tag| kid = tag.locals.kid kid.sports.each do |sport| %{#{sport.name}) end end For some reason this outputs a “#” for each sport in kid.sports instead of the name… Would anyone know wh…

---

## [Launching Rails (jruby script/server) hangs](https://www.ruby-forum.com/t/launching-rails-jruby-script-server-hangs/148493)

<div class="topic-metadata">

**Author:** [@mandrade](https://www.ruby-forum.com/u/mandrade)\
**Replies:** 5\
**Last updated:** [September 14, 2008, 7:32pm UTC](https://www.ruby-forum.com/t/launching-rails-jruby-script-server-hangs/148493 "2008-09-14T19:32:24Z")

</div>

I was following the tutorial for getting JRuby on Rails running in 120 seconds (http://blog.emptyway.com/2008/04/08/120-seconds-guide-to-jruby-on-rails/ ) and I just got hung up on the last step. The guide calls for …

---

## [Duda con variables de session](https://www.ruby-forum.com/t/duda-con-variables-de-session/147133)

<div class="topic-metadata">

**Author:** [@goku](https://www.ruby-forum.com/u/goku)\
**Replies:** 5\
**Last updated:** [August 29, 2008, 10:57am UTC](https://www.ruby-forum.com/t/duda-con-variables-de-session/147133 "2008-08-29T10:57:04Z")

</div>

Buenas amigos, estoy aqui por q tengo una duda y necesito su ayuda. El tema es con las variables de session actualmente las manejo de esta manera en el archivo application.rb coloco esto session :session\_key =\> …

---

## [Stop words in query](https://www.ruby-forum.com/t/stop-words-in-query/81728)

<div class="topic-metadata">

**Author:** [@nappin](https://www.ruby-forum.com/u/nappin)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 10:43pm UTC](https://www.ruby-forum.com/t/stop-words-in-query/81728 "2007-09-25T22:43:40Z")

</div>

Hello all, Quick question, I’m using AAF and the following custom analyzer: class StemmedAnalyzer \< Ferret::Analysis::Analyzer include Ferret::Analysis def initialize(stop\_words = ENGLISH\_STOP\_WORDS) @stop\_words = s…

---

## [How to chinese with PDF::Writer](https://www.ruby-forum.com/t/how-to-chinese-with-pdf-writer/92644)

<div class="topic-metadata">

**Author:** [@haoqi](https://www.ruby-forum.com/u/haoqi)\
**Replies:** 5\
**Last updated:** [April 26, 2007, 7:32am UTC](https://www.ruby-forum.com/t/how-to-chinese-with-pdf-writer/92644 "2007-04-26T07:32:48Z")

</div>

I know Rfpdf(http://dry.4thebusiness.com/info/rfpdf) suport chinese,how about PDF::Writer? I use acts\_as\_reportable plugin render chinese pdf file(dependence PDF::Writer) sorry my poor English.

---

## [Webrick fails with large files](https://www.ruby-forum.com/t/webrick-fails-with-large-files/87063)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 5\
**Last updated:** [February 28, 2007, 4:54am UTC](https://www.ruby-forum.com/t/webrick-fails-with-large-files/87063 "2007-02-28T04:54:17Z")

</div>

So…apparently webrick does the following for serving pages: loads the page into a string object then sends that string to the requestor. Unfortunately this means that if it is a very large file being served that that…

---

## [Fake ActiveRecord model?](https://www.ruby-forum.com/t/fake-activerecord-model/87581)

<div class="topic-metadata">

**Author:** [@janfoeh](https://www.ruby-forum.com/u/janfoeh)\
**Replies:** 5\
**Last updated:** [March 27, 2006, 8:32pm UTC](https://www.ruby-forum.com/t/fake-activerecord-model/87581 "2006-03-27T20:32:27Z")

</div>

Hi all, I have a legacy table which I cannot get to work with ActiveRecord (no ids etc). All I want is to create a class which opens a connection manually and allows me to execute some plain SQL statements. What I ca…

---

## [Ssl cache pooling (kind of)](https://www.ruby-forum.com/t/ssl-cache-pooling-kind-of/239979)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [March 24, 2014, 2:10pm UTC](https://www.ruby-forum.com/t/ssl-cache-pooling-kind-of/239979 "2014-03-24T14:10:46Z")

</div>

Hello, I would like to know if we could replicate the shared memory over multiple servers. One cannot reliably use the new ticket system since not all webbrowsers support this. My idea is to modify the ngx\_shared\_m…

---

## [Need help not able to run rails server 2.1.0](https://www.ruby-forum.com/t/need-help-not-able-to-run-rails-server-2-1-0/204167)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [March 7, 2011, 8:53pm UTC](https://www.ruby-forum.com/t/need-help-not-able-to-run-rails-server-2-1-0/204167 "2011-03-07T20:53:54Z")

</div>

Hi , I am helping out my friend to maintain his website built using ruby 1.8.6 and rails 2.1.0 …at lesst that what noticed in the production side. i am trying to create the same environment as so mant experts in this …

---

## [Personalizacion del logger](https://www.ruby-forum.com/t/personalizacion-del-logger/170987)

<div class="topic-metadata">

**Author:** [@asafdasa](https://www.ruby-forum.com/u/asafdasa)\
**Replies:** 6\
**Last updated:** [June 25, 2009, 7:47am UTC](https://www.ruby-forum.com/t/personalizacion-del-logger/170987 "2009-06-25T07:47:52Z")

</div>

Hola estoy intentando, poner una marca de tiempo distinta a Time.now , en cada invocacion del logger, para ello he hecho un metodo, lo pongo mas abajo por si le sirve a alguien. el caso es que podria ponerlo en un con…

---

## [\[ANN\] CruiseControl.rb 1.0](https://www.ruby-forum.com/t/ann-cruisecontrol-rb-1-0/88626)

<div class="topic-metadata">

**Author:** [@alexeyv](https://www.ruby-forum.com/u/alexeyv)\
**Replies:** 6\
**Last updated:** [March 13, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/ann-cruisecontrol-rb-1-0/88626 "2007-03-13T18:05:01Z")

</div>

Hmmm. Another Continuous Integration tool? What is that, the millionth one? Yup, pretty much, but we’re taking a different approach than the others in a way, back to the basics. Here’s our motto: Easy to instal…

---

## [Mongrel\_cluster restart problem with capistrano](https://www.ruby-forum.com/t/mongrel-cluster-restart-problem-with-capistrano/83892)

<div class="topic-metadata">

**Author:** [@cpjolicoeur](https://www.ruby-forum.com/u/cpjolicoeur)\
**Replies:** 6\
**Last updated:** [February 22, 2007, 3:59pm UTC](https://www.ruby-forum.com/t/mongrel-cluster-restart-problem-with-capistrano/83892 "2007-02-22T15:59:14Z")

</div>

I’m having an issue every time I deploy where my mongrel\_cluster isn’t being restarted and I have to do the mongrel\_cluster::restart command myself manually through the terminal on my server. I’ve pasted my config/dep…

---

## [A simple problem, please help](https://www.ruby-forum.com/t/a-simple-problem-please-help/76302)

<div class="topic-metadata">

**Author:** [@pingu](https://www.ruby-forum.com/u/pingu)\
**Replies:** 6\
**Last updated:** [November 18, 2006, 11:17am UTC](https://www.ruby-forum.com/t/a-simple-problem-please-help/76302 "2006-11-18T11:17:22Z")

</div>

I have a recipe and a category table, as per recipe belongs to a category a category has many recipes in my controller, how do i get an instance variable that contains all recipes that belong to the category ‘sweet’…

---

## [String + Range = Strange](https://www.ruby-forum.com/t/string-range-strange/49215)

<div class="topic-metadata">

**Author:** [@martindemello](https://www.ruby-forum.com/u/martindemello)\
**Replies:** 6\
**Last updated:** [December 2, 2005, 12:47pm UTC](https://www.ruby-forum.com/t/string-range-strange/49215 "2005-12-02T12:47:59Z")

</div>

How does this work? irb(main):002:0\> (“a”…“z”).to\_a =\> \[“a”, “b”, “c”, “d”, “e”, “f”, “g”, “h”, “i”, “j”, “k”, “l”, “m”, “n”, “o”, “p”, “q”, “r”, “s”, “t”, “u”, “v”, “w”, “x”, “y”, “z”\] irb(main):003:0\> (“aa”…“z”).to…

---

## [RSpec and Cucumber](https://www.ruby-forum.com/t/rspec-and-cucumber/240067)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [March 28, 2014, 12:47pm UTC](https://www.ruby-forum.com/t/rspec-and-cucumber/240067 "2014-03-28T12:47:50Z")

</div>

As a learner of RSpec in “The RSpec Book” When I run the cucumber command, I get loaderror as, C:…\\codebreaker\\features\>cucumber codebreaker\_starts\_game.feature C:/Ruby193/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_requ…

---

## [Problem with array of hashes](https://www.ruby-forum.com/t/problem-with-array-of-hashes/220312)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 8\
**Last updated:** [June 5, 2012, 8:26pm UTC](https://www.ruby-forum.com/t/problem-with-array-of-hashes/220312 "2012-06-05T20:26:23Z")

</div>

Hi , I have created an array of hashes using Model file class Class A \< ActiveRecord::Base def fill\_paths paths = Array.new for file in @files path = {} path\[“a”\] = file path\[“b”\] = DATA2(assume data2 is valid) …

---

## [Problems with Object#id deprecation](https://www.ruby-forum.com/t/problems-with-object-id-deprecation/204565)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [March 16, 2011, 8:34pm UTC](https://www.ruby-forum.com/t/problems-with-object-id-deprecation/204565 "2011-03-16T20:34:25Z")

</div>

Hello everyone, in a test helper in my app I call category.id that gets the id of category in the database. However, when running RSpec I get the following error: As a parla customer /Users/saulolopes/code/parla/spe…

---

## [Do you agree that as some point, every (big enough) Rails app sould not rely only on ActiveRecord?](https://www.ruby-forum.com/t/do-you-agree-that-as-some-point-every-big-enough-rails-app-sould-not-rely-only-on-activerecord/203645)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [March 3, 2011, 10:24pm UTC](https://www.ruby-forum.com/t/do-you-agree-that-as-some-point-every-big-enough-rails-app-sould-not-rely-only-on-activerecord/203645 "2011-03-03T22:24:30Z")

</div>

Hi. I’ve just read an interview of the CTO of Gowalla where they use Ruby and Rails: Ruby on Rails: Scaling Your App for Rapid Growth | Mashable He says: Every Rails app that Ive ever worked on has had to break away…

---

## [Accessing the field of a model that belongs to another model using dot notation](https://www.ruby-forum.com/t/accessing-the-field-of-a-model-that-belongs-to-another-model-using-dot-notation/203633)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [February 25, 2011, 10:02pm UTC](https://www.ruby-forum.com/t/accessing-the-field-of-a-model-that-belongs-to-another-model-using-dot-notation/203633 "2011-02-25T22:02:51Z")

</div>

Hey all, with this below (a post has many blog\_images and blog\_image belongs to post): \<% @posts.each do |post| %\> \<div class="FeatureItem"\> \<a href=""\>\<img src="/images/\<%= post.blog\_images.image\_file\_name %\>" …

---

## [Ajax, Observers e autorefresh](https://www.ruby-forum.com/t/ajax-observers-e-autorefresh/184908)

<div class="topic-metadata">

**Author:** [@jeanluca](https://www.ruby-forum.com/u/jeanluca)\
**Replies:** 8\
**Last updated:** [March 11, 2010, 11:01am UTC](https://www.ruby-forum.com/t/ajax-observers-e-autorefresh/184908 "2010-03-11T11:01:15Z")

</div>

Ciao a tutti, mi servirebbe una dritta su come implementare l’autorefresh di una lista di posts. L’idea e’, che se un utente sta guardando una pagina che lista i suoi post e quelli del suo gruppo, dovrebbe vedere arri…

---

## [\[Bug:trunk\] rubyspec: ObjectSpace.define\_finalizer doesn't call self-referencing finalizers FAILED](https://www.ruby-forum.com/t/bug-trunk-rubyspec-objectspace-define-finalizer-doesnt-call-self-referencing-finalizers-failed/183247)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 8\
**Last updated:** [February 16, 2010, 1:37pm UTC](https://www.ruby-forum.com/t/bug-trunk-rubyspec-objectspace-define-finalizer-doesnt-call-self-referencing-finalizers-failed/183247 "2010-02-16T13:37:41Z")

</div>

e$B$J$+$@$5$s$+$^$D$b$H$5$se(B e$B1sF#$G$9!#e(B e$B0J2\<$N$h$&$K$9$k$He(B T\_ZOMBIE e$B$,8+$($F$7$^$&$N$O%P%0$G$7$g$&$+!#e(B $ ./ruby -ve ’ obj = “test” ObjectSpace.define\_finalizer(obj, proc { begin; p obj; ensure; …

---

## [Ffi: How to use wchar\_t strings?](https://www.ruby-forum.com/t/ffi-how-to-use-wchar-t-strings/181810)

<div class="topic-metadata">

**Author:** [@quintus](https://www.ruby-forum.com/u/quintus)\
**Replies:** 3\
**Last updated:** [January 19, 2010, 2:18pm UTC](https://www.ruby-forum.com/t/ffi-how-to-use-wchar-t-strings/181810 "2010-01-19T14:18:14Z")

</div>

Hello, I’m trying to use the ffi gem to work with some WinAPI functions. Till now, I’ve used the win32-api gem which worked quite well, but I’d like to try out something new (and maybe easier :wink: ). So, here’s my …

---

## [\[Feature:trunk\] with\_index\_from](https://www.ruby-forum.com/t/feature-trunk-with-index-from/159538)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 8\
**Last updated:** [February 12, 2009, 9:01am UTC](https://www.ruby-forum.com/t/feature-trunk-with-index-from/159538 "2009-02-12T09:01:05Z")

</div>

e$B1sF#$G$9!#e(B with\_index e$B$N3+;O%$%s%G%C%/%9$r;XDj$G$-$k%P!\<%8%g%s$,$"$k$HJXMx$@$He(B e$B;W$$$^$9!#e(B $ ./ruby -e ‘p %w(a b c).map.with\_index\_from(1) {|c, i| \[c, i\] }’ \[\[“a”, 1\], \[“b”, 2\], \[“c”, 3\]\] e$B%$%s%G…

---

## [How can I run url without using port?](https://www.ruby-forum.com/t/how-can-i-run-url-without-using-port/141772)

<div class="topic-metadata">

**Author:** [@zangsdev](https://www.ruby-forum.com/u/zangsdev)\
**Replies:** 8\
**Last updated:** [July 1, 2008, 1:41pm UTC](https://www.ruby-forum.com/t/how-can-i-run-url-without-using-port/141772 "2008-07-01T13:41:05Z")

</div>

Hello, I have developed 2-3 sample ruby application… and my server name is like http://www.mydomain.com Now when I run one of my the ruby application say “first\_app”, then I have to use http://www.mydomain.com:3000/ …

---

## [Encryptage avec attachment\_fu et send\_file](https://www.ruby-forum.com/t/encryptage-avec-attachment-fu-et-send-file/139281)

<div class="topic-metadata">

**Author:** [@katebe](https://www.ruby-forum.com/u/katebe)\
**Replies:** 8\
**Last updated:** [June 5, 2008, 2:48pm UTC](https://www.ruby-forum.com/t/encryptage-avec-attachment-fu-et-send-file/139281 "2008-06-05T14:48:34Z")

</div>

bonjour j’ai suivis ce tutoriel , part 1 =\> part 2 =\> http://www.onehub.com/past/2008/4/21/encrypting\_your\_files\_with\_rails\_part/ j’ai fais la premiÃ¨re partie,c’est bien j’ai compris ou il veut mettre le code,mai…

---

## [BasicRx Daugterboard Frequency Wrapping](https://www.ruby-forum.com/t/basicrx-daugterboard-frequency-wrapping/138390)

<div class="topic-metadata">

**Author:** [@isaacgerg](https://www.ruby-forum.com/u/isaacgerg)\
**Replies:** 8\
**Last updated:** [May 22, 2008, 5:32pm UTC](https://www.ruby-forum.com/t/basicrx-daugterboard-frequency-wrapping/138390 "2008-05-22T17:32:47Z")

</div>

Hi, I am hooked up to the BasicRx Daughterboard and wrote a simple applicate using the GRC to survey the spectrum from 1MHz to 250MHz and run the user tunable output through the WFM Demodulator. I can get FM radio …

---

## [Pretting printing di ActiveRecord](https://www.ruby-forum.com/t/pretting-printing-di-activerecord/104110)

<div class="topic-metadata">

**Author:** [@dawillis](https://www.ruby-forum.com/u/dawillis)\
**Replies:** 8\
**Last updated:** [May 15, 2007, 1:42pm UTC](https://www.ruby-forum.com/t/pretting-printing-di-activerecord/104110 "2007-05-15T13:42:45Z")

</div>

Cosa usate per fare il ‘pretty printing’ (stampare in modo leggibile) di oggetti ActiveRecord? Grazie e saluti da Innsbruck, David N. Welton David N. Welton Linux, Open Source Consulting http://www.dedasys.com/

---

## [Views in one controller reaching out to other controllers (b](https://www.ruby-forum.com/t/views-in-one-controller-reaching-out-to-other-controllers-b/99704)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 8\
**Last updated:** [July 25, 2006, 9:05am UTC](https://www.ruby-forum.com/t/views-in-one-controller-reaching-out-to-other-controllers-b/99704 "2006-07-25T09:05:52Z")

</div>

Hello all. For the purpose of my question, let’s imagine we’re building some search functionality. You’re a sales person (you poor sap). And you’re hanging out in the SalesCenterController. You need to do a search fo…

---

## [Slightly OT - Ruby division](https://www.ruby-forum.com/t/slightly-ot-ruby-division/50397)

<div class="topic-metadata">

**Author:** [@typej](https://www.ruby-forum.com/u/typej)\
**Replies:** 8\
**Last updated:** [December 16, 2005, 6:00pm UTC](https://www.ruby-forum.com/t/slightly-ot-ruby-division/50397 "2005-12-16T18:00:47Z")

</div>

Hey all, In my code, it seems that when I divide two integers, the result is an integer. Is there any way to make it such that when I divide two integers, the result is a double? Any help appreciated, Jin

---

## [Re: Ordinal Date String to Standard Date String for a Beginn](https://www.ruby-forum.com/t/re-ordinal-date-string-to-standard-date-string-for-a-beginn/48260)

<div class="topic-metadata">

**Author:** [@botp](https://www.ruby-forum.com/u/botp)\
**Replies:** 8\
**Last updated:** [November 18, 2005, 10:09pm UTC](https://www.ruby-forum.com/t/re-ordinal-date-string-to-standard-date-string-for-a-beginn/48260 "2005-11-18T22:09:23Z")

</div>

davyb \[mailto:removed\_email\_address@domain.invalid\] #I have an ordinal date string and I want to change it to an ordinary #date string. For example: 2005/1 should give January 1, 2005. I see #ordinal in the Date cla…

---

## [Need help getting ScottKit working on ruby 3.2.8](https://www.ruby-forum.com/t/need-help-getting-scottkit-working-on-ruby-3-2-8/267751)

<div class="topic-metadata">

**Author:** [@kyrathasoft](https://www.ruby-forum.com/u/kyrathasoft)\
**Replies:** 1\
**Last updated:** [June 10, 2025, 8:06am UTC](https://www.ruby-forum.com/t/need-help-getting-scottkit-working-on-ruby-3-2-8/267751 "2025-06-10T08:06:39Z")

</div>

I’m running Windows 11, and have Ruby 3.2.8 installed. I installed Scottkit via ‘gem install scottkit’. Scottkit is a ruby-made tool for compiling and playing interactive fiction games of the Scott Adams format. Here’s…

---

## [No upstream\_response\_time in access log file](https://www.ruby-forum.com/t/no-upstream-response-time-in-access-log-file/224216)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [November 9, 2012, 4:12am UTC](https://www.ruby-forum.com/t/no-upstream-response-time-in-access-log-file/224216 "2012-11-09T04:12:32Z")

</div>

i use nginx as reverse proxy server , and php-fpm as fast cgi upstream. i found some access in nginx access log file doesen’t has a “$upstream\_response\_time” value but a “-” character instead , and also has “$re…

---

## [Hosting a web application from a subsite](https://www.ruby-forum.com/t/hosting-a-web-application-from-a-subsite/234796)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [July 7, 2014, 8:04pm UTC](https://www.ruby-forum.com/t/hosting-a-web-application-from-a-subsite/234796 "2014-07-07T20:04:41Z")

</div>

Im not having much luck trying to configure this site the way I want. Im modifying Matomo | NGINX to suit a case in which it is served out of a subsite location, e.g. example.com/stats. Ive created 2 configuration fil…

---

## [Clicking links in mechanize with :text=\> nokogiri.css('a.l')](https://www.ruby-forum.com/t/clicking-links-in-mechanize-with-text-nokogiri-css-a-l/158914)

<div class="topic-metadata">

**Author:** [@edouard](https://www.ruby-forum.com/u/edouard)\
**Replies:** 2\
**Last updated:** [May 15, 2014, 1:42pm UTC](https://www.ruby-forum.com/t/clicking-links-in-mechanize-with-text-nokogiri-css-a-l/158914 "2014-05-15T13:42:35Z")

</div>

Hi, i cannot click links in mechanize through their text content. i tried the following but get error with link\_with(:text =\> ‘’) method or using the whole text content obtained through nokogiri parser method css(‘a.…

---

## [Invalid auth token on production site](https://www.ruby-forum.com/t/invalid-auth-token-on-production-site/236110)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [October 9, 2013, 8:58pm UTC](https://www.ruby-forum.com/t/invalid-auth-token-on-production-site/236110 "2013-10-09T20:58:53Z")

</div>

I get this error Invalid auth token on my production website (Rails 4) deployed using capistrano and puma. Just that error on a white screen and nothing else. How do I debug this? I googled for similar error but al…

---

## [Varias relaciones entre dos clases](https://www.ruby-forum.com/t/varias-relaciones-entre-dos-clases/192029)

<div class="topic-metadata">

**Author:** [@zdavidlnx](https://www.ruby-forum.com/u/zdavidlnx)\
**Replies:** 2\
**Last updated:** [October 3, 2010, 7:34pm UTC](https://www.ruby-forum.com/t/varias-relaciones-entre-dos-clases/192029 "2010-10-03T19:34:37Z")

</div>

Buenas tardes a todos, una duda que se me plantea en una aplicaciÃ³n que estoy implementando. Tengo dos clases, Usuario y Concierto, en la que cada concierto estÃ¡ creado por un usuario. Por lo tanto, en el modelo de …

---

## [Mailing list management in Ruby with Sinatra](https://www.ruby-forum.com/t/mailing-list-management-in-ruby-with-sinatra/240605)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 24, 2014, 7:32pm UTC](https://www.ruby-forum.com/t/mailing-list-management-in-ruby-with-sinatra/240605 "2014-04-24T19:32:26Z")

</div>

I have discovered need of mailing list management capability for a Sinatra-based site, specifically without licensing restrictions that would be incompatible with copyfree licenses (e.g. MIT/X11 License, Open Works Li…

---

## [Jrubyc --java under windows does not work](https://www.ruby-forum.com/t/jrubyc-java-under-windows-does-not-work/188789)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [June 5, 2010, 7:52pm UTC](https://www.ruby-forum.com/t/jrubyc-java-under-windows-does-not-work/188789 "2010-06-05T19:52:38Z")

</div>

hello, I need someone telling me what is wrong here the ruby code is in http://github.com/mkristian/jruby-maven-plugins/tree/master/jruby-maven-plugin/src/it/generate-java-and-compile/ or better in the subdirectory s…

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

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