# Top

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

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

---

## [Reg : Simultaneous execution of two scripts](https://www.ruby-forum.com/t/reg-simultaneous-execution-of-two-scripts/227217)

<div class="topic-metadata">

**Author:** [@sumitstop](https://www.ruby-forum.com/u/sumitstop)\
**Replies:** 6\
**Last updated:** [March 7, 2013, 9:05pm UTC](https://www.ruby-forum.com/t/reg-simultaneous-execution-of-two-scripts/227217 "2013-03-07T21:05:07Z")

</div>

I have created two copies of the usrp\_spectrum\_sense.py for wideband spectrum sensing. Each one of them collects data from a different frequency band and then finally fusion takes place. I am invoking both the scrip…

---

## [Parsing unix filenames from STDIN](https://www.ruby-forum.com/t/parsing-unix-filenames-from-stdin/222384)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [September 1, 2012, 6:43am UTC](https://www.ruby-forum.com/t/parsing-unix-filenames-from-stdin/222384 "2012-09-01T06:43:15Z")

</div>

How can I parse filenames read from STDIN via the standard Unix parsing rules (without duplicating said rules)? All of the following would be parsed as coherent file names: file.txt my\\ file.txt “my file.txt” A nic…

---

## [Don't find some primitive](https://www.ruby-forum.com/t/dont-find-some-primitive/203266)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 16, 2011, 8:30pm UTC](https://www.ruby-forum.com/t/dont-find-some-primitive/203266 "2011-02-16T20:30:16Z")

</div>

Hi, I finally managed to run ISE 10.1 on Linux to compile the raw internet version of the fpga project, but when I call ‘make bin’, the following error appears: ERROR:HDLCompilers:87 - “…/…/…/fifo/fifo\_2clock.v” line …

---

## [How do you update HABTM relationships or create](https://www.ruby-forum.com/t/how-do-you-update-habtm-relationships-or-create/189700)

<div class="topic-metadata">

**Author:** [@ali](https://www.ruby-forum.com/u/ali)\
**Replies:** 6\
**Last updated:** [June 7, 2010, 6:07am UTC](https://www.ruby-forum.com/t/how-do-you-update-habtm-relationships-or-create/189700 "2010-06-07T06:07:34Z")

</div>

Hi, I have a User model with a HABTM relation to a Role model and vice versa. So There’s a roles\_users table that references :user and :role. I’m using formtastic, and in the user.edit.html.erb I have a line that out…

---

## [Attachment\_fu and rails 2.3.2 no image on disk](https://www.ruby-forum.com/t/attachment-fu-and-rails-2-3-2-no-image-on-disk/168908)

<div class="topic-metadata">

**Author:** [@benol](https://www.ruby-forum.com/u/benol)\
**Replies:** 6\
**Last updated:** [May 27, 2009, 12:09pm UTC](https://www.ruby-forum.com/t/attachment-fu-and-rails-2-3-2-no-image-on-disk/168908 "2009-05-27T12:09:58Z")

</div>

Hi, After upgrade to Rails 2.3.2 I have a problem with attachments. After uploading the attachment in the images table there is a new record. But the file does not exist on the file system. has\_attachment :content\_ty…

---

## [Panel de Control](https://www.ruby-forum.com/t/panel-de-control/163756)

<div class="topic-metadata">

**Author:** [@Mauricio\_D](https://www.ruby-forum.com/u/Mauricio_D)\
**Replies:** 6\
**Last updated:** [March 26, 2009, 6:36pm UTC](https://www.ruby-forum.com/t/panel-de-control/163756 "2009-03-26T18:36:23Z")

</div>

Hola, alguno conoce algun tipo de panel de control hecho en rails que me permita gestionar un servidor dedicado, que no sea cpanel Gracias Mauricio D.

---

## [MiniTest: a curious case of include (1.8 vs 1.9)](https://www.ruby-forum.com/t/minitest-a-curious-case-of-include-1-8-vs-1-9/158937)

<div class="topic-metadata">

**Author:** [@simon780](https://www.ruby-forum.com/u/simon780)\
**Replies:** 6\
**Last updated:** [January 30, 2009, 6:54pm UTC](https://www.ruby-forum.com/t/minitest-a-curious-case-of-include-1-8-vs-1-9/158937 "2009-01-30T18:54:57Z")

</div>

I’ve been messing around with minitest and came across something very strange. Does anyone have an explanation for what is going on here? I think it must indicate subtle differences in blocks between 1.8 and 1.9. re…

---

## [Problema con gd2.rb](https://www.ruby-forum.com/t/problema-con-gd2-rb/196779)

<div class="topic-metadata">

**Author:** [@chen](https://www.ruby-forum.com/u/chen)\
**Replies:** 6\
**Last updated:** [August 13, 2008, 5:23pm UTC](https://www.ruby-forum.com/t/problema-con-gd2-rb/196779 "2008-08-13T17:23:02Z")

</div>

HOla! Estoy intentando instalar una copia de feevy en mi servidor Debian, pero obtengo este error: rake db:schema:dump --trace (in /var/rails/feevy2) \*\* Invoke db:schema:dump (first\_time) \*\* Invoke environment (fir…

---

## [Nginx large POST body under Solaris](https://www.ruby-forum.com/t/nginx-large-post-body-under-solaris/132924)

<div class="topic-metadata">

**Author:** [@Wil\_Tan](https://www.ruby-forum.com/u/Wil_Tan)\
**Replies:** 6\
**Last updated:** [March 26, 2008, 10:32am UTC](https://www.ruby-forum.com/t/nginx-large-post-body-under-solaris/132924 "2008-03-26T10:32:12Z")

</div>

Hello Nginx-ers, I had a problem with uploading large files to a FastCGI (Django) process behind nginx. Nginx crashes when running under Solaris 10 (SunOS 5.11 snv\_67 i86pc i386 i86pc) and nginx 0.5.35 compiled witho…

---

## [Problema con modelli ed ereditarietÃ](https://www.ruby-forum.com/t/problema-con-modelli-ed-ereditarieta/119145)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 6\
**Last updated:** [November 5, 2007, 12:45am UTC](https://www.ruby-forum.com/t/problema-con-modelli-ed-ereditarieta/119145 "2007-11-05T00:45:51Z")

</div>

Ho i seguenti modelli. class Core \< ActiveRecord::Base end class Place \< Core belongs\_to :locality end class Locality \< ActiveRecord::Base has\_many :places end altri che ereditano sempre da Core. Il modello co…

---

## [Connexion au web en tant que client d'une appli rails](https://www.ruby-forum.com/t/connexion-au-web-en-tant-que-client-dune-appli-rails/104880)

<div class="topic-metadata">

**Author:** [@lowx512](https://www.ruby-forum.com/u/lowx512)\
**Replies:** 6\
**Last updated:** [May 24, 2007, 3:33pm UTC](https://www.ruby-forum.com/t/connexion-au-web-en-tant-que-client-dune-appli-rails/104880 "2007-05-24T15:33:43Z")

</div>

Salut, j’aimerais que mon application rails se connecte à internet en tant que client pour récupérer des données. Le problème, c’est que je suis derrière un proxy. Comment puis-je configurer Ruby on Rails pour qu’il …

---

## [wxRuby and wxGlade?](https://www.ruby-forum.com/t/wxruby-and-wxglade/103600)

<div class="topic-metadata">

**Author:** [@gcarcass](https://www.ruby-forum.com/u/gcarcass)\
**Replies:** 6\
**Last updated:** [May 10, 2007, 5:26am UTC](https://www.ruby-forum.com/t/wxruby-and-wxglade/103600 "2007-05-10T05:26:21Z")

</div>

Hello: Finally I understood the concept of what wxWidgets is, I thought it was an IDE I didn’t understood the concept of libraries and that stuff, but now I have it clear… I think, je je je. I’m using OSX 10.4.9(PPC)…

---

## [Photo Albums?](https://www.ruby-forum.com/t/photo-albums/65110)

<div class="topic-metadata">

**Author:** [@jbhruby](https://www.ruby-forum.com/u/jbhruby)\
**Replies:** 6\
**Last updated:** [August 16, 2006, 2:35pm UTC](https://www.ruby-forum.com/t/photo-albums/65110 "2006-08-16T14:35:08Z")

</div>

Hello all, Can anyone recommend any free(ish) Ruby photo album components? Preferably something with a user structure built in. Cheers.

---

## [Ruby for presentation layer, C# for business layer - how to](https://www.ruby-forum.com/t/ruby-for-presentation-layer-c-for-business-layer-how-to/79471)

<div class="topic-metadata">

**Author:** [@bob](https://www.ruby-forum.com/u/bob)\
**Replies:** 6\
**Last updated:** [March 11, 2006, 3:20am UTC](https://www.ruby-forum.com/t/ruby-for-presentation-layer-c-for-business-layer-how-to/79471 "2006-03-11T03:20:18Z")

</div>

For reasons not relavent, I would like to create an n-tier app as follows. Data Acess layer =\> NHibernate Business layer =\> C# Presentation layer =\> RoR All of which might be spread across multiple machines in each …

---

## [Avoid upgrading Ruby while installing gem](https://www.ruby-forum.com/t/avoid-upgrading-ruby-while-installing-gem/245247)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [February 18, 2017, 10:10pm UTC](https://www.ruby-forum.com/t/avoid-upgrading-ruby-while-installing-gem/245247 "2017-02-18T22:10:54Z")

</div>

Hi All, I am Ruby newbie, just started learning it as one of my projects need it. We have been installing em-http-request-1.1.1 with Ruby1.9.3 for last 1.5 years, but recently installation of em-http-request-1.1.1 re…

---

## [Rewrite causing $ to be escaped](https://www.ruby-forum.com/t/rewrite-causing-to-be-escaped/243638)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [December 15, 2015, 10:28am UTC](https://www.ruby-forum.com/t/rewrite-causing-to-be-escaped/243638 "2015-12-15T10:28:30Z")

</div>

Hi, We’re running Jenkins behind an Nginx reverse proxy and see issues where Jenkins running in Tomcat returns 404 because it receives URLs that have $ encoded as %24. From the Tomcat logs: 10.0.7.212 - - \[15/Dec/20…

---

## [Create tcp proxy with dynamic targets](https://www.ruby-forum.com/t/create-tcp-proxy-with-dynamic-targets/232730)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 28, 2014, 12:05pm UTC](https://www.ruby-forum.com/t/create-tcp-proxy-with-dynamic-targets/232730 "2014-10-28T12:05:25Z")

</div>

Hi all, how can i write a tcp proxy which is capable to connect dynamically to different systems depending on information coming from a client connecting to the proxy?? I already have a standard proxy script, which c…

---

## [Install error](https://www.ruby-forum.com/t/install-error/228343)

<div class="topic-metadata">

**Author:** [@neel\_p](https://www.ruby-forum.com/u/neel_p)\
**Replies:** 2\
**Last updated:** [April 19, 2013, 9:07pm UTC](https://www.ruby-forum.com/t/install-error/228343 "2013-04-19T21:07:17Z")

</div>

I tied installing this on Ruby but got error and then VR does not come up. C:\\Ruby200\>gem install visualruby Fetching: require\_all-1.2.1.gem (100%) Successfully installed require\_all-1.2.1 Fetching: pkg-config-1.1.4…

---

## [Send\_data with a layout?](https://www.ruby-forum.com/t/send-data-with-a-layout/203306)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 17, 2011, 4:03pm UTC](https://www.ruby-forum.com/t/send-data-with-a-layout/203306 "2011-02-17T16:03:02Z")

</div>

Hello, I’m using send\_data to retrieve binary (images) from the database. It works fine, this is my controller : @picture = Picture.find(params\[:id\]) @image = @picture.image\_file send\_data (@image, :type =\> @picture…

---

## [Using HAML in templates?](https://www.ruby-forum.com/t/using-haml-in-templates/198719)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [November 6, 2010, 3:26am UTC](https://www.ruby-forum.com/t/using-haml-in-templates/198719 "2010-11-06T03:26:35Z")

</div>

I noticed that Radiant has HAML but are we able to use them in templates by default? I’ve tried something like: %p hello world this is a demo %figure \< %img{:src =\> ‘image.jpg’, :alt =\> ‘Hello’, :height=‘340’} \< %fi…

---

## [Ayuda con la gem annotate-models](https://www.ruby-forum.com/t/ayuda-con-la-gem-annotate-models/195206)

<div class="topic-metadata">

**Author:** [@ayanami](https://www.ruby-forum.com/u/ayanami)\
**Replies:** 2\
**Last updated:** [October 3, 2010, 7:31pm UTC](https://www.ruby-forum.com/t/ayuda-con-la-gem-annotate-models/195206 "2010-10-03T19:31:49Z")

</div>

Hola, tengo instalada esta gema la versiÃ³n 1.0.4 (confirmado) y segÃºn el manual que voy siguiendo me dice que simplemente debo templear en el prompt annotate y se generan los comentarios en los ficheros de los model…

---

## [Undefined method \`start\_form\_tag' for #\<ActionView::Base:0x3](https://www.ruby-forum.com/t/undefined-method-start-form-tag-for-actionview-0x3/136456)

<div class="topic-metadata">

**Author:** [@mani](https://www.ruby-forum.com/u/mani)\
**Replies:** 2\
**Last updated:** [February 19, 2010, 8:03pm UTC](https://www.ruby-forum.com/t/undefined-method-start-form-tag-for-actionview-0x3/136456 "2010-02-19T20:03:18Z")

</div>

I have crated controller classified class ClassifiedController \< ApplicationController def list @classifieds = Classified.find(:all) end def show @classified = Classified.find(params\[:id\]) end def new @classifie…

---

## ["no such file to load -- application" Error](https://www.ruby-forum.com/t/no-such-file-to-load-application-error/170734)

<div class="topic-metadata">

**Author:** [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Replies:** 2\
**Last updated:** [September 23, 2009, 1:04pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-application-error/170734 "2009-09-23T13:04:06Z")

</div>

All, I upgraded to 0.8.0 and now I get an error when I try to run anything. See the examples below: rake production radiant:extensions:gallery:migrate (in /home) Could not load extension from file: gallery\_extensio…

---

## [FileUtils.mv Pointless Errno::ENOENT](https://www.ruby-forum.com/t/fileutils-mv-pointless-errno-enoent/175025)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 2\
**Last updated:** [September 12, 2009, 10:09pm UTC](https://www.ruby-forum.com/t/fileutils-mv-pointless-errno-enoent/175025 "2009-09-12T22:09:15Z")

</div>

Noticed that when $DEBUG=true, any FileUtils.mv call produces two (rescued) exceptions: $ ls sim-1.0.0.zip $ irb $DEBUG=true =\> true FileUtils.mv(‘sim-1.0.0.zip’, ‘sm.zip’) Exception Errno::ENOENT' at /usr/li…

---

## [Number to UTF-conversion question](https://www.ruby-forum.com/t/number-to-utf-conversion-question/149805)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 2\
**Last updated:** [September 30, 2008, 3:17pm UTC](https://www.ruby-forum.com/t/number-to-utf-conversion-question/149805 "2008-09-30T15:17:01Z")

</div>

All, Sorry for cross-posting but I am stuck on this thing for a quite some time: I have a variable x = 1046 How can I convert into UTF-8 character? x.chr does not work for it. Basically I need to put x in a string …

---

## [Ruby Raw Sockets](https://www.ruby-forum.com/t/ruby-raw-sockets/142735)

<div class="topic-metadata">

**Author:** [@fdmanana](https://www.ruby-forum.com/u/fdmanana)\
**Replies:** 2\
**Last updated:** [July 11, 2008, 12:09am UTC](https://www.ruby-forum.com/t/ruby-raw-sockets/142735 "2008-07-11T00:09:34Z")

</div>

Hello, I am trying to do packet injection through a Ruby socket, like this: PF\_PACKET = 17 # linux/socket.h AF\_PACKET = PF\_PACKET # linux/socket.h ETH\_P\_ALL = 0x03\_00 # linux/if\_ether.h (but in netw…

---

## [Jruby 9000 and cpaybara throws exception](https://www.ruby-forum.com/t/jruby-9000-and-cpaybara-throws-exception/244615)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [May 12, 2016, 11:40pm UTC](https://www.ruby-forum.com/t/jruby-9000-and-cpaybara-throws-exception/244615 "2016-05-12T23:40:36Z")

</div>

after executing the feature spec, it throws the below exception. right after executing the line visit login\_path the exception raises, but still spec continues and pass technical stack jruby 9000 capybara webkit 1.3…

---

## [Looking For Ruby on Rails Software Consultant - Remotely](https://www.ruby-forum.com/t/looking-for-ruby-on-rails-software-consultant-remotely/242731)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 8\
**Last updated:** [July 24, 2015, 12:50am UTC](https://www.ruby-forum.com/t/looking-for-ruby-on-rails-software-consultant-remotely/242731 "2015-07-24T00:50:37Z")

</div>

We are new media company looking for a part-time (10-20 hours/week) Ruby on Rails engineering consultant who has demonstrated ability to write clean, well-tested code. The candidate should work self-sufficiently with …

---

## [Nginx\_upstream\_check\_module doesn't work with nginx \> 1.7.6](https://www.ruby-forum.com/t/nginx-upstream-check-module-doesnt-work-with-nginx-1-7-6/241918)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [May 11, 2015, 5:38pm UTC](https://www.ruby-forum.com/t/nginx-upstream-check-module-doesnt-work-with-nginx-1-7-6/241918 "2015-05-11T17:38:24Z")

</div>

Hi, I’m not sure if this is the right place to report this issue, but perhaps someone has already run across it and has some insights… Basically, the “nginx\_upstream\_check\_module” (versions 0.1.9 and 0.3.0) doesn’t …

---

## [A Student in need of Guidance](https://www.ruby-forum.com/t/a-student-in-need-of-guidance/246341)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 8\
**Last updated:** [October 10, 2013, 6:43am UTC](https://www.ruby-forum.com/t/a-student-in-need-of-guidance/246341 "2013-10-10T06:43:37Z")

</div>

Hello Community, I am currently in my Junior year college and will be looking for some internship here very soon. I’ve taken core classes on C#, ASP.Net, Java and have started to learn Ruby and a little bit of Python …

---

## [Resistance? Capacitance? Inductance?](https://www.ruby-forum.com/t/resistance-capacitance-inductance/226962)

<div class="topic-metadata">

**Author:** [@jmail137](https://www.ruby-forum.com/u/jmail137)\
**Replies:** 8\
**Last updated:** [February 28, 2013, 12:04am UTC](https://www.ruby-forum.com/t/resistance-capacitance-inductance/226962 "2013-02-28T00:04:44Z")

</div>

Dear GNU Radio aficionado’s- Whatever happened to resistance, capacitance, and inductance? When I joined this thread I was hoping you would once in a while talk about ways of using the software in the computer to modi…

---

## [File size of each item in file list](https://www.ruby-forum.com/t/file-size-of-each-item-in-file-list/229934)

<div class="topic-metadata">

**Author:** [@sloan](https://www.ruby-forum.com/u/sloan)\
**Replies:** 8\
**Last updated:** [February 14, 2013, 7:55pm UTC](https://www.ruby-forum.com/t/file-size-of-each-item-in-file-list/229934 "2013-02-14T19:55:05Z")

</div>

I am trying to take the contents of a file which contains the results of a file size search and print those out with ruby. To obtain the file size of each line in that file. #!/usr/bin/ruby f = File.open("/tmp/lg\_fi…

---

## [Ajax file upload question](https://www.ruby-forum.com/t/ajax-file-upload-question/173393)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 8\
**Last updated:** [August 12, 2009, 5:38am UTC](https://www.ruby-forum.com/t/ajax-file-upload-question/173393 "2009-08-12T05:38:59Z")

</div>

I have the file upload working, I have to place it outside my main form. Is there a way so I can have somewhere other than outside my form? This below is all after the submit button: \<%= render :partial =\> '/rsl/sit…

---

## [Possible residual carrier not reported correctly](https://www.ruby-forum.com/t/possible-residual-carrier-not-reported-correctly/144152)

<div class="topic-metadata">

**Author:** [@isaacgerg](https://www.ruby-forum.com/u/isaacgerg)\
**Replies:** 8\
**Last updated:** [July 28, 2008, 11:17pm UTC](https://www.ruby-forum.com/t/possible-residual-carrier-not-reported-correctly/144152 "2008-07-28T23:17:31Z")

</div>

Hi, I am using the Basic RX/TX at 24Mhz. Both the tx and rx tell me that there is no residual carrier. yet, the waveform I send seems to keep flipping from positive to negative polarity. Is it possible that there …

---

## [How to get a backgroundrb worker to delete itself?](https://www.ruby-forum.com/t/how-to-get-a-backgroundrb-worker-to-delete-itself/91567)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 8\
**Last updated:** [April 16, 2007, 12:23pm UTC](https://www.ruby-forum.com/t/how-to-get-a-backgroundrb-worker-to-delete-itself/91567 "2007-04-16T12:23:11Z")

</div>

Hi, I am trying to get a worker instance to delete itself at the end of its do\_work method. I have my main rails app creating these workers upon certain incoming http requests to parse some XML files, and once the p…

---

## [Cannot get blocks working](https://www.ruby-forum.com/t/cannot-get-blocks-working/227377)

<div class="topic-metadata">

**Author:** [@aashishkiran](https://www.ruby-forum.com/u/aashishkiran)\
**Replies:** 5\
**Last updated:** [March 13, 2013, 2:08pm UTC](https://www.ruby-forum.com/t/cannot-get-blocks-working/227377 "2013-03-13T14:08:30Z")

</div>

Hi, Below is the piece of code. Can anyone help in getting expected output. class XmlDoc def method\_missing(name, \*args, &block) self.class.class\_eval do define\_method(name) do |\*args, &block| if block\_given? tem…

---

## [Rails ROUTING map.root](https://www.ruby-forum.com/t/rails-routing-map-root/187919)

<div class="topic-metadata">

**Author:** [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Replies:** 5\
**Last updated:** [May 5, 2010, 10:04am UTC](https://www.ruby-forum.com/t/rails-routing-map-root/187919 "2010-05-05T10:04:57Z")

</div>

Is it possible to put an if/else statemnt, and change the map.root under each condition? for ex– if current\_user map.root :controller =\> ‘current\_user’ else map.root :controller =\> ‘home’ end cuase apparenlty that…

---

## [Store data in db from XML](https://www.ruby-forum.com/t/store-data-in-db-from-xml/176353)

<div class="topic-metadata">

**Author:** [@smit\_shah](https://www.ruby-forum.com/u/smit_shah)\
**Replies:** 5\
**Last updated:** [September 30, 2009, 12:45pm UTC](https://www.ruby-forum.com/t/store-data-in-db-from-xml/176353 "2009-09-30T12:45:34Z")

</div>

Hi All… I am trying to parsing data from XML. But, I am not able to store it in database. So, any one can help me out??? Thanks in advance…

---

## [(x)HTML Parsing Errors, Cuc 0.2.0 + Rspec 1.2](https://www.ruby-forum.com/t/x-html-parsing-errors-cuc-0-2-0-rspec-1-2/163769)

<div class="topic-metadata">

**Author:** [@pallan](https://www.ruby-forum.com/u/pallan)\
**Replies:** 5\
**Last updated:** [April 7, 2009, 8:09pm UTC](https://www.ruby-forum.com/t/x-html-parsing-errors-cuc-0-2-0-rspec-1-2/163769 "2009-04-07T20:09:46Z")

</div>

Hello all, I have some cucumber features that are making me scratch my head. After updating the Rspec 1.2 my features are now generating thousands of “ignoring attempt to close tag with other tag” when I run them. T…

---

## [Onsubmit for remote\_form\_for not working properly](https://www.ruby-forum.com/t/onsubmit-for-remote-form-for-not-working-properly/162465)

<div class="topic-metadata">

**Author:** [@salil](https://www.ruby-forum.com/u/salil)\
**Replies:** 5\
**Last updated:** [March 17, 2009, 5:17pm UTC](https://www.ruby-forum.com/t/onsubmit-for-remote-form-for-not-working-properly/162465 "2009-03-17T17:17:01Z")

</div>

I want to use onsubmit for a form validation using javascript on remote\_form\_for for this i am doing something like this \<% remote\_form\_for :timesheet, @timesheet, :url =\>{:action =\> ‘report\_user’}, :html =\> {:onsubm…

---

## [What does "@@" mean?](https://www.ruby-forum.com/t/what-does-mean/158042)

<div class="topic-metadata">

**Author:** [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Replies:** 5\
**Last updated:** [January 18, 2009, 8:10pm UTC](https://www.ruby-forum.com/t/what-does-mean/158042 "2009-01-18T20:10:51Z")

</div>

In a ruby class, what does a variable “@@name” mean? Does it mean static variable? Does its subclass have access to this field?

---

## [Help: Attempts to run specs quitting midstream](https://www.ruby-forum.com/t/help-attempts-to-run-specs-quitting-midstream/152191)

<div class="topic-metadata">

**Author:** [@idahoev](https://www.ruby-forum.com/u/idahoev)\
**Replies:** 5\
**Last updated:** [November 19, 2008, 3:20am UTC](https://www.ruby-forum.com/t/help-attempts-to-run-specs-quitting-midstream/152191 "2008-11-19T03:20:47Z")

</div>

I am having a very frustrating problem running specs on my current project. When I run tests en masse with “rake spec” or with autotest, it frequently quits without completing all the tests. It also sometimes runs …

---

## [Rake db:migrate sucks](https://www.ruby-forum.com/t/rake-db-migrate-sucks/104189)

<div class="topic-metadata">

**Author:** [@fred](https://www.ruby-forum.com/u/fred)\
**Replies:** 5\
**Last updated:** [May 15, 2007, 4:33pm UTC](https://www.ruby-forum.com/t/rake-db-migrate-sucks/104189 "2007-05-15T16:33:14Z")

</div>

I have installed ruby1.8.5-22 under windows, and then rails 1.2.3 and also i update rubygems to 0.9.3 with gems update --system however,when i enter the project directory and input the command rake db:migrate,it suck…

---

## [Problem with "usrp\_spectrum\_sense.py"](https://www.ruby-forum.com/t/problem-with-usrp-spectrum-sense-py/90537)

<div class="topic-metadata">

**Author:** [@DiX](https://www.ruby-forum.com/u/DiX)\
**Replies:** 5\
**Last updated:** [March 29, 2007, 8:23pm UTC](https://www.ruby-forum.com/t/problem-with-usrp-spectrum-sense-py/90537 "2007-03-29T20:23:02Z")

</div>

Hi guys, I am trying to scan the channel6 of 802.11b with “usrp\_spectrum\_sense.py”. However it fails with the following error: Using RX d’board A: TV Rx Traceback (most recent call last): File “./usrp\_spectrum\_sens…

---

## [Using singular class - SoftwareController](https://www.ruby-forum.com/t/using-singular-class-softwarecontroller/84738)

<div class="topic-metadata">

**Author:** [@nwiger](https://www.ruby-forum.com/u/nwiger)\
**Replies:** 5\
**Last updated:** [February 9, 2007, 11:35pm UTC](https://www.ruby-forum.com/t/using-singular-class-softwarecontroller/84738 "2007-02-09T23:35:57Z")

</div>

I’m having trouble getting a singular class name to work with rails. We have a table, software, that lists all the software. We want a SoftwareController, Software model, and then REST paths like new\_software\_path I’…

---

## [Swedish characters problem](https://www.ruby-forum.com/t/swedish-characters-problem/58174)

<div class="topic-metadata">

**Author:** [@Hans-Eric\_GrSSSSnlu](https://www.ruby-forum.com/u/Hans-Eric_GrSSSSnlu)\
**Replies:** 5\
**Last updated:** [July 23, 2006, 11:23pm UTC](https://www.ruby-forum.com/t/swedish-characters-problem/58174 "2006-07-23T23:23:43Z")

</div>

Hello, I’m playing around with Rails and I’m having problems with displaying swedish characters. This is how far I’ve gotten: I have a controller… class MiscController \< ApplicationController def swedish\_chars @cha…

---

## [Newbie: using date-picker](https://www.ruby-forum.com/t/newbie-using-date-picker/59082)

<div class="topic-metadata">

**Author:** [@n1c](https://www.ruby-forum.com/u/n1c)\
**Replies:** 5\
**Last updated:** [April 28, 2006, 4:13pm UTC](https://www.ruby-forum.com/t/newbie-using-date-picker/59082 "2006-04-28T16:13:21Z")

</div>

Finally found a nice date chooser script (http://projects.exactlyoneturtle.com/date\_picker), but am a little confused how to implement it. So I put this where I need the date picker: \[ choose date \] And the field t…

---

## [Mongrel Web Server 0.3.12.4 -- Relaxed Parser, Date Fix](https://www.ruby-forum.com/t/mongrel-web-server-0-3-12-4-relaxed-parser-date-fix/93798)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 5\
**Last updated:** [April 11, 2006, 9:13am UTC](https://www.ruby-forum.com/t/mongrel-web-server-0-3-12-4-relaxed-parser-date-fix/93798 "2006-04-11T09:13:44Z")

</div>

Hello Everyone, Just a small announcement for Mongrel 0.3.12.4 which fixes the following things: Corrects the date format returned so that months are three chars only. Fixes a problem where DirHandler wasn’t returnin…

---

## [Organizing translations with I18n::Cascade and I18n::MissingTranslations](https://www.ruby-forum.com/t/organizing-translations-with-i18n-cascade-and-i18n-missingtranslations/203123)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [February 13, 2011, 3:52pm UTC](https://www.ruby-forum.com/t/organizing-translations-with-i18n-cascade-and-i18n-missingtranslations/203123 "2011-02-13T15:52:03Z")

</div>

I thought I’d drop you a note that I’ve written up a few things about what tools we are using to organize translations at work. I get asked these questions a lot so maybe it makes sense to spam the list with this …

---

## [Gem install does not work](https://www.ruby-forum.com/t/gem-install-does-not-work/197253)

<div class="topic-metadata">

**Author:** [@max\_1219](https://www.ruby-forum.com/u/max_1219)\
**Replies:** 1\
**Last updated:** [March 4, 2010, 2:56am UTC](https://www.ruby-forum.com/t/gem-install-does-not-work/197253 "2010-03-04T02:56:43Z")

</div>

newbie in ROR. Win 7 ruby 1.8.6 (2007-09-24 patchlevel 111) \[i386-mswin32\] run admin cmd gem install rails --include-dependencies then I got the error here: ERROR: While executing gem … (Gem::GemNotFoundException) …

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

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