# Top

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

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

---

## [Decompose ActiveRecord script into methods](https://www.ruby-forum.com/t/decompose-activerecord-script-into-methods/175907)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 2\
**Last updated:** [September 23, 2009, 3:23am UTC](https://www.ruby-forum.com/t/decompose-activerecord-script-into-methods/175907 "2009-09-23T03:23:18Z")

</div>

If I commend out the def and end lines for the “all” method, the script runs fine. However, the goal is to decompose the script into several methods, which fails with: thufir@ARRAKIS:~/projects/aggregator$ thufir@AR…

---

## [\[Rails\] map.resources :news](https://www.ruby-forum.com/t/rails-map-resources-news/175000)

<div class="topic-metadata">

**Author:** [@sgurbat](https://www.ruby-forum.com/u/sgurbat)\
**Replies:** 2\
**Last updated:** [September 5, 2009, 6:50pm UTC](https://www.ruby-forum.com/t/rails-map-resources-news/175000 "2009-09-05T18:50:19Z")

</div>

Ciao a tutti, ho un problemino con il routing di un modello uncountable ovvero il classico “news”. Specificano: “map.resources :news” mi trovo con un, ovvio, conflitto di metodi quando si tratta di richiamare: “news\_…

---

## [Seg fault on Thread.new with ruby 1.8.6](https://www.ruby-forum.com/t/seg-fault-on-thread-new-with-ruby-1-8-6/167382)

<div class="topic-metadata">

**Author:** [@fiddler](https://www.ruby-forum.com/u/fiddler)\
**Replies:** 2\
**Last updated:** [May 11, 2009, 9:43am UTC](https://www.ruby-forum.com/t/seg-fault-on-thread-new-with-ruby-1-8-6/167382 "2009-05-11T09:43:43Z")

</div>

Hi all, Since my rails app crashed, I cannot restart it and get the following error at startup: /local2/ruby/gems/gems/rails-2.1.1/lib/commands/servers/base.rb:4: \[BUG\] Segmentation fault ruby 1.8.6 (2008-08-11) \[i3…

---

## [How to convert the model\_name to table\_name in ruby on rails](https://www.ruby-forum.com/t/how-to-convert-the-model-name-to-table-name-in-ruby-on-rails/167375)

<div class="topic-metadata">

**Author:** [@venkat\_ruby](https://www.ruby-forum.com/u/venkat_ruby)\
**Replies:** 2\
**Last updated:** [May 7, 2009, 8:18am UTC](https://www.ruby-forum.com/t/how-to-convert-the-model-name-to-table-name-in-ruby-on-rails/167375 "2009-05-07T08:18:04Z")

</div>

Hi, Can anyone help me “to convert the model\_name to table\_name in ruby on rails” Example: CustomerDetail to customer\_details Regards,

---

## [Git push](https://www.ruby-forum.com/t/git-push/167015)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 2\
**Last updated:** [May 4, 2009, 7:58am UTC](https://www.ruby-forum.com/t/git-push/167015 "2009-05-04T07:58:20Z")

</div>

Hey everyone, I usually just quietly push changes out, but I wanted to say something about the changes that went out today. Today’s changes have changed the interpreter to be an Adaptive Compiling interpreter. For tho…

---

## [Mysql error on scoped find\_or\_create\_by\_attr](https://www.ruby-forum.com/t/mysql-error-on-scoped-find-or-create-by-attr/163659)

<div class="topic-metadata">

**Author:** [@klochner](https://www.ruby-forum.com/u/klochner)\
**Replies:** 2\
**Last updated:** [March 23, 2009, 7:16pm UTC](https://www.ruby-forum.com/t/mysql-error-on-scoped-find-or-create-by-attr/163659 "2009-03-23T19:16:53Z")

</div>

Anyone have insight on this one? class Parent has\_many :children end add\_index “children”, \[“parent\_id”, “name”\], :name =\> “by\_parent\_name”, :unique =\> true a = Parent.find(1) a.children.find\_or\_create\_by\_name “fo…

---

## [Migration for beginner](https://www.ruby-forum.com/t/migration-for-beginner/156794)

<div class="topic-metadata">

**Author:** [@anita](https://www.ruby-forum.com/u/anita)\
**Replies:** 2\
**Last updated:** [January 3, 2009, 11:20am UTC](https://www.ruby-forum.com/t/migration-for-beginner/156794 "2009-01-03T11:20:38Z")

</div>

I haven’t used migration for quite a while and I forgot how to do it. I need to add a column to a certain table. I want to use: ruby script/generate migration inactivated\_at but if I don’t write the name of the table …

---

## [Video gallery in rails](https://www.ruby-forum.com/t/video-gallery-in-rails/156383)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 2\
**Last updated:** [December 26, 2008, 12:03pm UTC](https://www.ruby-forum.com/t/video-gallery-in-rails/156383 "2008-12-26T12:03:24Z")

</div>

Dear all, Iam in process of creating video gallery like youtube, please suggesst plugins i should install and best suits fro my application. My requirements are Huge file uploading to upload videos creating thumbnai…

---

## [Shifting query from Controller to Model](https://www.ruby-forum.com/t/shifting-query-from-controller-to-model/156315)

<div class="topic-metadata">

**Author:** [@shahroon\_ali](https://www.ruby-forum.com/u/shahroon_ali)\
**Replies:** 2\
**Last updated:** [December 26, 2008, 8:11am UTC](https://www.ruby-forum.com/t/shifting-query-from-controller-to-model/156315 "2008-12-26T08:11:03Z")

</div>

Hi All, I want to shift my Method from Controller to Model, I have a controller with no Model because there is no table. Now I want to shift my Method from Controller to Model. The code is here… //////////Da…

---

## [Substituting single quotes in strings](https://www.ruby-forum.com/t/substituting-single-quotes-in-strings/155768)

<div class="topic-metadata">

**Author:** [@makire](https://www.ruby-forum.com/u/makire)\
**Replies:** 2\
**Last updated:** [December 16, 2008, 5:39pm UTC](https://www.ruby-forum.com/t/substituting-single-quotes-in-strings/155768 "2008-12-16T17:39:46Z")

</div>

Hi I want to substitute single quotes in a string but fails unless resorting to overkill (imho) techniques like blocks: s = “ab’cd” =\> “ab’cd” s.sub("’") {|s| %q{’} } =\> “ab\\'cd” As seen this method works bu…

---

## [Saving data from the output window to a text file](https://www.ruby-forum.com/t/saving-data-from-the-output-window-to-a-text-file/155318)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [December 10, 2008, 5:54pm UTC](https://www.ruby-forum.com/t/saving-data-from-the-output-window-to-a-text-file/155318 "2008-12-10T17:54:30Z")

</div>

Hi group, I’m a complete novice who is having lots of fun discovering Ruby, Ruby on Rails / Watir. Good bits of software. I wanted to record the info in the output window, into a text file. I wanted to do this in R…

---

## [Please help newb - observe\_field?](https://www.ruby-forum.com/t/please-help-newb-observe-field/152721)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 2\
**Last updated:** [December 6, 2008, 7:31pm UTC](https://www.ruby-forum.com/t/please-help-newb-observe-field/152721 "2008-12-06T19:31:44Z")

</div>

thanks everyone, I am using an autocomplete text field with associations following ryan bates rails cast #102. What i would like is when I autocomplete a customer name for their “customer address” to show up in an ed…

---

## [What to do when a user logs out, then presses the back button?](https://www.ruby-forum.com/t/what-to-do-when-a-user-logs-out-then-presses-the-back-button/153977)

<div class="topic-metadata">

**Author:** [@carpeliam](https://www.ruby-forum.com/u/carpeliam)\
**Replies:** 2\
**Last updated:** [November 25, 2008, 7:42am UTC](https://www.ruby-forum.com/t/what-to-do-when-a-user-logs-out-then-presses-the-back-button/153977 "2008-11-25T07:42:55Z")

</div>

There are two cases I’m concerned about here when a user logs out, then clicks the back button: the user presses the “back” button and goes back to a page that would otherwise require authentication Right now, the e…

---

## [How to do unit test whic allows null in the column](https://www.ruby-forum.com/t/how-to-do-unit-test-whic-allows-null-in-the-column/151272)

<div class="topic-metadata">

**Author:** [@jicksta](https://www.ruby-forum.com/u/jicksta)\
**Replies:** 2\
**Last updated:** [October 19, 2008, 1:24pm UTC](https://www.ruby-forum.com/t/how-to-do-unit-test-whic-allows-null-in-the-column/151272 "2008-10-19T13:24:19Z")

</div>

Hi, I have a carts table with columns: campsite, arrival\_date, nights, parents, children, family\_claim, total. Here children and family\_claim column allows null so even if the value is not passed for these columns it …

---

## [Redirecting .php / .aspx requests?](https://www.ruby-forum.com/t/redirecting-php-aspx-requests/150330)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 2\
**Last updated:** [October 7, 2008, 6:11pm UTC](https://www.ruby-forum.com/t/redirecting-php-aspx-requests/150330 "2008-10-07T18:11:10Z")

</div>

I’m rebuilding my site and with google i’m getting a load of requests for .php or .aspx files which the previous site was built on. Is there any way of redirecting these www.mysite.com/index.aspx requests to the /inde…

---

## [Manage 1 ressource with 2 views, the "Restful way"](https://www.ruby-forum.com/t/manage-1-ressource-with-2-views-the-restful-way/146840)

<div class="topic-metadata">

**Author:** [@gregory\_barborini](https://www.ruby-forum.com/u/gregory_barborini)\
**Replies:** 2\
**Last updated:** [August 26, 2008, 5:51am UTC](https://www.ruby-forum.com/t/manage-1-ressource-with-2-views-the-restful-way/146840 "2008-08-26T05:51:14Z")

</div>

Hello all, I’m working on a website listing recipes. I need 2 views : the first will be my “Home” page with the last 6 recipes and much details. the second is a listing of all the recipes sorted by alphabetical orde…

---

## [Rdoc reinstall breaks fast-ri - now what?](https://www.ruby-forum.com/t/rdoc-reinstall-breaks-fast-ri-now-what/144951)

<div class="topic-metadata">

**Author:** [@matt\_neuburg](https://www.ruby-forum.com/u/matt_neuburg)\
**Replies:** 2\
**Last updated:** [August 6, 2008, 2:20am UTC](https://www.ruby-forum.com/t/rdoc-reinstall-breaks-fast-ri-now-what/144951 "2008-08-06T02:20:54Z")

</div>

I am really just not having any luck with rdoc / ri these days. Because the new version of rdoc promised that File#read would finally succeed (automatic lookup of methods in the supercclass), I downloaded it. It didn’…

---

## [Symbolify (#169)](https://www.ruby-forum.com/t/symbolify-169/143386)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 2\
**Last updated:** [July 17, 2008, 11:21pm UTC](https://www.ruby-forum.com/t/symbolify-169/143386 "2008-07-17T23:21:57Z")

</div>

Apologies for being a bit late… Here’s this week’s summary. The primary point of this week’s quiz was to highlight the ? pseudo-operator… Simply, a character preceded by ? is converted to its ASCII value. (I hesitate…

---

## [Postgres text field returns wrong data](https://www.ruby-forum.com/t/postgres-text-field-returns-wrong-data/143253)

<div class="topic-metadata">

**Author:** [@rickf](https://www.ruby-forum.com/u/rickf)\
**Replies:** 2\
**Last updated:** [July 17, 2008, 4:42pm UTC](https://www.ruby-forum.com/t/postgres-text-field-returns-wrong-data/143253 "2008-07-17T16:42:36Z")

</div>

I am having an interesting problem. I have a Postgres database with a table containing a text field. In the text field is stored data that in some cases has a ‘\*’ and a newline return as the first line first few char…

---

## [Whence "post" in a description?](https://www.ruby-forum.com/t/whence-post-in-a-description/131681)

<div class="topic-metadata">

**Author:** [@nzook](https://www.ruby-forum.com/u/nzook)\
**Replies:** 2\
**Last updated:** [July 11, 2008, 1:30am UTC](https://www.ruby-forum.com/t/whence-post-in-a-description/131681 "2008-07-11T01:30:17Z")

</div>

I’m having the exact problem described in this earlier post: http://www.nabble.com/Odd-response.body-behavior-to12837556.html#a12837556 That is, after a post, response.body is just the controller/view string (“user/lo…

---

## [Unit test patterned after AWDR p. 186 doesn't work as expect](https://www.ruby-forum.com/t/unit-test-patterned-after-awdr-p-186-doesnt-work-as-expect/142640)

<div class="topic-metadata">

**Author:** [@rainyglade](https://www.ruby-forum.com/u/rainyglade)\
**Replies:** 2\
**Last updated:** [July 10, 2008, 1:04am UTC](https://www.ruby-forum.com/t/unit-test-patterned-after-awdr-p-186-doesnt-work-as-expect/142640 "2008-07-10T01:04:52Z")

</div>

I have the following Ruby migration: class CreateSimulations \< ActiveRecord::Migration def self.up create\_table :simulations do |t| t.string :name, :desc, :time\_units t.column :run\_length, :float t.timestamps e…

---

## [Check\_box\_tag with instance variable](https://www.ruby-forum.com/t/check-box-tag-with-instance-variable/140790)

<div class="topic-metadata">

**Author:** [@purab](https://www.ruby-forum.com/u/purab)\
**Replies:** 2\
**Last updated:** [June 18, 2008, 4:21pm UTC](https://www.ruby-forum.com/t/check-box-tag-with-instance-variable/140790 "2008-06-18T16:21:42Z")

</div>

hi, i am trying to use one check\_box with instance variable and trying to get true or false value from database table. and also please give me solution for multiple check\_box and select all how to feed and retrieve v…

---

## [Attachment\_fu uploaded file with Action mailer](https://www.ruby-forum.com/t/attachment-fu-uploaded-file-with-action-mailer/139143)

<div class="topic-metadata">

**Author:** [@andrewdon](https://www.ruby-forum.com/u/andrewdon)\
**Replies:** 2\
**Last updated:** [May 31, 2008, 3:55pm UTC](https://www.ruby-forum.com/t/attachment-fu-uploaded-file-with-action-mailer/139143 "2008-05-31T15:55:18Z")

</div>

Hello, I have setup ActionMailer to send mail with attachments, but when I try to send an email with an attachment that attachment\_fu has uploaded ActionMailer can’t find the files, it seems to be looking in the wrong …

---

## [Por donde empezar](https://www.ruby-forum.com/t/por-donde-empezar/137089)

<div class="topic-metadata">

**Author:** [@Mauricio\_D](https://www.ruby-forum.com/u/Mauricio_D)\
**Replies:** 2\
**Last updated:** [May 8, 2008, 11:10pm UTC](https://www.ruby-forum.com/t/por-donde-empezar/137089 "2008-05-08T23:10:09Z")

</div>

Hola a todos, quiero hacer un backend en ror, pero todo el entorno visual o de navegacion lo voy a hacer en flash con ac 3, alguna idea de por donde empezar, se que debo generar los xml para que flash los interprete e…

---

## [reStructuredText support in the wiki](https://www.ruby-forum.com/t/restructuredtext-support-in-the-wiki/135035)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 2\
**Last updated:** [April 17, 2008, 10:09pm UTC](https://www.ruby-forum.com/t/restructuredtext-support-in-the-wiki/135035 "2008-04-17T22:09:12Z")

</div>

It seems that Python docutils is no more available for the wiki. What’s the problem? Thanks and regards Manlio P.

---

## [Association reflexive n:n](https://www.ruby-forum.com/t/association-reflexive-n-n/125947)

<div class="topic-metadata">

**Author:** [@adiates](https://www.ruby-forum.com/u/adiates)\
**Replies:** 2\
**Last updated:** [January 14, 2008, 3:39pm UTC](https://www.ruby-forum.com/t/association-reflexive-n-n/125947 "2008-01-14T15:39:05Z")

</div>

Bonjour, J’ai une gestion de thèmes : themes(id, parent\_id, section\_id#,libelle) de facon à avoir une hierachie (parent\_id pointe sur la même table pour avoir une hierarchie en arbre) de theme independante par sectio…

---

## [Trollop 1.7.1 released](https://www.ruby-forum.com/t/trollop-1-7-1-released/125318)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 2\
**Last updated:** [January 9, 2008, 3:48am UTC](https://www.ruby-forum.com/t/trollop-1-7-1-released/125318 "2008-01-09T03:48:09Z")

</div>

Trollop version 1.7.1 has been released! http://trollop.rubyforge.org DESCRIPTION Trollop is YAFCLAP — yet another fine commandline argument processor for Ruby. Trollop is designed to provide the maximal amount of G…

---

## [Association TypeMismatch](https://www.ruby-forum.com/t/association-typemismatch/125349)

<div class="topic-metadata">

**Author:** [@alexpescara](https://www.ruby-forum.com/u/alexpescara)\
**Replies:** 2\
**Last updated:** [January 8, 2008, 7:13pm UTC](https://www.ruby-forum.com/t/association-typemismatch/125349 "2008-01-08T19:13:11Z")

</div>

Eccomi qui di nuovo a chiedervi aiuto… Ancora buon anno a tutti… Questa volta ho bisogno di realizzare un’applicazione in cui,tra le varie tabelle,sono presenti: -drivers,con un elenco di autisti -pullmen, con un ele…

---

## [Using ActionWebService with Edge Rails/Rails 2.0](https://www.ruby-forum.com/t/using-actionwebservice-with-edge-rails-rails-2-0/121408)

<div class="topic-metadata">

**Author:** [@elliotb](https://www.ruby-forum.com/u/elliotb)\
**Replies:** 2\
**Last updated:** [January 3, 2008, 9:45pm UTC](https://www.ruby-forum.com/t/using-actionwebservice-with-edge-rails-rails-2-0/121408 "2008-01-03T21:45:26Z")

</div>

Hi We have a Rails app running Edge Rails R8041, serving up a RESTful API and have recently had the need arise to add a SOAP API. After a bit of fighting with load paths setting the following in environment.rb: confi…

---

## [Ruby-debug will not install, wants ver 12 of Microsoft compiler](https://www.ruby-forum.com/t/ruby-debug-will-not-install-wants-ver-12-of-microsoft-compiler/124725)

<div class="topic-metadata">

**Author:** [@fredistic](https://www.ruby-forum.com/u/fredistic)\
**Replies:** 2\
**Last updated:** [January 2, 2008, 11:18pm UTC](https://www.ruby-forum.com/t/ruby-debug-will-not-install-wants-ver-12-of-microsoft-compiler/124725 "2008-01-02T23:18:15Z")

</div>

If the debugger is part of Rails now, shouldn’t I expect it to install? When I run ‘gem install ruby-debug’ it runs the Microsoft make, ‘nmake’ and it compiles C source that demands version ‘1200’ of the C compiler, …

---

## [Nested Resource with two different parent controllers](https://www.ruby-forum.com/t/nested-resource-with-two-different-parent-controllers/123204)

<div class="topic-metadata">

**Author:** [@Kenny\_C](https://www.ruby-forum.com/u/Kenny_C)\
**Replies:** 2\
**Last updated:** [December 18, 2007, 4:24pm UTC](https://www.ruby-forum.com/t/nested-resource-with-two-different-parent-controllers/123204 "2007-12-18T16:24:31Z")

</div>

I’m trying to figure out how to created nested resources for a controller that can have two different “parent” controllers. For example: Take the following models: Business Event Comment (business\_id, event\_id, etc… …

---

## [Why is this view spec failing?](https://www.ruby-forum.com/t/why-is-this-view-spec-failing/119406)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 2\
**Last updated:** [November 6, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/why-is-this-view-spec-failing/119406 "2007-11-06T20:56:33Z")

</div>

I can’t figure out why I am getting a failure. It renders out fine in the browser. New member \<%= error\_messages\_for :member %\> \<% form\_for(:member, :url =\> members\_path) do |f| %\> Member Info First Name:…

---

## [How can I print the string in different color?](https://www.ruby-forum.com/t/how-can-i-print-the-string-in-different-color/118010)

<div class="topic-metadata">

**Author:** [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Replies:** 2\
**Last updated:** [October 24, 2007, 2:04am UTC](https://www.ruby-forum.com/t/how-can-i-print-the-string-in-different-color/118010 "2007-10-24T02:04:44Z")

</div>

Hai Friends, How can I print the string in different color in Ruby. For example,we can take c program,I c program we are having the printing foramts with lot of colors. by vellingiri

---

## [Deploying for the real world. I need a plan!](https://www.ruby-forum.com/t/deploying-for-the-real-world-i-need-a-plan/117641)

<div class="topic-metadata">

**Author:** [@slindsey3000](https://www.ruby-forum.com/u/slindsey3000)\
**Replies:** 2\
**Last updated:** [October 18, 2007, 10:18pm UTC](https://www.ruby-forum.com/t/deploying-for-the-real-world-i-need-a-plan/117641 "2007-10-18T22:18:18Z")

</div>

I want to develop with Ruby and Rails, and have gone throught the Prag Prog and Agile Web Dev on my local setup with Netbeans and Instant Rails with success. What are the costs involved in running your own server? (e.…

---

## [Data count problem in array](https://www.ruby-forum.com/t/data-count-problem-in-array/116859)

<div class="topic-metadata">

**Author:** [@vidyagayathri](https://www.ruby-forum.com/u/vidyagayathri)\
**Replies:** 2\
**Last updated:** [October 12, 2007, 6:26am UTC](https://www.ruby-forum.com/t/data-count-problem-in-array/116859 "2007-10-12T06:26:07Z")

</div>

hi all, now i am facing problem with count, actually i need to count the data after spliting like this is my one data @aa=LINEDIA0000050000005705700697RCSHEPLER’S EXCLU100SHEPLER’S EXCLUSIVE6042142403SHEPLERS COGNAC …

---

## [Ignore a route?](https://www.ruby-forum.com/t/ignore-a-route/114730)

<div class="topic-metadata">

**Author:** [@ahab](https://www.ruby-forum.com/u/ahab)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/ignore-a-route/114730 "2007-09-25T23:04:57Z")

</div>

Is it possible to have rails ignore a given route? http://mysite.com # =\> This is my rails app http://mysite.com/blog # =\> This is my wordpress blog Can I map a route so that rails will ignore, or not handle, the …

---

## [Mixing a call to .rhtml AND .rjs](https://www.ruby-forum.com/t/mixing-a-call-to-rhtml-and-rjs/114523)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 2\
**Last updated:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/mixing-a-call-to-rhtml-and-rjs/114523 "2007-09-17T13:25:35Z")

</div>

Hi I’ll admit that I’m being lazy and trying to avoid learning enough javascript to implement this in Script.aculo.us, but if I have to I will. If I don’t then someone will have answered this question I have. :wink: …

---

## [Exception Handiling](https://www.ruby-forum.com/t/exception-handiling/114221)

<div class="topic-metadata">

**Author:** [@advait](https://www.ruby-forum.com/u/advait)\
**Replies:** 2\
**Last updated:** [September 10, 2007, 9:26am UTC](https://www.ruby-forum.com/t/exception-handiling/114221 "2007-09-10T09:26:11Z")

</div>

Hello, I have a basic idea of what an exception is but I am not able to understand it so that I can make use of it in my application’s. If possible please try and help me out with the basic of exception and its use. …

---

## [\[ANN\] Clickatell Ruby API 0.4](https://www.ruby-forum.com/t/ann-clickatell-ruby-api-0-4/113293)

<div class="topic-metadata">

**Author:** [@lukeredpath](https://www.ruby-forum.com/u/lukeredpath)\
**Replies:** 2\
**Last updated:** [August 29, 2007, 6:18pm UTC](https://www.ruby-forum.com/t/ann-clickatell-ruby-api-0-4/113293 "2007-08-29T18:18:13Z")

</div>

The Clickatell Ruby API is a Ruby interface to the Clickatell SMS gateway service (www.clickatell.com). It allows you to send SMS messages in your Ruby and Rails applications. It also comes with a command line utility…

---

## [List of all erb commands](https://www.ruby-forum.com/t/list-of-all-erb-commands/113249)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 2\
**Last updated:** [August 29, 2007, 1:58pm UTC](https://www.ruby-forum.com/t/list-of-all-erb-commands/113249 "2007-08-29T13:58:50Z")

</div>

some of the the erb commands are “text\_field” ,“link\_to”,etc… is there any link on internet to show all available ERB commands ? thank you to read my post.

---

## [Of spam](https://www.ruby-forum.com/t/of-spam/112858)

<div class="topic-metadata">

**Author:** [@Faisal\_N\_Jawdat](https://www.ruby-forum.com/u/Faisal_N_Jawdat)\
**Replies:** 2\
**Last updated:** [August 23, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/of-spam/112858 "2007-08-23T23:10:04Z")

</div>

After talking with DHH I will be attempting to help weed out the spam. In practice this means I’ll be able to to remove spam messages from the web archive, and to remove spammers from the list. Due to an unfortunate…

---

## [Cant get attachment\_fu to store files outside of RAILS\_ROOT](https://www.ruby-forum.com/t/cant-get-attachment-fu-to-store-files-outside-of-rails-root/109805)

<div class="topic-metadata">

**Author:** [@mjt](https://www.ruby-forum.com/u/mjt)\
**Replies:** 2\
**Last updated:** [August 17, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/cant-get-attachment-fu-to-store-files-outside-of-rails-root/109805 "2007-08-17T20:35:27Z")

</div>

I am trying to get attachment\_fu to store files in a separate directory tree, so that when I use Capistrano to update the site the ‘public/files’ directory doesnt get left behind, thus losing the previously uploaded f…

---

## [Mod\_ruby + mod\_deflate](https://www.ruby-forum.com/t/mod-ruby-mod-deflate/110967)

<div class="topic-metadata">

**Author:** [@Salvatore\_S](https://www.ruby-forum.com/u/Salvatore_S)\
**Replies:** 2\
**Last updated:** [August 3, 2007, 3:45am UTC](https://www.ruby-forum.com/t/mod-ruby-mod-deflate/110967 "2007-08-03T03:45:45Z")

</div>

Hello! I’m running an application written in Ruby using mod\_ruby wtih Apache, the application is pretty fast and responsive but output compression via mod\_deflate may help to bring even more speed and save bandwidth. …

---

## [OpenLaszlo and Rails](https://www.ruby-forum.com/t/openlaszlo-and-rails/108548)

<div class="topic-metadata">

**Author:** [@chiaroscuro](https://www.ruby-forum.com/u/chiaroscuro)\
**Replies:** 2\
**Last updated:** [July 5, 2007, 12:09pm UTC](https://www.ruby-forum.com/t/openlaszlo-and-rails/108548 "2007-07-05T12:09:58Z")

</div>

Questa è in realà una domanda per Francesco C. perchè ho visto che usa OpenLaszlo. Dal sito sembra fichissimo e vedo che stanno facendo anche delle integrazioni per rails. TI chiedo quindi… perchè non viene usato dai…

---

## [Re: rails dojo blog](https://www.ruby-forum.com/t/re-rails-dojo-blog/107147)

<div class="topic-metadata">

**Author:** [@cpecchia](https://www.ruby-forum.com/u/cpecchia)\
**Replies:** 2\
**Last updated:** [June 18, 2007, 9:55pm UTC](https://www.ruby-forum.com/t/re-rails-dojo-blog/107147 "2007-06-18T21:55:25Z")

</div>

Salve, ho cambiato il tema del blog in uno molto più… Ruby-ist :slight\_smile: Il logo ricorda un po’ quello delle collane Ruby dei PragmaticProgrammers… Io lo ritengo molto più leggibile, ditemi voi… L’email della …

---

## [Can not Rake :), please help](https://www.ruby-forum.com/t/can-not-rake-please-help/107073)

<div class="topic-metadata">

**Author:** [@ozizus](https://www.ruby-forum.com/u/ozizus)\
**Replies:** 2\
**Last updated:** [June 18, 2007, 7:16pm UTC](https://www.ruby-forum.com/t/can-not-rake-please-help/107073 "2007-06-18T19:16:43Z")

</div>

Hi, I dont get what is wrong with this rakefile: #==================================== task :default =\> :TTList checkfile = “arrangement0/list.txt” task :TTList =\> checkfile do regenarate end #====================…

---

## [Ajax - problems with uploading files](https://www.ruby-forum.com/t/ajax-problems-with-uploading-files/103331)

<div class="topic-metadata">

**Author:** [@Daniello](https://www.ruby-forum.com/u/Daniello)\
**Replies:** 2\
**Last updated:** [June 13, 2007, 8:43pm UTC](https://www.ruby-forum.com/t/ajax-problems-with-uploading-files/103331 "2007-06-13T20:43:09Z")

</div>

This is my working! model view and controller (without AJAX): Model: attachment.rb class Attachment \< ActiveRecord::Base belongs\_to :task belongs\_to :user validates\_presence\_of :comment def uploaded\_file=(file\_fie…

---

## [Help with sortable\_element](https://www.ruby-forum.com/t/help-with-sortable-element/103633)

<div class="topic-metadata">

**Author:** [@Charlie\_McElfresh](https://www.ruby-forum.com/u/Charlie_McElfresh)\
**Replies:** 2\
**Last updated:** [May 8, 2007, 7:16pm UTC](https://www.ruby-forum.com/t/help-with-sortable-element/103633 "2007-05-08T19:16:20Z")

</div>

Hi, I made a sortable list that works fine. It does what I want – it sorts, and the order of the list is updated in the database. When you drag an element up the window, it scrolls. It’s draggable by the header. H…

---

## [Cannot read a page with open-uri](https://www.ruby-forum.com/t/cannot-read-a-page-with-open-uri/93015)

<div class="topic-metadata">

**Author:** [@xain](https://www.ruby-forum.com/u/xain)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 8:44pm UTC](https://www.ruby-forum.com/t/cannot-read-a-page-with-open-uri/93015 "2007-04-26T20:44:03Z")

</div>

open-uri have been working fine, until I used it to open http://www.mov99.com/movie/poster/2002081800574.html, when it returned a empty string. I don’t know what is the problem. Is there any page that can not be open …

---

## [How to get the id field before a save](https://www.ruby-forum.com/t/how-to-get-the-id-field-before-a-save/90642)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 2\
**Last updated:** [March 30, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/how-to-get-the-id-field-before-a-save/90642 "2007-03-30T17:20:51Z")

</div>

Hi, I have a situation where I am parsing an XML file, and in the process I create several related groups of objects. I am currently creating and saving each one in sequence, but this is causing a huge number of COM…

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

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