# Top

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

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

---

## [Exclude Files from Capistrano / Source Control](https://www.ruby-forum.com/t/exclude-files-from-capistrano-source-control/165887)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 3\
**Last updated:** [April 19, 2009, 3:09am UTC](https://www.ruby-forum.com/t/exclude-files-from-capistrano-source-control/165887 "2009-04-19T03:09:39Z")

</div>

Hello, I have some video clips I want to make accessible through my web server (through the public folder). However, they are large and I do not want to commit them to Git so that capistrano can automatically upload t…

---

## [Any alternative API for set\_auto\_tr when using xcvr2450+usrp2](https://www.ruby-forum.com/t/any-alternative-api-for-set-auto-tr-when-using-xcvr2450-usrp2/161537)

<div class="topic-metadata">

**Author:** [@Xiaolong\_Li](https://www.ruby-forum.com/u/Xiaolong_Li)\
**Replies:** 3\
**Last updated:** [March 2, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/any-alternative-api-for-set-auto-tr-when-using-xcvr2450-usrp2/161537 "2009-03-02T21:39:03Z")

</div>

Hello all, Can I still call set\_auto\_tr to enable auto switch Rx and Tx with xcvr2450+usrp2? It seems like the set\_auto\_tr is no longer available. Is there any alternative API for same function? Without calling set\_a…

---

## [Problem with RAILS\_DEFAULT\_LOGGER in 1.2.2](https://www.ruby-forum.com/t/problem-with-rails-default-logger-in-1-2-2/84982)

<div class="topic-metadata">

**Author:** [@srogers](https://www.ruby-forum.com/u/srogers)\
**Replies:** 3\
**Last updated:** [February 9, 2007, 6:20am UTC](https://www.ruby-forum.com/t/problem-with-rails-default-logger-in-1-2-2/84982 "2007-02-09T06:20:54Z")

</div>

I’m getting the following error in 1.2.2: /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/ active\_support/dependencies.rb:263:in \`load\_missing\_constant’:NameError: uninitialized constant ActiveSupport::Depr…

---

## [Basic Auth (for personalized RSS-Feed)](https://www.ruby-forum.com/t/basic-auth-for-personalized-rss-feed/61203)

<div class="topic-metadata">

**Author:** [@justbe](https://www.ruby-forum.com/u/justbe)\
**Replies:** 3\
**Last updated:** [May 22, 2006, 10:39am UTC](https://www.ruby-forum.com/t/basic-auth-for-personalized-rss-feed/61203 "2006-05-22T10:39:05Z")

</div>

Hey there, Has anyone already implemented some sort of basic auth to be used with the user/login-engine? I am asking because I want to offer personalized feeds for a small web-application and eventually someone know…

---

## ["Successfully installed rails-4.2.1 ERROR: Could not find a valid gem '4.2.1' (\>= 0) in any repo"](https://www.ruby-forum.com/t/successfully-installed-rails-4-2-1-error-could-not-find-a-valid-gem-4-2-1-0-in-any-repo/241765)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [April 29, 2015, 7:31pm UTC](https://www.ruby-forum.com/t/successfully-installed-rails-4-2-1-error-could-not-find-a-valid-gem-4-2-1-0-in-any-repo/241765 "2015-04-29T19:31:30Z")

</div>

“Successfully installed rails-4.2.1 ERROR: Could not find a valid gem ‘4.2.1’ (\>= 0) in any repository” Does anyone recognize this error message or understand what it is saying I should do?

---

## [Clarification of lock() and unlock() in Dynamic Flow-Graph Reconfiguration](https://www.ruby-forum.com/t/clarification-of-lock-and-unlock-in-dynamic-flow-graph-reconfiguration/194084)

<div class="topic-metadata">

**Author:** [@venkey81185](https://www.ruby-forum.com/u/venkey81185)\
**Replies:** 5\
**Last updated:** [November 22, 2010, 6:14am UTC](https://www.ruby-forum.com/t/clarification-of-lock-and-unlock-in-dynamic-flow-graph-reconfiguration/194084 "2010-11-22T06:14:38Z")

</div>

Hello All, I am having some difficulties implementing a cognitive receiver program that involves dynamically reconfiguring the USRP between sensing the spectrum and acting as a receiver based on the results of the s…

---

## [Dans ce cas, une bonne formation sur Paris](https://www.ruby-forum.com/t/dans-ce-cas-une-bonne-formation-sur-paris/182538)

<div class="topic-metadata">

**Author:** [@drumyseb](https://www.ruby-forum.com/u/drumyseb)\
**Replies:** 5\
**Last updated:** [February 8, 2010, 11:19am UTC](https://www.ruby-forum.com/t/dans-ce-cas-une-bonne-formation-sur-paris/182538 "2010-02-08T11:19:48Z")

</div>

bonjour comme apperement personne n’est dispo pour me former :frowning: pouvez vous m’indiquer les bonnes adresses de centre de formation pour Ruby et RoR sur Paris ou RP ?? merci Seb

---

## [Rolling String Buffer needed](https://www.ruby-forum.com/t/rolling-string-buffer-needed/176585)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 5\
**Last updated:** [October 3, 2009, 5:35am UTC](https://www.ruby-forum.com/t/rolling-string-buffer-needed/176585 "2009-10-03T05:35:10Z")

</div>

I have constant ascii data streaming in, each message terminated with \\n, currently I look for something specific and throw away the other stuff and then look for something specific and throw away the other stuff…etc …

---

## [Problem with colorized output in cygwin on Vista (was: RSpec Formats with Strange Characters)](https://www.ruby-forum.com/t/problem-with-colorized-output-in-cygwin-on-vista-was-rspec-formats-with-strange-characters/164773)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 5\
**Last updated:** [April 6, 2009, 4:03am UTC](https://www.ruby-forum.com/t/problem-with-colorized-output-in-cygwin-on-vista-was-rspec-formats-with-strange-characters/164773 "2009-04-06T04:03:36Z")

</div>

Changing the name of this to hopefully catch the eye of other Vista/cygwin/rspec users. On Sun, Apr 5, 2009 at 9:45 AM, Brandon O. removed\_email\_address@domain.invalid wrote: Please describe your environment. OS, v…

---

## [wxRuby 1.9.7 released](https://www.ruby-forum.com/t/wxruby-1-9-7-released/137235)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 5\
**Last updated:** [May 12, 2008, 7:35am UTC](https://www.ruby-forum.com/t/wxruby-1-9-7-released/137235 "2008-05-12T07:35:34Z")

</div>

Hi wxRuby 1.9.7 is now available from rubyforge. This release is mainly to restore one-step gem installation for Windows users, so they can easily benefit from the many enhancements and fixes that were included in 1.…

---

## [Is there an easy way to color/control console output?](https://www.ruby-forum.com/t/is-there-an-easy-way-to-color-control-console-output/128227)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 5\
**Last updated:** [February 6, 2008, 8:17pm UTC](https://www.ruby-forum.com/t/is-there-an-easy-way-to-color-control-console-output/128227 "2008-02-06T20:17:16Z")

</div>

Hello everyone, is there an easy way for me to color my console output? What about updating just a particular x/y coordinate? I don’t have time to learn Tk right now for a graphical GUI but just being able to contro…

---

## [Examples for advanced radiant extensions?](https://www.ruby-forum.com/t/examples-for-advanced-radiant-extensions/84124)

<div class="topic-metadata">

**Author:** [@Benjamin\_Heitmann](https://www.ruby-forum.com/u/Benjamin_Heitmann)\
**Replies:** 5\
**Last updated:** [February 13, 2007, 11:10am UTC](https://www.ruby-forum.com/t/examples-for-advanced-radiant-extensions/84124 "2007-02-13T11:10:40Z")

</div>

Hello there. I am currently looking into the radiant extension architecture, and I am very excited about the possibilities there. But since there is no real documentation for writing extensions, I am searching for ex…

---

## [Ascii Character to Decimal Base 10 value](https://www.ruby-forum.com/t/ascii-character-to-decimal-base-10-value/60319)

<div class="topic-metadata">

**Author:** [@doug3](https://www.ruby-forum.com/u/doug3)\
**Replies:** 5\
**Last updated:** [May 12, 2006, 2:41am UTC](https://www.ruby-forum.com/t/ascii-character-to-decimal-base-10-value/60319 "2006-05-12T02:41:07Z")

</div>

Greetings all, I would like to know how one might convert a letter such as “H” to its corresponding ascii decimal value. On the flip side, how might I take the decimal value and convert it back to the alpha-numeric …

---

## [QWidget: Must construct a QApplication before a QPaintDevice](https://www.ruby-forum.com/t/qwidget-must-construct-a-qapplication-before-a-qpaintdevice/244977)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 21, 2016, 11:37pm UTC](https://www.ruby-forum.com/t/qwidget-must-construct-a-qapplication-before-a-qpaintdevice/244977 "2016-07-21T23:37:18Z")

</div>

HI, I am new to GNUradio. I have run into a problem when i tried to run a gnuradio python file but the GUI didn’t start. Below is the output. Executing: /usr/bin/python2 -u /home/champly/gr-ieee802-11/examples/wifi\_l…

---

## [Adobe India looking for RoR Developers](https://www.ruby-forum.com/t/adobe-india-looking-for-ror-developers/243576)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [May 22, 2016, 10:11am UTC](https://www.ruby-forum.com/t/adobe-india-looking-for-ror-developers/243576 "2016-05-22T10:11:02Z")

</div>

Cloud Ops has an exciting and challenging mission: Build, deploy, operate, scale, maintain and secure a company-wide platform (PaaS) for Adobe Saas solutions. While Engineering focuses on building the platform, Cloud …

---

## [How to find out the resolution of the monitor before starting a Ruby-Gnome widget?](https://www.ruby-forum.com/t/how-to-find-out-the-resolution-of-the-monitor-before-starting-a-ruby-gnome-widget/234763)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 27, 2015, 9:55pm UTC](https://www.ruby-forum.com/t/how-to-find-out-the-resolution-of-the-monitor-before-starting-a-ruby-gnome-widget/234763 "2015-03-27T21:55:03Z")

</div>

Hi, I wish to set the start-size of my widget to 80% of width and height. But for this, I need to know the resolution of the computer. Is this doable?

---

## [Ammetto, ho la testa dura](https://www.ruby-forum.com/t/ammetto-ho-la-testa-dura/211765)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [September 13, 2011, 11:57am UTC](https://www.ruby-forum.com/t/ammetto-ho-la-testa-dura/211765 "2011-09-13T11:57:14Z")

</div>

quando cerco di installare mysql2 mi dice quanto sotto riportato: gem install mysql2 /usr/local/rvm/rubies/ruby-1.9.2-p290/bin/gem:4: warning: Insecure world writable dir /usr/local/rvm/gems/ruby-1.9.2-p290/bin in PAT…

---

## [Cleaning up migrations](https://www.ruby-forum.com/t/cleaning-up-migrations/195707)

<div class="topic-metadata">

**Author:** [@trapper](https://www.ruby-forum.com/u/trapper)\
**Replies:** 7\
**Last updated:** [September 28, 2010, 10:41pm UTC](https://www.ruby-forum.com/t/cleaning-up-migrations/195707 "2010-09-28T22:41:26Z")

</div>

My project has a lot of migrations, that ar not all necessary on my new server, since the database has been copied. For installation, I simply removed these migrations on the the server, before executing, but that no …

---

## [Polymorphic STI with associations](https://www.ruby-forum.com/t/polymorphic-sti-with-associations/175627)

<div class="topic-metadata">

**Author:** [@eric](https://www.ruby-forum.com/u/eric)\
**Replies:** 7\
**Last updated:** [September 20, 2009, 8:09pm UTC](https://www.ruby-forum.com/t/polymorphic-sti-with-associations/175627 "2009-09-20T20:09:55Z")

</div>

I have been working on a polymorphic STI schema where the inheriting classes have associations: class Asset \< ActiveRecord::Base end class Sound \< Asset belongs\_to :user, :polymorphic =\> true end class User \< Acti…

---

## [Problema con relaciones](https://www.ruby-forum.com/t/problema-con-relaciones/145558)

<div class="topic-metadata">

**Author:** [@maite](https://www.ruby-forum.com/u/maite)\
**Replies:** 7\
**Last updated:** [August 12, 2008, 2:35pm UTC](https://www.ruby-forum.com/t/problema-con-relaciones/145558 "2008-08-12T14:35:17Z")

</div>

hola lista tengo una relacion 1 a muchos entre fuente y url por otro lado tengo un formulario que me muestra todas las fuentes y sus url el usuario puede picar mas de una url de cada fuente. cuando le doy a aceptar qu…

---

## [Ultraviolet 0.9.0 Released](https://www.ruby-forum.com/t/ultraviolet-0-9-0-released/103990)

<div class="topic-metadata">

**Author:** [@Dizan\_V](https://www.ruby-forum.com/u/Dizan_V)\
**Replies:** 7\
**Last updated:** [September 7, 2007, 3:06pm UTC](https://www.ruby-forum.com/t/ultraviolet-0-9-0-released/103990 "2007-09-07T15:06:12Z")

</div>

I have the pleasure to announce the first public release of ultraviolet. http://ultraviolet.rubyforge.org Ultraviolet is a syntax highlighting library and engine. It uses TextMate\[http://macromates.com/\] syntax files …

---

## [MacBook vs.?](https://www.ruby-forum.com/t/macbook-vs/108402)

<div class="topic-metadata">

**Author:** [@DyingToLearn](https://www.ruby-forum.com/u/DyingToLearn)\
**Replies:** 7\
**Last updated:** [July 4, 2007, 8:50am UTC](https://www.ruby-forum.com/t/macbook-vs/108402 "2007-07-04T08:50:24Z")

</div>

Hi, I need some help on a new laptop purchase! I have an old toshiba laptop that is currency running Ubuntu 7.04. The machine is definitely on it’s last legs; I expect it to die any time within the next 3 months, pro…

---

## [Regexp and string halts ruby](https://www.ruby-forum.com/t/regexp-and-string-halts-ruby/83396)

<div class="topic-metadata">

**Author:** [@rgr](https://www.ruby-forum.com/u/rgr)\
**Replies:** 7\
**Last updated:** [January 26, 2007, 10:58am UTC](https://www.ruby-forum.com/t/regexp-and-string-halts-ruby/83396 "2007-01-26T10:58:28Z")

</div>

I’ve tried the following regexp/string match: /^((?:\\s\*.+\[;=\]\[^,\]\*,?)+)$/ =~ " pid=934, time=478611, command=TMQFORWARD, args=-C dom=ccaApp -g 650 -i 4278 -u pthp68 -U /home1/eclprp/logs/tx/ULOG -m 0 – -i 10 -t 600 -q…

---

## [Is Ruby stable for production use?](https://www.ruby-forum.com/t/is-ruby-stable-for-production-use/56112)

<div class="topic-metadata">

**Author:** [@seanb](https://www.ruby-forum.com/u/seanb)\
**Replies:** 7\
**Last updated:** [March 29, 2006, 6:56am UTC](https://www.ruby-forum.com/t/is-ruby-stable-for-production-use/56112 "2006-03-29T06:56:15Z")

</div>

Hi, I realise that Windows is a poor platform and that Webrick is a development, not production, server. However, we have started seeing this crop up when perfectly simple page to page links are invoked… \[2006-03-2…

---

## [Spliting a string](https://www.ruby-forum.com/t/spliting-a-string/261099)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 4\
**Last updated:** [March 15, 2021, 6:29am UTC](https://www.ruby-forum.com/t/spliting-a-string/261099 "2021-03-15T06:29:32Z")

</div>

my input string = “‘DM,US:1210’,null,1007,2021-01-11” expected output is = \[“DM,US:1210”,“null”,“1007”,“2021-01-11”\] how can i get this output ?

---

## [BDD, Steak e CRUD: ha senso testare in questo modo?](https://www.ruby-forum.com/t/bdd-steak-e-crud-ha-senso-testare-in-questo-modo/208462)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 23, 2011, 9:52am UTC](https://www.ruby-forum.com/t/bdd-steak-e-crud-ha-senso-testare-in-questo-modo/208462 "2011-06-23T09:52:44Z")

</div>

Ciao, per la prima volta ho avuto la possibilit di iniziare un progetto con la traquillit di poter perdere qualche giornata ad imparare le basi di uno sviluppo BDD. Dopo le prime ore con “sindrome da pagina bianca”, m…

---

## [Phusion Passenger (mod\_rails)](https://www.ruby-forum.com/t/phusion-passenger-mod-rails/132464)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Tr](https://www.ruby-forum.com/u/Jean-FranSSSSois_Tr)\
**Replies:** 4\
**Last updated:** [March 20, 2008, 11:43pm UTC](https://www.ruby-forum.com/t/phusion-passenger-mod-rails/132464 "2008-03-20T23:43:08Z")

</div>

Ceux qui suivent le blog de Hongli L. savent qu’il travaille sur un mod\_rails pour Apache : http://izumi.plan99.net/blog/index.php/2008/01/27/rails-deployment-wouldnt-it-be-great-if-it-worked-like-this/ Cela nécessite…

---

## [USRP underrun](https://www.ruby-forum.com/t/usrp-underrun/100951)

<div class="topic-metadata">

**Author:** [@phoeben](https://www.ruby-forum.com/u/phoeben)\
**Replies:** 4\
**Last updated:** [August 3, 2006, 12:02pm UTC](https://www.ruby-forum.com/t/usrp-underrun/100951 "2006-08-03T12:02:14Z")

</div>

I see a single USRP underrun (uU) about four out of five times that my application starts. My transmit work() routine couldn’t be simpler: a for-loop that moves data from a local buffer to the output buffer. So, I d…

---

## [Division error!](https://www.ruby-forum.com/t/division-error/259730)

<div class="topic-metadata">

**Author:** [@SecInfinity](https://www.ruby-forum.com/u/SecInfinity)\
**Replies:** 2\
**Last updated:** [July 8, 2020, 1:59pm UTC](https://www.ruby-forum.com/t/division-error/259730 "2020-07-08T13:59:47Z")

</div>

When I try to make a division account for example 24/48 the result of 0 Does anyone know what can it be?

---

## [TCP Load Balancing with Proxy Protocol](https://www.ruby-forum.com/t/tcp-load-balancing-with-proxy-protocol/244214)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [March 7, 2016, 3:58pm UTC](https://www.ruby-forum.com/t/tcp-load-balancing-with-proxy-protocol/244214 "2016-03-07T15:58:33Z")

</div>

Hi, Newbie here. Would like to ask if NGINX supports Proxy Protocol. This to expose client IP addresses to the backend nodes. Regards, Chino

---

## [Best way to securely connect to remote Postgres server from Rails](https://www.ruby-forum.com/t/best-way-to-securely-connect-to-remote-postgres-server-from-rails/239178)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 21, 2014, 1:25am UTC](https://www.ruby-forum.com/t/best-way-to-securely-connect-to-remote-postgres-server-from-rails/239178 "2014-02-21T01:25:36Z")

</div>

I’m wonder how most people securely connect to a Postgres database on a server separate from the app server. The ActiveRecord docs for a MySQL connection have explicit SSL options, whereas with Postgres it seems one w…

---

## [Removing directories older than x days old](https://www.ruby-forum.com/t/removing-directories-older-than-x-days-old/214118)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 22, 2011, 12:05pm UTC](https://www.ruby-forum.com/t/removing-directories-older-than-x-days-old/214118 "2011-11-22T12:05:59Z")

</div>

Hi, I am trying to write a script that will remove directories that are older than 5 days old. I can’t seem to get the datetime for the directory to be usable for comparison. require ‘fileutils’ class CleanupDirs d…

---

## [Access other model attributes directly with has\_one, belongs\_to?](https://www.ruby-forum.com/t/access-other-model-attributes-directly-with-has-one-belongs-to/213017)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [October 20, 2011, 9:41pm UTC](https://www.ruby-forum.com/t/access-other-model-attributes-directly-with-has-one-belongs-to/213017 "2011-10-20T21:41:51Z")

</div>

So, I have 2 models A and B that share 5 common attributes and all other attributes are different. So I wanted to extract these 5 out into one common table and use has\_one, belongs\_to to knit it back together. So no…

---

## [Ruby code in Haml](https://www.ruby-forum.com/t/ruby-code-in-haml/203296)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 17, 2011, 3:04pm UTC](https://www.ruby-forum.com/t/ruby-code-in-haml/203296 "2011-02-17T15:04:52Z")

</div>

Hi: How do I embed Ruby code in Haml? I am passing an array via a get request. The array can be displayed using %p #{@ary} However, if I try… for x in 0…#{@ary.length} print #{@ary.at(x)} end I get an error, unde…

---

## [Help req :editing .bashrc file](https://www.ruby-forum.com/t/help-req-editing-bashrc-file/184772)

<div class="topic-metadata">

**Author:** [@sanam\_singh](https://www.ruby-forum.com/u/sanam_singh)\
**Replies:** 2\
**Last updated:** [March 9, 2010, 7:58am UTC](https://www.ruby-forum.com/t/help-req-editing-bashrc-file/184772 "2010-03-09T07:58:16Z")

</div>

hi , im installing hydra0.4 (http://hydra.ece.utexas.edu/testbed/) on ubuntu 9.04 and gnuradio 3.2.2. im having following issue: at step n.o. 8 of the attached INSTALL file when i add the lines to /home/sanam/.bas…

---

## [New format for specifying list classes?](https://www.ruby-forum.com/t/new-format-for-specifying-list-classes/162084)

<div class="topic-metadata">

**Author:** [@jasongarber](https://www.ruby-forum.com/u/jasongarber)\
**Replies:** 2\
**Last updated:** [March 6, 2009, 8:15am UTC](https://www.ruby-forum.com/t/new-format-for-specifying-list-classes/162084 "2009-03-06T08:15:59Z")

</div>

Hi, RedCloth folks. The other day, I tried this: \*(class-one) one \*(class-two) two \*(class-three) three thinking I’d get this: one two three But that’s not how it works. RedCloth 3 & 4 and Text…

---

## [Engines and Edge Rails](https://www.ruby-forum.com/t/engines-and-edge-rails/67583)

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 2\
**Last updated:** [February 14, 2006, 9:40am UTC](https://www.ruby-forum.com/t/engines-and-edge-rails/67583 "2006-02-14T09:40:16Z")

</div>

Hi all, /branches/edge is retiring; it will be removed very soon. /trunk is the new head of development, and it’s ‘Universal’ → Engines.config(:edge, true) to switch on Edge Rails compatibility → \*\*\*\*\*\*\*\*\*please subm…

---

## [Match against multiple patterns problem](https://www.ruby-forum.com/t/match-against-multiple-patterns-problem/228345)

<div class="topic-metadata">

**Author:** [@chastheone](https://www.ruby-forum.com/u/chastheone)\
**Replies:** 8\
**Last updated:** [April 19, 2013, 5:08am UTC](https://www.ruby-forum.com/t/match-against-multiple-patterns-problem/228345 "2013-04-19T05:08:33Z")

</div>

What I would want to do, if it were legal code would be: if not s.is\_a?(String) or len(s) \< 1 then return \[“1”,""\] if (m = /^\[^\\W\_\]+/.match(s) ) !== nil then return \[“a”, m\[0\]\] elsif (m = …

---

## [Is we have to restart the server(development) when we do any changes in environment.rb?](https://www.ruby-forum.com/t/is-we-have-to-restart-the-server-development-when-we-do-any-changes-in-environment-rb/224249)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [November 7, 2012, 2:44pm UTC](https://www.ruby-forum.com/t/is-we-have-to-restart-the-server-development-when-we-do-any-changes-in-environment-rb/224249 "2012-11-07T14:44:54Z")

</div>

Hi all, Is we have to restart the server when we do any changes in environment.rb ? May i know in which file if we make changes than we have to restart the server (development)? Thanks Regards Fahim Babar Patel

---

## [Ajax test not working](https://www.ruby-forum.com/t/ajax-test-not-working/223957)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [October 29, 2012, 3:48pm UTC](https://www.ruby-forum.com/t/ajax-test-not-working/223957 "2012-10-29T15:48:57Z")

</div>

Am having real probs trying to use Ajax with my Rails app. I have set up a test as follows: in javascript file: window.onload = function() { $(’#test’).bind(‘ajax:success’, function() { alert(“success”); }; } in…

---

## ["System" command](https://www.ruby-forum.com/t/system-command/215051)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [December 21, 2011, 12:49am UTC](https://www.ruby-forum.com/t/system-command/215051 "2011-12-21T00:49:38Z")

</div>

Hello! I was messing around with the “system” command in Ruby! That’s really cool, but a question immediately sprang out while using it : I noticed that its output is a TrueClass, but how could I use the output made …

---

## [Ruby-debug does not invoke from rspec (rails 3 rspec beta 22)](https://www.ruby-forum.com/t/ruby-debug-does-not-invoke-from-rspec-rails-3-rspec-beta-22/194918)

<div class="topic-metadata">

**Author:** [@ntk](https://www.ruby-forum.com/u/ntk)\
**Replies:** 8\
**Last updated:** [October 10, 2010, 8:45pm UTC](https://www.ruby-forum.com/t/ruby-debug-does-not-invoke-from-rspec-rails-3-rspec-beta-22/194918 "2010-10-10T20:45:10Z")

</div>

Anyone know how to get ruby-debug (ruby-debug19) to invoke when running my specs? When I place ‘debugger’ in my controller and run the spec, it just skips over it. I have require ‘ruby-debug’ in spec\_helper.rb Ra…

---

## [I cannot run rails -v](https://www.ruby-forum.com/t/i-cannot-run-rails-v/123747)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 8\
**Last updated:** [June 29, 2008, 1:00am UTC](https://www.ruby-forum.com/t/i-cannot-run-rails-v/123747 "2008-06-29T01:00:45Z")

</div>

Hi, After I update rails I cannot run rails -v anymore? sudo gem update rails Password: Updating installed gems… Bulk updating Gem source index for: http://gems.rubyforge.org Attempting remote update of rails Succ…

---

## [Questions about ActiveRecord aggregation](https://www.ruby-forum.com/t/questions-about-activerecord-aggregation/91295)

<div class="topic-metadata">

**Author:** [@allen](https://www.ruby-forum.com/u/allen)\
**Replies:** 8\
**Last updated:** [April 9, 2007, 8:30pm UTC](https://www.ruby-forum.com/t/questions-about-activerecord-aggregation/91295 "2007-04-09T20:30:30Z")

</div>

Hi all, I’m quite new to rails. These may be silly questions, but I really need your advice. According to \<\>, composite objects in aggregation are value objects, which means their values cannot be changed. So if say…

---

## [Ruby gems error?](https://www.ruby-forum.com/t/ruby-gems-error/84009)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 8\
**Last updated:** [February 2, 2007, 11:10am UTC](https://www.ruby-forum.com/t/ruby-gems-error/84009 "2007-02-02T11:10:18Z")

</div>

hi, im having a nightmare time trying to view a ruby site. im trying to run the server, but i think theres some problem with the gems. the error im getting is here: http://www.timbirkett.co.uk/er.gif ive installed 1.…

---

## [Combined rss feed and more?](https://www.ruby-forum.com/t/combined-rss-feed-and-more/83595)

<div class="topic-metadata">

**Author:** [@modhelius](https://www.ruby-forum.com/u/modhelius)\
**Replies:** 8\
**Last updated:** [January 29, 2007, 5:40pm UTC](https://www.ruby-forum.com/t/combined-rss-feed-and-more/83595 "2007-01-29T17:40:15Z")

</div>

Hello, I’m new to this list, I’m new to Radiant, and I’m new to Ruby on Rails. I am programmer and interface designer and I’m not new to working with a cms - I’ve even created one of my own that had a very similar ph…

---

## [Form\_for and Multiple Models Being Saved](https://www.ruby-forum.com/t/form-for-and-multiple-models-being-saved/69841)

<div class="topic-metadata">

**Author:** [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Replies:** 8\
**Last updated:** [September 28, 2006, 9:15pm UTC](https://www.ruby-forum.com/t/form-for-and-multiple-models-being-saved/69841 "2006-09-28T21:15:27Z")

</div>

Howdy Folks, I want to use form\_for to allow a user to submit a form that contains two instances of the same model. They are entering calendar dates and I want them to be able to submit 2 from the same form. Ok, so,…

---

## [Connecting to a remote database](https://www.ruby-forum.com/t/connecting-to-a-remote-database/98506)

<div class="topic-metadata">

**Author:** [@dsl239](https://www.ruby-forum.com/u/dsl239)\
**Replies:** 8\
**Last updated:** [July 17, 2006, 4:52pm UTC](https://www.ruby-forum.com/t/connecting-to-a-remote-database/98506 "2006-07-17T16:52:52Z")

</div>

Hi, I’m having trouble connecting to a remote database (mysql). I know that my connection settings are correct, since I have a php app that is connecting to the same database. Are there any settings besides the foll…

---

## ["Cannot convert String to Integer" after using association](https://www.ruby-forum.com/t/cannot-convert-string-to-integer-after-using-association/57953)

<div class="topic-metadata">

**Author:** [@bdeverea](https://www.ruby-forum.com/u/bdeverea)\
**Replies:** 8\
**Last updated:** [April 17, 2006, 7:05pm UTC](https://www.ruby-forum.com/t/cannot-convert-string-to-integer-after-using-association/57953 "2006-04-17T19:05:54Z")

</div>

So, I’ve written a partial that does some stuff with a given instance of my class “entity”. Entity is ActiveRecord. I’m able to retrieve all sorts of data from an @entity, until I do something like: \<% for @attribute …

---

## [How to create singleton methods in script](https://www.ruby-forum.com/t/how-to-create-singleton-methods-in-script/53545)

<div class="topic-metadata">

**Author:** [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Replies:** 8\
**Last updated:** [February 9, 2006, 1:36am UTC](https://www.ruby-forum.com/t/how-to-create-singleton-methods-in-script/53545 "2006-02-09T01:36:28Z")

</div>

Here is a simplified version of a little timekeeper app that I’ve been using to learn ruby with. The TimeKeeper class is a class I created also. I want to add a method to the script that displays some text if a bad …

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

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