# Rails

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1921

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

---

## [\[Migrations\] change\_column :string to :text what happens?](https://www.ruby-forum.com/t/migrations-change-column-string-to-text-what-happens/92127)

<div class="topic-metadata">

**Author:** [@mlemos](https://www.ruby-forum.com/u/mlemos)\
**Replies:** 0\
**Last updated:** [April 16, 2007, 1:41pm UTC](https://www.ruby-forum.com/t/migrations-change-column-string-to-text-what-happens/92127 "2007-04-16T13:41:08Z")

</div>

What will happen to my existing data when I use change\_column to change the type of a column from :string to :text? Is it possible to define the SIZE parameter to the :text type? How? I’m using MySQL 5. \[\]s

---

## [Telling whether action was performed from after/around \_filt](https://www.ruby-forum.com/t/telling-whether-action-was-performed-from-after-around-filt/92124)

<div class="topic-metadata">

**Author:** [@fcheung](https://www.ruby-forum.com/u/fcheung)\
**Replies:** 0\
**Last updated:** [April 16, 2007, 1:02pm UTC](https://www.ruby-forum.com/t/telling-whether-action-was-performed-from-after-around-filt/92124 "2007-04-16T13:02:01Z")

</div>

Hi, We currently have a filter (we’ve tried both after and around filters) that logs that the user has performed certain actions. We’d like to be able to tell from the around\_filter whether or not the action was actu…

---

## [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…

---

## [Controller call with "process" fails](https://www.ruby-forum.com/t/controller-call-with-process-fails/92118)

<div class="topic-metadata">

**Author:** [@caefer](https://www.ruby-forum.com/u/caefer)\
**Replies:** 1\
**Last updated:** [April 16, 2007, 11:35am UTC](https://www.ruby-forum.com/t/controller-call-with-process-fails/92118 "2007-04-16T11:35:00Z")

</div>

Hi Folks, I have a active\_scaffold based controller that should diplay something like a dynamic result list. For the dynamic part I created a special controller that gets initialized within the index method of my fir…

---

## [Job - UK Developer Needed (Near Farnham, Surrey)](https://www.ruby-forum.com/t/job-uk-developer-needed-near-farnham-surrey/92116)

<div class="topic-metadata">

**Author:** [@kule](https://www.ruby-forum.com/u/kule)\
**Replies:** 0\
**Last updated:** [April 16, 2007, 10:38am UTC](https://www.ruby-forum.com/t/job-uk-developer-needed-near-farnham-surrey/92116 "2007-04-16T10:38:26Z")

</div>

There is the possibility for either a home-based experienced contractor and/or a full-time employed junior level position. We have a large project in progress so we need someone who can get up to speed quickly. The p…

---

## [MultiLingual option for site with Rails](https://www.ruby-forum.com/t/multilingual-option-for-site-with-rails/92099)

<div class="topic-metadata">

**Author:** [@Arjun](https://www.ruby-forum.com/u/Arjun)\
**Replies:** 2\
**Last updated:** [April 16, 2007, 10:25am UTC](https://www.ruby-forum.com/t/multilingual-option-for-site-with-rails/92099 "2007-04-16T10:25:59Z")

</div>

Hi, I was wondering if there is a plugin or a code snippet, that would translate the static content \[possibly dynamic too\] on the website for the visitors coming from different geographical regions of the world. In o…

---

## [Admin authentication](https://www.ruby-forum.com/t/admin-authentication/92112)

<div class="topic-metadata">

**Author:** [@rajo](https://www.ruby-forum.com/u/rajo)\
**Replies:** 1\
**Last updated:** [April 16, 2007, 9:55am UTC](https://www.ruby-forum.com/t/admin-authentication/92112 "2007-04-16T09:55:25Z")

</div>

Hello, I was wondering if anyone could point me in the right direction in getting very simple admin authentication functionality in a protected back end, either as a method or plug-in. I am making a product catalog w…

---

## [Number format checking](https://www.ruby-forum.com/t/number-format-checking/91554)

<div class="topic-metadata">

**Author:** [@wings](https://www.ruby-forum.com/u/wings)\
**Replies:** 4\
**Last updated:** [April 16, 2007, 7:43am UTC](https://www.ruby-forum.com/t/number-format-checking/91554 "2007-04-16T07:43:34Z")

</div>

Hi everyone, what’s the syntex to check if a field is a number. If my filed is called “phonefiled”. thanks for the help in advance.

---

## [Redirecting scripted ActiveRecord o/p to a log](https://www.ruby-forum.com/t/redirecting-scripted-activerecord-o-p-to-a-log/91989)

<div class="topic-metadata">

**Author:** [@asplake](https://www.ruby-forum.com/u/asplake)\
**Replies:** 1\
**Last updated:** [April 16, 2007, 7:42am UTC](https://www.ruby-forum.com/t/redirecting-scripted-activerecord-o-p-to-a-log/91989 "2007-04-16T07:42:53Z")

</div>

I have a script which uses ActiveRecord to create a table if it is not already there. When I run it … I get the following to STDOUT – create\_table(“cnc\_services”, {:force=\>true}) -\> 0.0660s Well and good, but I want…

---

## [How to use input from text\_field via a button..?](https://www.ruby-forum.com/t/how-to-use-input-from-text-field-via-a-button/92090)

<div class="topic-metadata">

**Author:** [@wintermute](https://www.ruby-forum.com/u/wintermute)\
**Replies:** 1\
**Last updated:** [April 16, 2007, 7:19am UTC](https://www.ruby-forum.com/t/how-to-use-input-from-text-field-via-a-button/92090 "2007-04-16T07:19:48Z")

</div>

Hi, This is most likely trivial but I cannot find it anywhere… I have a text\_field and a button. I would like to use the input in the text\_field as a value to compare against a column in a mySQL database that’s not t…

---

## [Can Webrick show directory listings like Apache?](https://www.ruby-forum.com/t/can-webrick-show-directory-listings-like-apache/92065)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 16, 2007, 6:18am UTC](https://www.ruby-forum.com/t/can-webrick-show-directory-listings-like-apache/92065 "2007-04-16T06:18:39Z")

</div>

Hi, I have a subdirectory of the RAILS\_ROOT/public/ diretcory. I can use Webrick to directly serve files from the public subdirectory: http://:3000// But I cannot get Webrick to show the directory listing of . I ge…

---

## [:confirm in Mozilla Firefox](https://www.ruby-forum.com/t/confirm-in-mozilla-firefox/92097)

<div class="topic-metadata">

**Author:** [@steve](https://www.ruby-forum.com/u/steve)\
**Replies:** 1\
**Last updated:** [April 16, 2007, 5:47am UTC](https://www.ruby-forum.com/t/confirm-in-mozilla-firefox/92097 "2007-04-16T05:47:37Z")

</div>

I use the following code to link a picture so that it refers to a blank link and relays a message after it is clicked: \<%= link\_to\_image “images/photos.jpg”, “javascript:;”, :confirm =\> “There are no pictures.” %\> In…

---

## [Deployment Consultation?](https://www.ruby-forum.com/t/deployment-consultation/92056)

<div class="topic-metadata">

**Author:** [@al-evans](https://www.ruby-forum.com/u/al-evans)\
**Replies:** 2\
**Last updated:** [April 16, 2007, 5:33am UTC](https://www.ruby-forum.com/t/deployment-consultation/92056 "2007-04-16T05:33:36Z")

</div>

I’m looking for someone who has hands-on experience with the deployment of a large-scale Rails app, and who can act as a consultant for some hours or days. My personal experience extends to configuring servers to do w…

---

## [Ruby on Rails Hosting that supports backgroundRB](https://www.ruby-forum.com/t/ruby-on-rails-hosting-that-supports-backgroundrb/92100)

<div class="topic-metadata">

**Author:** [@kiran](https://www.ruby-forum.com/u/kiran)\
**Replies:** 2\
**Last updated:** [April 16, 2007, 5:27am UTC](https://www.ruby-forum.com/t/ruby-on-rails-hosting-that-supports-backgroundrb/92100 "2007-04-16T05:27:36Z")

</div>

Hi, Please help me to know rails web hosting that supports executuing background jobs written in backgroundRB Thanks Kiran

---

## [Extracting web page source](https://www.ruby-forum.com/t/extracting-web-page-source/92008)

<div class="topic-metadata">

**Author:** [@wintermute](https://www.ruby-forum.com/u/wintermute)\
**Replies:** 3\
**Last updated:** [April 16, 2007, 4:59am UTC](https://www.ruby-forum.com/t/extracting-web-page-source/92008 "2007-04-16T04:59:34Z")

</div>

Hi guys, I am fairly new to Rails so apologies if this is trivial. I was wondering what is the best way to extract a source from a web page? Thanks for any help, W

---

## [Migration isn't changing my database](https://www.ruby-forum.com/t/migration-isnt-changing-my-database/92082)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 2\
**Last updated:** [April 16, 2007, 4:23am UTC](https://www.ruby-forum.com/t/migration-isnt-changing-my-database/92082 "2007-04-16T04:23:32Z")

</div>

This may a common problem, but I created a migration to change a table that already had some information in it. The rows that were already in the tables didn’t add the additional column. Would I need to drop all the i…

---

## [help:How to set default value for a column use of migration?](https://www.ruby-forum.com/t/help-how-to-set-default-value-for-a-column-use-of-migration/92046)

<div class="topic-metadata">

**Author:** [@jay](https://www.ruby-forum.com/u/jay)\
**Replies:** 1\
**Last updated:** [April 16, 2007, 2:54am UTC](https://www.ruby-forum.com/t/help-how-to-set-default-value-for-a-column-use-of-migration/92046 "2007-04-16T02:54:28Z")

</div>

hi,all… Here i want to use of migration to create a table and set a defult value for a column…but i cant’t finished… mycode: class CreateMessages \< ActiveRecord::Migration def self.up create\_table :messages do |t| …

---

## [Accessing this group from a usenet reader?](https://www.ruby-forum.com/t/accessing-this-group-from-a-usenet-reader/92039)

<div class="topic-metadata">

**Author:** [@Diego](https://www.ruby-forum.com/u/Diego)\
**Replies:** 3\
**Last updated:** [April 16, 2007, 1:55am UTC](https://www.ruby-forum.com/t/accessing-this-group-from-a-usenet-reader/92039 "2007-04-16T01:55:25Z")

</div>

Hi all, I was wondering if this group was accessible from a usenet news reader client? Instead of through a web browser? I find newsgroups a lot easier to read on such client application. Or is this a Google G. only …

---

## [Which is better between apache or mongrel to be RoR server](https://www.ruby-forum.com/t/which-is-better-between-apache-or-mongrel-to-be-ror-server/92053)

<div class="topic-metadata">

**Author:** [@feng](https://www.ruby-forum.com/u/feng)\
**Replies:** 1\
**Last updated:** [April 16, 2007, 1:34am UTC](https://www.ruby-forum.com/t/which-is-better-between-apache-or-mongrel-to-be-ror-server/92053 "2007-04-16T01:34:24Z")

</div>

dear all, I want to choose a web server to be my RoR web server. Apache or mongrel will be better ? thanks

---

## [Rails widgets explodes traffic thanks DHH](https://www.ruby-forum.com/t/rails-widgets-explodes-traffic-thanks-dhh/92093)

<div class="topic-metadata">

**Author:** [@salma](https://www.ruby-forum.com/u/salma)\
**Replies:** 0\
**Last updated:** [April 16, 2007, 1:14am UTC](https://www.ruby-forum.com/t/rails-widgets-explodes-traffic-thanks-dhh/92093 "2007-04-16T01:14:22Z")

</div>

http://programming.reddit.com/info/1i6lx/comments

---

## [Rails widgets thanks DHH](https://www.ruby-forum.com/t/rails-widgets-thanks-dhh/102879)

<div class="topic-metadata">

**Author:** [@foto](https://www.ruby-forum.com/u/foto)\
**Replies:** 0\
**Last updated:** [April 16, 2007, 1:08am UTC](https://www.ruby-forum.com/t/rails-widgets-thanks-dhh/102879 "2007-04-16T01:08:22Z")

</div>

widgets http://teenwag.com/widget

---

## [Rails widgets thanks DHH](https://www.ruby-forum.com/t/rails-widgets-thanks-dhh/92091)

<div class="topic-metadata">

**Author:** [@foto](https://www.ruby-forum.com/u/foto)\
**Replies:** 0\
**Last updated:** [April 16, 2007, 1:08am UTC](https://www.ruby-forum.com/t/rails-widgets-thanks-dhh/92091 "2007-04-16T01:08:22Z")

</div>

widgets http://teenwag.com/widget

---

## [Embarrassing question about rhtml](https://www.ruby-forum.com/t/embarrassing-question-about-rhtml/92031)

<div class="topic-metadata">

**Author:** [@alonovo](https://www.ruby-forum.com/u/alonovo)\
**Replies:** 10\
**Last updated:** [April 16, 2007, 12:49am UTC](https://www.ruby-forum.com/t/embarrassing-question-about-rhtml/92031 "2007-04-16T00:49:19Z")

</div>

Apologies for my own ignorance, I am an old UNIX hack that misses the good old VT100 character display days. I’ve modified information in our current/ruby/app/views/\_contact.rthml file to reflect new information but i…

---

## [Rails and tooltip](https://www.ruby-forum.com/t/rails-and-tooltip/92079)

<div class="topic-metadata">

**Author:** [@Sonney\_Mrgic](https://www.ruby-forum.com/u/Sonney_Mrgic)\
**Replies:** 1\
**Last updated:** [April 16, 2007, 12:26am UTC](https://www.ruby-forum.com/t/rails-and-tooltip/92079 "2007-04-16T00:26:24Z")

</div>

Hi, I’d like to create a netflix like tooltip, tooltip with html content that appears when mouse over an image, but using rails. I couldn’t find any discussion/tutorial/example on this. Does anyone know if there i…

---

## [RMagick on Media Temple (gs)](https://www.ruby-forum.com/t/rmagick-on-media-temple-gs/88073)

<div class="topic-metadata">

**Author:** [@Sean\_JSRucker](https://www.ruby-forum.com/u/Sean_JSRucker)\
**Replies:** 3\
**Last updated:** [April 15, 2007, 11:58pm UTC](https://www.ruby-forum.com/t/rmagick-on-media-temple-gs/88073 "2007-04-15T23:58:14Z")

</div>

Does anyone have any experience getting RMagick up and running on a Media Temple (gs)? I’m still not sure if I need to build GraphicsMagick myself, and if so, how because I don’t have root access???

---

## [RoR/mongrel/apache2.2 equivalent to ~ in URL?](https://www.ruby-forum.com/t/ror-mongrel-apache2-2-equivalent-to-in-url/92011)

<div class="topic-metadata">

**Author:** [@dankitania](https://www.ruby-forum.com/u/dankitania)\
**Replies:** 2\
**Last updated:** [April 15, 2007, 11:12pm UTC](https://www.ruby-forum.com/t/ror-mongrel-apache2-2-equivalent-to-in-url/92011 "2007-04-15T23:12:08Z")

</div>

I am trying to host several RoR applications on my desktop machine. I am in an academic environment in which I have root access on the machine (e.g. I can install software, edit httpd.conf files, etc), but I am not a…

---

## [WANTED: Senior Ruby on Rails Web Application Developer](https://www.ruby-forum.com/t/wanted-senior-ruby-on-rails-web-application-developer/92084)

<div class="topic-metadata">

**Author:** [@DeepTechS\_Inc](https://www.ruby-forum.com/u/DeepTechS_Inc)\
**Replies:** 0\
**Last updated:** [April 15, 2007, 10:57pm UTC](https://www.ruby-forum.com/t/wanted-senior-ruby-on-rails-web-application-developer/92084 "2007-04-15T22:57:07Z")

</div>

DeepTech, Inc., the premier New York City Macintosh technical support company, is currently accepting applications for an experienced, full- time Senior Ruby on Rails / MySQL Web Application Developer. DeepTech provid…

---

## [Login Generator issues](https://www.ruby-forum.com/t/login-generator-issues/92081)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 0\
**Last updated:** [April 15, 2007, 9:32pm UTC](https://www.ruby-forum.com/t/login-generator-issues/92081 "2007-04-15T21:32:16Z")

</div>

SO I installed the Login Generator gem: application.rb: require ‘login\_system’ class ApplicationController \< ActionController::Base include LoginSystem model :user end I keep on getting: no such file to load – lo…

---

## [So, what size is YOUR monitor?](https://www.ruby-forum.com/t/so-what-size-is-your-monitor/92004)

<div class="topic-metadata">

**Author:** [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Replies:** 15\
**Last updated:** [April 15, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/so-what-size-is-your-monitor/92004 "2007-04-15T21:02:51Z")

</div>

I’m debating whether to get a 24" or a 30" Dell Display. I previously used a 20" iMac, but I quickly got used to the 15" Mac Book Pro that I just recently picked up (after selling my iMac). So I think either the 24" o…

---

## [Resizing pagination per\_page on existing results](https://www.ruby-forum.com/t/resizing-pagination-per-page-on-existing-results/92080)

<div class="topic-metadata">

**Author:** [@scott](https://www.ruby-forum.com/u/scott)\
**Replies:** 0\
**Last updated:** [April 15, 2007, 8:41pm UTC](https://www.ruby-forum.com/t/resizing-pagination-per-page-on-existing-results/92080 "2007-04-15T20:41:47Z")

</div>

Is there an easy way to resize a pagination result? Effectively, I want to have a dropdown on a results page that allows the user to resize the number of results per page. Currently, I have something like: @search\_…

[Previous page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1920)

[Next page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1922)
