# Rails

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

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

---

## [Changing routes.rb to run rails under a sub folder](https://www.ruby-forum.com/t/changing-routes-rb-to-run-rails-under-a-sub-folder/126270)

<div class="topic-metadata">

**Author:** [@crenner](https://www.ruby-forum.com/u/crenner)\
**Replies:** 0\
**Last updated:** [January 16, 2008, 9:53pm UTC](https://www.ruby-forum.com/t/changing-routes-rb-to-run-rails-under-a-sub-folder/126270 "2008-01-16T21:53:37Z")

</div>

I’ve just started using the litespeed webserver, and its the easiest way I’ve seen yet to deploy rails applications. http://www.litespeedtech.com/. I’ve been told by the tech guys at Litespeed that in order to run mu…

---

## [Ignoring :limit on string field migrations for postgresql](https://www.ruby-forum.com/t/ignoring-limit-on-string-field-migrations-for-postgresql/125302)

<div class="topic-metadata">

**Author:** [@nicken](https://www.ruby-forum.com/u/nicken)\
**Replies:** 3\
**Last updated:** [January 16, 2008, 9:51pm UTC](https://www.ruby-forum.com/t/ignoring-limit-on-string-field-migrations-for-postgresql/125302 "2008-01-16T21:51:08Z")

</div>

By default, if a limit is not set on string fields in a migration, the limit is set to 255. In postgresql, varchar fields can vary without having a limit. Is it possible to write migrations that will keep the varchar …

---

## [Script/process/spawner freezing](https://www.ruby-forum.com/t/script-process-spawner-freezing/126266)

<div class="topic-metadata">

**Author:** [@DuzenburyS\_Rich](https://www.ruby-forum.com/u/DuzenburyS_Rich)\
**Replies:** 0\
**Last updated:** [January 16, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/script-process-spawner-freezing/126266 "2008-01-16T21:13:03Z")

</div>

Hi, I have about eight active RoR sites right now. Of the eight, six are on Rails 1.1.6 and they deploy correctly every time. Two are on Rails 1.2.3, and those two do not deploy correctly. The cap deploy command r…

---

## [My Development Environment is WAY too slow (blame Vista)](https://www.ruby-forum.com/t/my-development-environment-is-way-too-slow-blame-vista/125541)

<div class="topic-metadata">

**Author:** [@Decker](https://www.ruby-forum.com/u/Decker)\
**Replies:** 14\
**Last updated:** [January 16, 2008, 9:07pm UTC](https://www.ruby-forum.com/t/my-development-environment-is-way-too-slow-blame-vista/125541 "2008-01-16T21:07:11Z")

</div>

I’ve broken away – partially at least – from the dark side. I’m a long-time MS dev. I heard about Ruby and RR from Scott Hanselman (Scott Hanselman - Scott Hanselman's Blog). He’s a great blogger on things in the …

---

## [Token\_tag Madness! Or how do I get my pre 2.x code to work again](https://www.ruby-forum.com/t/token-tag-madness-or-how-do-i-get-my-pre-2-x-code-to-work-again/126260)

<div class="topic-metadata">

**Author:** [@DrSVanderdecken](https://www.ruby-forum.com/u/DrSVanderdecken)\
**Replies:** 1\
**Last updated:** [January 16, 2008, 9:04pm UTC](https://www.ruby-forum.com/t/token-tag-madness-or-how-do-i-get-my-pre-2-x-code-to-work-again/126260 "2008-01-16T21:04:51Z")

</div>

I have an HTML MAP over laying some video so i can control aPTZ camera through my server code. The camera is not visible outside the network so i want to control access to it. \<area shape="rect" coords="60,0,180…

---

## [Tag.name in show.rhtml](https://www.ruby-forum.com/t/tag-name-in-show-rhtml/126213)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 5\
**Last updated:** [January 16, 2008, 8:42pm UTC](https://www.ruby-forum.com/t/tag-name-in-show-rhtml/126213 "2008-01-16T20:42:49Z")

</div>

There’s some cut-and-paste involved from previous, sorta working versions. I’m looking at line #29, and don’t understand it. What does tag.name mean? The current Tag object? the name field for that object? Somethi…

---

## [Help finding "JRE" to run Netbeans in Linux](https://www.ruby-forum.com/t/help-finding-jre-to-run-netbeans-in-linux/126006)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [January 16, 2008, 8:07pm UTC](https://www.ruby-forum.com/t/help-finding-jre-to-run-netbeans-in-linux/126006 "2008-01-16T20:07:31Z")

</div>

I’ve spent the last year developing a large Ruby on Rails 2.0 application with over a 100 tables and controllers and hope to be deploying it soon. Before I moved from my Windows XP computer to deployment, I wanted to …

---

## [Firedraw: World's First Ajax based Flow Diagramming Tool](https://www.ruby-forum.com/t/firedraw-worlds-first-ajax-based-flow-diagramming-tool/126245)

<div class="topic-metadata">

**Author:** [@luckydeepak](https://www.ruby-forum.com/u/luckydeepak)\
**Replies:** 1\
**Last updated:** [January 16, 2008, 7:55pm UTC](https://www.ruby-forum.com/t/firedraw-worlds-first-ajax-based-flow-diagramming-tool/126245 "2008-01-16T19:55:11Z")

</div>

Dear Friends, I m pleased to present Firedraw www.firedraw.org , World’s First And Only Ajax based in-browser visual modeling tool. Currently it has options for drawing Flow Diagrams. Soon we will be incorporating UML …

---

## [Schema in SQL?](https://www.ruby-forum.com/t/schema-in-sql/126249)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 4\
**Last updated:** [January 16, 2008, 7:48pm UTC](https://www.ruby-forum.com/t/schema-in-sql/126249 "2008-01-16T19:48:04Z")

</div>

Is there a straightforward way (rake task?) to convert the generated ruby schema file into SQL? I want to do some visualization with MySQL Workbench, but the free version can’t reverse engineer a live db - it needs a…

---

## [Text\_field\_with\_auto\_complete and keystroke delay](https://www.ruby-forum.com/t/text-field-with-auto-complete-and-keystroke-delay/121557)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 1\
**Last updated:** [January 16, 2008, 7:47pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-and-keystroke-delay/121557 "2008-01-16T19:47:47Z")

</div>

Hello, I am using text\_field\_with\_auto\_complete, and it works fine. But i would like the decrease the period betwen keystroke and ajax httprequest ( 1 sec ) I tryed to put :frequency =\> “0” but no change… Any idea…

---

## [Custom form builders and form\_tag?](https://www.ruby-forum.com/t/custom-form-builders-and-form-tag/126173)

<div class="topic-metadata">

**Author:** [@acampos](https://www.ruby-forum.com/u/acampos)\
**Replies:** 4\
**Last updated:** [January 16, 2008, 7:44pm UTC](https://www.ruby-forum.com/t/custom-form-builders-and-form-tag/126173 "2008-01-16T19:44:33Z")

</div>

Is it possible to use a custom form builder with form\_tag? It would be nice to impose the same look and feel for all my forms, whether or not they are model forms.

---

## [Rails Hosting Problem](https://www.ruby-forum.com/t/rails-hosting-problem/126210)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 1\
**Last updated:** [January 16, 2008, 7:08pm UTC](https://www.ruby-forum.com/t/rails-hosting-problem/126210 "2008-01-16T19:08:09Z")

</div>

Hi there, I have recently created my first Rails application and I am trying to get it online, I have all the files on the server and I have changed to production mode, I have updated the gems that were needed for th…

---

## [Find by association](https://www.ruby-forum.com/t/find-by-association/126248)

<div class="topic-metadata">

**Author:** [@DVG](https://www.ruby-forum.com/u/DVG)\
**Replies:** 1\
**Last updated:** [January 16, 2008, 6:54pm UTC](https://www.ruby-forum.com/t/find-by-association/126248 "2008-01-16T18:54:41Z")

</div>

First off, I’m an extreme rails newbie trying to find my programming legs again after years of not developing. So, I have a User model which has\_many characters. And a character model that belongs\_to the user. In my …

---

## [Rails rjs page object](https://www.ruby-forum.com/t/rails-rjs-page-object/126076)

<div class="topic-metadata">

**Author:** [@bucks](https://www.ruby-forum.com/u/bucks)\
**Replies:** 2\
**Last updated:** [January 16, 2008, 6:13pm UTC](https://www.ruby-forum.com/t/rails-rjs-page-object/126076 "2008-01-16T18:13:23Z")

</div>

Can anyone point me to api documentation for the page object that is used in rails rjs files? Thanks

---

## [Sun Buys MySQL](https://www.ruby-forum.com/t/sun-buys-mysql/126227)

<div class="topic-metadata">

**Author:** [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Replies:** 1\
**Last updated:** [January 16, 2008, 5:01pm UTC](https://www.ruby-forum.com/t/sun-buys-mysql/126227 "2008-01-16T17:01:03Z")

</div>

I hope this isn’t as contentious as other Open Source projects SUN has been involved with. – By analogy, stealing cars and joyriding does not provide one with an education in mechanical Engineering, nor does pourin…

---

## [Script/console in development mode?](https://www.ruby-forum.com/t/script-console-in-development-mode/126206)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 2\
**Last updated:** [January 16, 2008, 4:36pm UTC](https://www.ruby-forum.com/t/script-console-in-development-mode/126206 "2008-01-16T16:36:47Z")

</div>

is it script/console in development mode or production mode ?

---

## [Bug in Rails 2.0 when overloading a find\_by method?](https://www.ruby-forum.com/t/bug-in-rails-2-0-when-overloading-a-find-by-method/126232)

<div class="topic-metadata">

**Author:** [@carr0t](https://www.ruby-forum.com/u/carr0t)\
**Replies:** 2\
**Last updated:** [January 16, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/bug-in-rails-2-0-when-overloading-a-find-by-method/126232 "2008-01-16T16:27:20Z")

</div>

I’ve got an interesting replecatable bug that has sprung up since I migrated some code i’ve written from rails 1.2.3 to 2.0.2. I am using a mysql backend database, in which I am storing IPv4 addresses as 32 bit unsign…

---

## [Revising dispatch.cgi to run Rails applications?](https://www.ruby-forum.com/t/revising-dispatch-cgi-to-run-rails-applications/126155)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 16, 2008, 4:01pm UTC](https://www.ruby-forum.com/t/revising-dispatch-cgi-to-run-rails-applications/126155 "2008-01-16T16:01:09Z")

</div>

Hi, I am trying to set up Ruby on Rails with FastCGI for Apache 2 on Linux. I am followoing instructions here – http://it.kndb.net/entry/show/id/79. But step 4 is confusing me. It reads: Revise various setting fi…

---

## [How to determine if the site is made in RoR](https://www.ruby-forum.com/t/how-to-determine-if-the-site-is-made-in-ror/126191)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 14\
**Last updated:** [January 16, 2008, 3:41pm UTC](https://www.ruby-forum.com/t/how-to-determine-if-the-site-is-made-in-ror/126191 "2008-01-16T15:41:58Z")

</div>

Hello frnds Is there a way out by which we can determine that a site is made in RoR? like looking @ the source code or some other method…that we adopt for other techs like php… Thanks a lot dhaval parikh

---

## [Genuine Earning through Mobile](https://www.ruby-forum.com/t/genuine-earning-through-mobile/126230)

<div class="topic-metadata">

**Author:** [@Priyabrata\_Patra](https://www.ruby-forum.com/u/Priyabrata_Patra)\
**Replies:** 0\
**Last updated:** [January 16, 2008, 3:41pm UTC](https://www.ruby-forum.com/t/genuine-earning-through-mobile/126230 "2008-01-16T15:41:22Z")

</div>

Hello, I found few sites for earning through your mobile. http://www.sms2india.co.in/?user=patrapb http://www.youmint.com/network-patrapb mginger.com - This website is for sale! - mginger Resources and Informat…

---

## [Redirecto\_to within helpers](https://www.ruby-forum.com/t/redirecto-to-within-helpers/126217)

<div class="topic-metadata">

**Author:** [@kabish](https://www.ruby-forum.com/u/kabish)\
**Replies:** 2\
**Last updated:** [January 16, 2008, 2:52pm UTC](https://www.ruby-forum.com/t/redirecto-to-within-helpers/126217 "2008-01-16T14:52:18Z")

</div>

Hi all, In one of my helpers I would like to call a redirect\_to(url) action. I know the helpers are supposed almost only for formatting the view purposes but it’s the best way I have found to do what I want. If I call …

---

## [Subscription model](https://www.ruby-forum.com/t/subscription-model/126221)

<div class="topic-metadata">

**Author:** [@kuma](https://www.ruby-forum.com/u/kuma)\
**Replies:** 0\
**Last updated:** [January 16, 2008, 1:56pm UTC](https://www.ruby-forum.com/t/subscription-model/126221 "2008-01-16T13:56:27Z")

</div>

I’m curious if anyone has any examples they would like to share on how to implement tiered subscriptions. I’ve seen a few methods myself, but I’d like to know how others are doing it. I’ve seen User has\_many :subs…

---

## [Ruby on Rails Software in German!](https://www.ruby-forum.com/t/ruby-on-rails-software-in-german/126214)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 16, 2008, 1:44pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-software-in-german/126214 "2008-01-16T13:44:06Z")

</div>

I’m really excited to announce that my company launched its first Ruby on Rails software - in German! Who else is out there programming Ruby on Rails in German? Are there any other software pieces in German? I’d defi…

---

## [ActiveRecord: reducing memory footprint with find](https://www.ruby-forum.com/t/activerecord-reducing-memory-footprint-with-find/126215)

<div class="topic-metadata">

**Author:** [@petrjanda](https://www.ruby-forum.com/u/petrjanda)\
**Replies:** 1\
**Last updated:** [January 16, 2008, 12:03pm UTC](https://www.ruby-forum.com/t/activerecord-reducing-memory-footprint-with-find/126215 "2008-01-16T12:03:12Z")

</div>

Hi, My script that uses ActiveRecord to retreive about 1mil of records from database runs out of memory in about 10 second and crashes. Is there any way to significantly reduce memory footprint? The line in question i…

---

## [Constraint :unique =\> true](https://www.ruby-forum.com/t/constraint-unique-true/126209)

<div class="topic-metadata">

**Author:** [@ke\_han](https://www.ruby-forum.com/u/ke_han)\
**Replies:** 1\
**Last updated:** [January 16, 2008, 11:17am UTC](https://www.ruby-forum.com/t/constraint-unique-true/126209 "2008-01-16T11:17:04Z")

</div>

I have a migration called CreateUsers. in “self.up” I add the following columns, among others: t.column :display\_name, :string, :limit =\> 26, :null =\> false, :unique =\> true t.column :email, :string, :unique =\> tru…

---

## [Run rake task in controller](https://www.ruby-forum.com/t/run-rake-task-in-controller/126208)

<div class="topic-metadata">

**Author:** [@Henry\_Li](https://www.ruby-forum.com/u/Henry_Li)\
**Replies:** 1\
**Last updated:** [January 16, 2008, 10:57am UTC](https://www.ruby-forum.com/t/run-rake-task-in-controller/126208 "2008-01-16T10:57:40Z")

</div>

Do anybody know how to run rake task in controller? I’ve tried something like Rake::Task\[“db:migrate”\].invoke but it simply cannot handle it but give RuntimeError: Don’t know how to build task ‘db:migrate’ How can I …

---

## [Gem\_original\_require Error](https://www.ruby-forum.com/t/gem-original-require-error/126205)

<div class="topic-metadata">

**Author:** [@Haris\_G](https://www.ruby-forum.com/u/Haris_G)\
**Replies:** 0\
**Last updated:** [January 16, 2008, 10:21am UTC](https://www.ruby-forum.com/t/gem-original-require-error/126205 "2008-01-16T10:21:10Z")

</div>

Hello all, I have gem version 0.8.11 and rails version 1.2.6. When I try running the server using ruby script/server, I get an error “./script/…/config/boot.rb:23: undefined method gem for main:Object (NoMethodError…

---

## [Problem with backgroundrb](https://www.ruby-forum.com/t/problem-with-backgroundrb/126007)

<div class="topic-metadata">

**Author:** [@Babbu](https://www.ruby-forum.com/u/Babbu)\
**Replies:** 3\
**Last updated:** [January 16, 2008, 10:08am UTC](https://www.ruby-forum.com/t/problem-with-backgroundrb/126007 "2008-01-16T10:08:49Z")

</div>

hi, i am using drb and it is working fine on my local pc on windows… and after uploading the code to the server it was working for sometime but now it gives me error every time i invoke the process… error— uninitial…

---

## [Path processing](https://www.ruby-forum.com/t/path-processing/126159)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 1\
**Last updated:** [January 16, 2008, 10:02am UTC](https://www.ruby-forum.com/t/path-processing/126159 "2008-01-16T10:02:22Z")

</div>

With REST and named routes there’s multiple ways to represent a controller/action. Does anyone know where the code that parses the requests and maps it to the controller/action reside? thanks in advance, andy – A…

---

## [Google conversion tracking issue](https://www.ruby-forum.com/t/google-conversion-tracking-issue/126161)

<div class="topic-metadata">

**Author:** [@skyewalker83](https://www.ruby-forum.com/u/skyewalker83)\
**Replies:** 1\
**Last updated:** [January 16, 2008, 9:18am UTC](https://www.ruby-forum.com/t/google-conversion-tracking-issue/126161 "2008-01-16T09:18:54Z")

</div>

Hi I’m relatively new to rails. I want to place conversion tracking code on a site, on the confirmation page for signups and sales. I have separate code for each type of conversion, but I cant figure out how to plac…

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

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