# Top

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

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

---

## [Problem with routes.rb](https://www.ruby-forum.com/t/problem-with-routes-rb/216829)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 15, 2012, 5:53pm UTC](https://www.ruby-forum.com/t/problem-with-routes-rb/216829 "2012-02-15T17:53:09Z")

</div>

Hi all I am working on rails 2.3.x with Passenger+Apache servers.I have changed a routes.rb file by adding my custom route. After changing this i restarted remote server with touch tmp/restart.txt. My newly added…

---

## [Rails default route to database](https://www.ruby-forum.com/t/rails-default-route-to-database/214420)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 1, 2011, 6:25pm UTC](https://www.ruby-forum.com/t/rails-default-route-to-database/214420 "2011-12-01T18:25:49Z")

</div>

Hello everyone, I’m trying to extend the Rails Router so that if none of the routes defined matches the current query it will call a specific method which will return the controller and method to be called in order to…

---

## [Data synchronization (load balancing)](https://www.ruby-forum.com/t/data-synchronization-load-balancing/214268)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 26, 2011, 5:00pm UTC](https://www.ruby-forum.com/t/data-synchronization-load-balancing/214268 "2011-11-26T17:00:15Z")

</div>

Hi, I have a problem: upstream backend { server 172.16.0.1:80; server 172.16.0.2:80; } server { listen 80; server\_name www.domain.com; location / { proxy\_pass http://backend; } } Now I have the model as a…

---

## [Installing latest mysql2 on windows 7](https://www.ruby-forum.com/t/installing-latest-mysql2-on-windows-7/213085)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [October 28, 2011, 4:57pm UTC](https://www.ruby-forum.com/t/installing-latest-mysql2-on-windows-7/213085 "2011-10-28T16:57:02Z")

</div>

Hello, How can I do that? Every time I try to do that (by enhancing my rubies via devkit) it fails on extconf.rb (I have 0.2.6 but trying to install 0.3.7). So what’s the suggestion you have for me, if you please ? A…

---

## [Load mongo fail](https://www.ruby-forum.com/t/load-mongo-fail/211201)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 29, 2011, 12:06pm UTC](https://www.ruby-forum.com/t/load-mongo-fail/211201 "2011-08-29T12:06:23Z")

</div>

Hi I have installed mongo gem firstly, but when I require ‘mongo’ it get failed: irb(main):001:0\> require ‘rubygems’ =\> true irb(main):002:0\> require ‘mongo’ NameError: uninitialized constant Mongo from ./mongo.rb…

---

## [How to save break line in text (at my model)?](https://www.ruby-forum.com/t/how-to-save-break-line-in-text-at-my-model/210769)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 17, 2011, 8:26pm UTC](https://www.ruby-forum.com/t/how-to-save-break-line-in-text-at-my-model/210769 "2011-08-17T20:26:30Z")

</div>

If anyone can help me please do. Thank you, Rodrigo

---

## [Recaptcha displaying weirdly](https://www.ruby-forum.com/t/recaptcha-displaying-weirdly/205079)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 29, 2011, 10:27pm UTC](https://www.ruby-forum.com/t/recaptcha-displaying-weirdly/205079 "2011-03-29T22:27:34Z")

</div>

Hi List, I’ve followed and read several guides for getting recaptcha working with a site but I keep coming across this problem. The recaptcha images look…weird: This image is taken with the “white” theme, however the…

---

## [Trying to figure out time of packet arrival in USRP](https://www.ruby-forum.com/t/trying-to-figure-out-time-of-packet-arrival-in-usrp/204205)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 9, 2011, 3:09am UTC](https://www.ruby-forum.com/t/trying-to-figure-out-time-of-packet-arrival-in-usrp/204205 "2011-03-09T03:09:30Z")

</div>

Hello, I am running usrp\_transmit\_path.py for transmission on one USRP and usrp\_receive\_path.py for reception of signals on another USRP. I want to determine the exact arrival time of a packet on the USRP. I get the …

---

## [Error parsing wp-app.php (Wordpress) on Nginx](https://www.ruby-forum.com/t/error-parsing-wp-app-php-wordpress-on-nginx/202483)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 30, 2011, 7:00pm UTC](https://www.ruby-forum.com/t/error-parsing-wp-app-php-wordpress-on-nginx/202483 "2011-01-30T19:00:25Z")

</div>

I moved my website from apache to nginx and everything seems to be working as expected except (Well, I’ve only seen that error) when I try to create posts through the Atom publishing protocol which can be accesed via h…

---

## [Reverse proxy cache design](https://www.ruby-forum.com/t/reverse-proxy-cache-design/198636)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 5, 2010, 7:08am UTC](https://www.ruby-forum.com/t/reverse-proxy-cache-design/198636 "2010-11-05T07:08:09Z")

</div>

at the moment we are running an active/standby reverse proxy installation. one virtual IP by keepalived. it works great thanks to NGINX, but has the disantvantage of having an empty cache on the standby proxy, so in …

---

## [First Law of Classes](https://www.ruby-forum.com/t/first-law-of-classes/197836)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [October 21, 2010, 10:47am UTC](https://www.ruby-forum.com/t/first-law-of-classes/197836 "2010-10-21T10:47:50Z")

</div>

I was introduced to Ruby by a charming German girl called Ulrika. She was writing Watir programs for a vendor product. On an old computer, I just found a program she had written. It scripts a quote-and-buy insurance w…

---

## [Nginx rewrite help](https://www.ruby-forum.com/t/nginx-rewrite-help/195647)

<div class="topic-metadata">

**Author:** [@bvidinli](https://www.ruby-forum.com/u/bvidinli)\
**Replies:** 2\
**Last updated:** [September 27, 2010, 5:11pm UTC](https://www.ruby-forum.com/t/nginx-rewrite-help/195647 "2010-09-27T17:11:33Z")

</div>

Hi, I have a forum site, (with multi-forum) this is working: http://destek.10tl.net/forumdisplay.php?fid=40 but this is not working: http://destek.10tl.net/Forum-40.html my nginx conf related part is: location…

---

## [Repackaging a compiled gem as a binary](https://www.ruby-forum.com/t/repackaging-a-compiled-gem-as-a-binary/195405)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 2\
**Last updated:** [September 22, 2010, 10:14pm UTC](https://www.ruby-forum.com/t/repackaging-a-compiled-gem-as-a-binary/195405 "2010-09-22T22:14:29Z")

</div>

I’ve installed the qtbindings gem in an ARM emulator environment (scratchbox). I’d now like to repackage the compiled code as a “binary” gem that I can just install in my N900 without having to compile the C extension…

---

## [Image\_submit\_tag](https://www.ruby-forum.com/t/image-submit-tag/193530)

<div class="topic-metadata">

**Author:** [@srikanth\_j](https://www.ruby-forum.com/u/srikanth_j)\
**Replies:** 2\
**Last updated:** [August 19, 2010, 9:04am UTC](https://www.ruby-forum.com/t/image-submit-tag/193530 "2010-08-19T09:04:12Z")

</div>

Hi Im using image\_submit\_tag to submit my form. works fine… but the image is displayed with border. I used border =\> 0 but no use. This is my code. \<%= image\_submit\_tag “…/images/upload.png”, :border =\> 0 %\> any id…

---

## [Unable to locate component](https://www.ruby-forum.com/t/unable-to-locate-component/191916)

<div class="topic-metadata">

**Author:** [@jrnicl4](https://www.ruby-forum.com/u/jrnicl4)\
**Replies:** 2\
**Last updated:** [July 20, 2010, 8:06pm UTC](https://www.ruby-forum.com/t/unable-to-locate-component/191916 "2010-07-20T20:06:01Z")

</div>

I installed ruby on rails on windows xp and created and project (rails my\_project). I started the server(ruby script\\server). I openned the browser and launch the page (http://localhost:3000/). When I selected a link …

---

## [Error: undefined method for nil:NilClass](https://www.ruby-forum.com/t/error-undefined-method-for-nil-nilclass/183785)

<div class="topic-metadata">

**Author:** [@jeff-k](https://www.ruby-forum.com/u/jeff-k)\
**Replies:** 2\
**Last updated:** [February 20, 2010, 1:53am UTC](https://www.ruby-forum.com/t/error-undefined-method-for-nil-nilclass/183785 "2010-02-20T01:53:55Z")

</div>

When I test functionals, I get the following error: test\_should\_display\_index(AlertsControllerTest): ActionView::TemplateError: undefined method \`name' for nil:NilClass On line #9 of app/views/alerts/index.html.erb …

---

## [Output file name based on original file name](https://www.ruby-forum.com/t/output-file-name-based-on-original-file-name/177369)

<div class="topic-metadata">

**Author:** [@cidol](https://www.ruby-forum.com/u/cidol)\
**Replies:** 2\
**Last updated:** [October 15, 2009, 11:54pm UTC](https://www.ruby-forum.com/t/output-file-name-based-on-original-file-name/177369 "2009-10-15T23:54:21Z")

</div>

I have a simple txt parsing script that I’d like to have the output be named after the original text file. original = original.txt output = original\_output.txt I’m just doing a simple file.open, and couldn’t find any…

---

## [Background process with ruby on rails](https://www.ruby-forum.com/t/background-process-with-ruby-on-rails/154880)

<div class="topic-metadata">

**Author:** [@jason](https://www.ruby-forum.com/u/jason)\
**Replies:** 2\
**Last updated:** [July 29, 2009, 11:08am UTC](https://www.ruby-forum.com/t/background-process-with-ruby-on-rails/154880 "2009-07-29T11:08:10Z")

</div>

Here is what I’m trying to do. (not sure how to do steps 2 and 3) User uploads a file to server ( i know how to do this ) once uploaded a background process needs to be run on the file (could take a minute of 2 to com…

---

## [Add variable in xpath](https://www.ruby-forum.com/t/add-variable-in-xpath/169935)

<div class="topic-metadata">

**Author:** [@lecielbleu](https://www.ruby-forum.com/u/lecielbleu)\
**Replies:** 2\
**Last updated:** [June 10, 2009, 8:27pm UTC](https://www.ruby-forum.com/t/add-variable-in-xpath/169935 "2009-06-10T20:27:49Z")

</div>

hi , i cant succeed add variable in xpath (libxml) brand = “037” xpath = “//Root/Stk\[@Category=‘601’ and @Brand=#{brand}\]” stack = node.find(xpath) i used #{brand} but doesnt work

---

## [Restful\_authentication doesn't work in Rails 2.3.2](https://www.ruby-forum.com/t/restful-authentication-doesnt-work-in-rails-2-3-2/166905)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 2\
**Last updated:** [May 2, 2009, 12:53am UTC](https://www.ruby-forum.com/t/restful-authentication-doesnt-work-in-rails-2-3-2/166905 "2009-05-02T00:53:30Z")

</div>

Hi, I’m using restful\_authentication on rails 2.3.2. It works find on my local machine which has passenger 2.1.2. But it doesn’t work on the web hosting server (DreamHost) which may have lower version of passenger. …

---

## [Xml-fun and how do I make a method shorter](https://www.ruby-forum.com/t/xml-fun-and-how-do-i-make-a-method-shorter/165619)

<div class="topic-metadata">

**Author:** [@kristho](https://www.ruby-forum.com/u/kristho)\
**Replies:** 2\
**Last updated:** [April 15, 2009, 8:28pm UTC](https://www.ruby-forum.com/t/xml-fun-and-how-do-i-make-a-method-shorter/165619 "2009-04-15T20:28:55Z")

</div>

I’ve got a little problem. http://pastie.org/447561 I want the parseFile-method to do what the outcommented-method do - just shorter and prettier. Anyone who can give some tips on how I can do this?

---

## [Read remote zip](https://www.ruby-forum.com/t/read-remote-zip/164992)

<div class="topic-metadata">

**Author:** [@robredford](https://www.ruby-forum.com/u/robredford)\
**Replies:** 2\
**Last updated:** [April 8, 2009, 4:19pm UTC](https://www.ruby-forum.com/t/read-remote-zip/164992 "2009-04-08T16:19:47Z")

</div>

I’d like to decompress the contents of: http://host.com/file.zip in memory without having to download the file (e.g. wget) first. Suggestions? Rob

---

## [Checking my has\_many :through relationships](https://www.ruby-forum.com/t/checking-my-has-many-through-relationships/163588)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 2\
**Last updated:** [March 22, 2009, 11:54pm UTC](https://www.ruby-forum.com/t/checking-my-has-many-through-relationships/163588 "2009-03-22T23:54:54Z")

</div>

I have a Cubicle model that will have many Printers, Phones, whatever. In the past, HABTM has sufficied, but each of the joins will need the capability to store additional attributes inside of the respective table. …

---

## [Translating next and previous in will paginate](https://www.ruby-forum.com/t/translating-next-and-previous-in-will-paginate/162799)

<div class="topic-metadata">

**Author:** [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Replies:** 2\
**Last updated:** [March 14, 2009, 3:21pm UTC](https://www.ruby-forum.com/t/translating-next-and-previous-in-will-paginate/162799 "2009-03-14T15:21:38Z")

</div>

Dear all I was wondering how can i use i18n to translate next and previous in the will paginate plugin any idea thank

---

## [Image Crop](https://www.ruby-forum.com/t/image-crop/95792)

<div class="topic-metadata">

**Author:** [@dustin](https://www.ruby-forum.com/u/dustin)\
**Replies:** 2\
**Last updated:** [March 6, 2009, 3:00pm UTC](https://www.ruby-forum.com/t/image-crop/95792 "2009-03-06T15:00:50Z")

</div>

I want to make a program that will be able to take an image file and crop a square at a given coordinate value (X,Y). I would tell it the X,Y and the size of the crop ie. 350x350. The X,Y would be the center of the ne…

---

## [Looking for a tool do visualize the data model of a rails application](https://www.ruby-forum.com/t/looking-for-a-tool-do-visualize-the-data-model-of-a-rails-application/160442)

<div class="topic-metadata">

**Author:** [@msmsms](https://www.ruby-forum.com/u/msmsms)\
**Replies:** 2\
**Last updated:** [February 16, 2009, 6:58pm UTC](https://www.ruby-forum.com/t/looking-for-a-tool-do-visualize-the-data-model-of-a-rails-application/160442 "2009-02-16T18:58:46Z")

</div>

Hey, I’m looking for a tool which allows me to visualize the data model of a rails application in uml diagrams. In the moment, I manually synchronize my uml diagrams and the ror models manually, but this takes too mu…

---

## [Update + validation error](https://www.ruby-forum.com/t/update-validation-error/160024)

<div class="topic-metadata">

**Author:** [@mpathare](https://www.ruby-forum.com/u/mpathare)\
**Replies:** 2\
**Last updated:** [February 11, 2009, 4:11am UTC](https://www.ruby-forum.com/t/update-validation-error/160024 "2009-02-11T04:11:42Z")

</div>

I have a Player model with some validations. I am using a partial form to create and update player info. I have the following like in the view \<%= error\_messages\_for ‘player’ %\> On create the validation errors are cor…

---

## [Insight on creating an online file editor (create, edit files, browse tree structure)](https://www.ruby-forum.com/t/insight-on-creating-an-online-file-editor-create-edit-files-browse-tree-structure/159813)

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 2\
**Last updated:** [February 9, 2009, 3:53pm UTC](https://www.ruby-forum.com/t/insight-on-creating-an-online-file-editor-create-edit-files-browse-tree-structure/159813 "2009-02-09T15:53:29Z")

</div>

Hello guys, Can anyone give any ideas on how to start working to do an online file editor. I want the user to create his/her own directory on the server an be able to create new text files and edit them online. A file…

---

## [Can I "fake" an object model on top of a flat ActiveRecord?](https://www.ruby-forum.com/t/can-i-fake-an-object-model-on-top-of-a-flat-activerecord/158875)

<div class="topic-metadata">

**Author:** [@dmorin](https://www.ruby-forum.com/u/dmorin)\
**Replies:** 2\
**Last updated:** [January 29, 2009, 12:55am UTC](https://www.ruby-forum.com/t/can-i-fake-an-object-model-on-top-of-a-flat-activerecord/158875 "2009-01-29T00:55:58Z")

</div>

This might be a painfully bad idea, but it’s gotten me curious. I have a generic object Node, which has a name attribute. Say for example that one of the names is “Widget”. What I’m wondering is, is there a way to m…

---

## [:after\_update\_element and text\_field\_with\_auto\_complete](https://www.ruby-forum.com/t/after-update-element-and-text-field-with-auto-complete/157018)

<div class="topic-metadata">

**Author:** [@sweetpete](https://www.ruby-forum.com/u/sweetpete)\
**Replies:** 2\
**Last updated:** [January 7, 2009, 7:34pm UTC](https://www.ruby-forum.com/t/after-update-element-and-text-field-with-auto-complete/157018 "2009-01-07T19:34:12Z")

</div>

Hi! I’m on Rails 2.2.2 and using text\_field\_with\_auto\_complete which works fine. Now I want to use :after\_update\_element to send some data back to the server when my text field is updated. I have the following code …

---

## [Mapping C long unsigned integer with swig for ruby](https://www.ruby-forum.com/t/mapping-c-long-unsigned-integer-with-swig-for-ruby/153224)

<div class="topic-metadata">

**Author:** [@lyes](https://www.ruby-forum.com/u/lyes)\
**Replies:** 2\
**Last updated:** [November 14, 2008, 6:50pm UTC](https://www.ruby-forum.com/t/mapping-c-long-unsigned-integer-with-swig-for-ruby/153224 "2008-11-14T18:50:34Z")

</div>

Hi everyone I want to now how can I indicate to swig to consider a n unsigned long long function input/output parameter as a ruby BigNum object. with python, we use the typemap to do the conversion.: for example /\* …

---

## [Check for valid email address](https://www.ruby-forum.com/t/check-for-valid-email-address/152567)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 2\
**Last updated:** [November 5, 2008, 2:21pm UTC](https://www.ruby-forum.com/t/check-for-valid-email-address/152567 "2008-11-05T14:21:40Z")

</div>

Hi I have a text field mail\_id I have to prevent the user to enter only a valid mail id For example removed\_email\_address@domain.invalid Could you please tell how can I check that? Thanks in advance Sijo

---

## [\[trunk\]fail to compile mingw32 on Cygwin](https://www.ruby-forum.com/t/trunk-fail-to-compile-mingw32-on-cygwin/149261)

<div class="topic-metadata">

**Author:** [@Masaki\_S](https://www.ruby-forum.com/u/Masaki_S)\
**Replies:** 2\
**Last updated:** [September 24, 2008, 1:41pm UTC](https://www.ruby-forum.com/t/trunk-fail-to-compile-mingw32-on-cygwin/149261 "2008-09-24T13:41:10Z")

</div>

e$B=uED$G$9!#e(B Cygwine$B$^$?$O;d$N4D6-$NLdBj$N$h$&$J5$$,$9$k$N$G$9$,0l1~Js9p$7$F$\*$-$^$9!#e(B trunke$B$NOC$G$9!#e(B Cygwine$B\>e$Ge(B CC='gcc -mno-cygwin’e$B$Ge(Bmingw32e$BHGe(BRubye$B$r%3%s%Q%$%k$7$h$&$H$9$ke(B e$…

---

## [Caching static assets if present](https://www.ruby-forum.com/t/caching-static-assets-if-present/147548)

<div class="topic-metadata">

**Author:** [@archfiend997](https://www.ruby-forum.com/u/archfiend997)\
**Replies:** 2\
**Last updated:** [September 3, 2008, 3:04am UTC](https://www.ruby-forum.com/t/caching-static-assets-if-present/147548 "2008-09-03T03:04:05Z")

</div>

Hello, I am configuring an environment where at deployment-time static files are identified and stored in a known location. Also as part of deployment, each static file has a compressed version generated, and touch…

---

## [Only get, put, and delete requests are allowed](https://www.ruby-forum.com/t/only-get-put-and-delete-requests-are-allowed/144634)

<div class="topic-metadata">

**Author:** [@tinney](https://www.ruby-forum.com/u/tinney)\
**Replies:** 2\
**Last updated:** [July 31, 2008, 6:06pm UTC](https://www.ruby-forum.com/t/only-get-put-and-delete-requests-are-allowed/144634 "2008-07-31T18:06:30Z")

</div>

Greetings, I’m running into an odd problem here. Everything was working fine until I started playing with my application this morning. It seems that when I try to use my login action, I’m instead given this error. On…

---

## [What is the use of 'abstract\_method'?](https://www.ruby-forum.com/t/what-is-the-use-of-abstract-method/141882)

<div class="topic-metadata">

**Author:** [@rahulonrails](https://www.ruby-forum.com/u/rahulonrails)\
**Replies:** 2\
**Last updated:** [July 1, 2008, 4:54pm UTC](https://www.ruby-forum.com/t/what-is-the-use-of-abstract-method/141882 "2008-07-01T16:54:55Z")

</div>

What is the use of ‘abstract\_method’ in rails? –Rahul

---

## [Simple rails login system](https://www.ruby-forum.com/t/simple-rails-login-system/140551)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 2\
**Last updated:** [June 16, 2008, 6:32am UTC](https://www.ruby-forum.com/t/simple-rails-login-system/140551 "2008-06-16T06:32:04Z")

</div>

Hey All, Just started to play around with rails a bit today by creating a login system, but I’ve run into a glitch. ###user\_controller.rb### class UserController \< ApplicationController def login @title = “Log In” …

---

## [\[OT\] oferta de trabajo](https://www.ruby-forum.com/t/ot-oferta-de-trabajo/140053)

<div class="topic-metadata">

**Author:** [@Antonio\_Reher](https://www.ruby-forum.com/u/Antonio_Reher)\
**Replies:** 2\
**Last updated:** [June 10, 2008, 3:05pm UTC](https://www.ruby-forum.com/t/ot-oferta-de-trabajo/140053 "2008-06-10T15:05:22Z")

</div>

Hola, siento el offtopic. Necesitamos un desarrollador ROR. No hace falta que sea un experto, pero sí que pueda realizar labores típicas de desarrollo web y que tenga cierta experiencia en el área. En principio nos in…

---

## [TypeError when fetching gems with --source](https://www.ruby-forum.com/t/typeerror-when-fetching-gems-with-source/134964)

<div class="topic-metadata">

**Author:** [@df-sean](https://www.ruby-forum.com/u/df-sean)\
**Replies:** 2\
**Last updated:** [April 16, 2008, 11:10pm UTC](https://www.ruby-forum.com/t/typeerror-when-fetching-gems-with-source/134964 "2008-04-16T23:10:43Z")

</div>

When I attempt to fetch gems while specifying a source, like so: gem fetch activerecord-sqlserver-adapter –source=http://gems.rubyonrails.org …I receive the following error: ERROR: While executing gem … (TypeError) …

---

## [Autotest RSpec Not Running on Model Save's?](https://www.ruby-forum.com/t/autotest-rspec-not-running-on-model-saves/133826)

<div class="topic-metadata">

**Author:** [@FischerS\_Daniel](https://www.ruby-forum.com/u/FischerS_Daniel)\
**Replies:** 2\
**Last updated:** [April 9, 2008, 3:21am UTC](https://www.ruby-forum.com/t/autotest-rspec-not-running-on-model-saves/133826 "2008-04-09T03:21:28Z")

</div>

If I save my model while autotest is running, autotest doesn’t run the model’s specs, all I get in my window is /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -S script/spec -O spec/spec.opts How…

---

## [How can i create 2 foreign key in a table referring key from one table?](https://www.ruby-forum.com/t/how-can-i-create-2-foreign-key-in-a-table-referring-key-from-one-table/117726)

<div class="topic-metadata">

**Author:** [@Amjith](https://www.ruby-forum.com/u/Amjith)\
**Replies:** 2\
**Last updated:** [March 31, 2008, 8:24am UTC](https://www.ruby-forum.com/t/how-can-i-create-2-foreign-key-in-a-table-referring-key-from-one-table/117726 "2008-03-31T08:24:28Z")

</div>

hi Friends, i have a accounts table and a transaction table see the schema below acc\_master acc\_id int(11) – primary key acc\_name cur\_balance regist\_date update\_date acc\_trans trans\_id – primary key t…

---

## [\[Rails 2\] Timestamps](https://www.ruby-forum.com/t/rails-2-timestamps/129268)

<div class="topic-metadata">

**Author:** [@GaSSSStan\_Loiseau](https://www.ruby-forum.com/u/GaSSSStan_Loiseau)\
**Replies:** 2\
**Last updated:** [February 17, 2008, 2:04pm UTC](https://www.ruby-forum.com/t/rails-2-timestamps/129268 "2008-02-17T14:04:00Z")

</div>

Salut create\_table :matable do |t| t.timestamps end timestamps me crée creator\_id / created\_at / updated\_at , super c’est génial … Mais pourquoi ils se sont arrêté en si bon chemin, et n'ont pas proposé un up…

---

## [Juggernaut with backgroundrb](https://www.ruby-forum.com/t/juggernaut-with-backgroundrb/111861)

<div class="topic-metadata">

**Author:** [@kaffepanna](https://www.ruby-forum.com/u/kaffepanna)\
**Replies:** 2\
**Last updated:** [December 18, 2007, 3:33am UTC](https://www.ruby-forum.com/t/juggernaut-with-backgroundrb/111861 "2007-12-18T03:33:02Z")

</div>

Hej. Im building a webbased chat client with juggernaut and backgroundrb. The idÃ©a was that the client runs on its own process in a worker and acts on responses from the actual chat server and then send page updates …

---

## [Rrdtool and rails](https://www.ruby-forum.com/t/rrdtool-and-rails/118544)

<div class="topic-metadata">

**Author:** [@rawn027](https://www.ruby-forum.com/u/rawn027)\
**Replies:** 2\
**Last updated:** [October 28, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/rrdtool-and-rails/118544 "2007-10-28T19:43:31Z")

</div>

How would one get the information stored in rrdtool into a database that rails can present to the user? Would it be possible to combine this data with other data in the same database to handle virtual connections betw…

---

## [I have nothing to do with ORA-01756!](https://www.ruby-forum.com/t/i-have-nothing-to-do-with-ora-01756/117926)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [October 22, 2007, 3:28pm UTC](https://www.ruby-forum.com/t/i-have-nothing-to-do-with-ora-01756/117926 "2007-10-22T15:28:56Z")

</div>

I have create a oracle 9i (9.2) database and set its characterset to UTF8. After I create a table named man, together with controllers and scaffold with ruby, I log on to the page “New Man” and input 3 chinese charact…

---

## [IDE y tutorial](https://www.ruby-forum.com/t/ide-y-tutorial/117006)

<div class="topic-metadata">

**Author:** [@MSSS\_go\_de\_Oz](https://www.ruby-forum.com/u/MSSS_go_de_Oz)\
**Replies:** 2\
**Last updated:** [October 15, 2007, 12:28am UTC](https://www.ruby-forum.com/t/ide-y-tutorial/117006 "2007-10-15T00:28:51Z")

</div>

Saludos colisteros: Mi primer post a la lista deseo gastarlo pidiendoles un buen IDE que me brinde autocompletamiento preferentemente y ppues como que soy algo nuevo pues un buen tutorial para empezar pues ya me he l…

---

## [Workflow suggestions request](https://www.ruby-forum.com/t/workflow-suggestions-request/115589)

<div class="topic-metadata">

**Author:** [@oli](https://www.ruby-forum.com/u/oli)\
**Replies:** 2\
**Last updated:** [September 30, 2007, 7:42pm UTC](https://www.ruby-forum.com/t/workflow-suggestions-request/115589 "2007-09-30T19:42:29Z")

</div>

Hi All, I’m getting into Radiant (and loving it - props all), but am wondering if anyone has some workflow suggestions for me. At the moment I’m editing pages, templates and snippets via the admin interface, but this…

---

## [Update\_attributes](https://www.ruby-forum.com/t/update-attributes/49595)

<div class="topic-metadata">

**Author:** [@Marc.Love](https://www.ruby-forum.com/u/Marc.Love)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/update-attributes/49595 "2007-09-25T23:07:17Z")

</div>

Is there a way to find out why an update\_attributes command returned false? After upgrade to 0.14.3, one of my update\_attributes commands is no longer working, but I don’t know of any way to find out why. Marc =====…

---

## [Creating and adding new methods in runtime](https://www.ruby-forum.com/t/creating-and-adding-new-methods-in-runtime/103930)

<div class="topic-metadata">

**Author:** [@konryd](https://www.ruby-forum.com/u/konryd)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/creating-and-adding-new-methods-in-runtime/103930 "2007-09-25T23:04:09Z")

</div>

Hello, I need to add in runtime several methods to my class. How can I accomplish this in ruby? More precisely: I need my class to overload arithmetic operators with fixnums in both ways (4+MyClass, MyClass+4). All th…

---

## [Ho to capture the domain name](https://www.ruby-forum.com/t/ho-to-capture-the-domain-name/92845)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 2\
**Last updated:** [August 29, 2007, 1:37am UTC](https://www.ruby-forum.com/t/ho-to-capture-the-domain-name/92845 "2007-08-29T01:37:05Z")

</div>

Hi all Is there a way to capture the domain name and form there open one application or another. I have to domains registered. domain1 and domain2 Is there a way when someone types www.domain1.com it calls a RoR page …

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

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