# Rails

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

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

---

## [Routes in Functional Tests?](https://www.ruby-forum.com/t/routes-in-functional-tests/128242)

<div class="topic-metadata">

**Author:** [@dean](https://www.ruby-forum.com/u/dean)\
**Replies:** 0\
**Last updated:** [February 6, 2008, 4:05am UTC](https://www.ruby-forum.com/t/routes-in-functional-tests/128242 "2008-02-06T04:05:48Z")

</div>

I have the following: :: generic\_controller.rb :: class GenericController \< ApplicationController def activate end def index end end :: routes.rb :: ActionController::Routing::Routes.draw do |map| map.activate …

---

## [Routes in Functional Tests?](https://www.ruby-forum.com/t/routes-in-functional-tests/196591)

<div class="topic-metadata">

**Author:** [@dean](https://www.ruby-forum.com/u/dean)\
**Replies:** 0\
**Last updated:** [February 6, 2008, 4:05am UTC](https://www.ruby-forum.com/t/routes-in-functional-tests/196591 "2008-02-06T04:05:48Z")

</div>

I have the following: :: generic\_controller.rb :: class GenericController \< ApplicationController def activate end def index end end :: routes.rb :: ActionController::Routing::Routes.draw do |map| map.activate …

---

## [Trouble setting up debugger (ruby-debug in Rails 2.0)](https://www.ruby-forum.com/t/trouble-setting-up-debugger-ruby-debug-in-rails-2-0/124541)

<div class="topic-metadata">

**Author:** [@donkeytastic](https://www.ruby-forum.com/u/donkeytastic)\
**Replies:** 2\
**Last updated:** [February 6, 2008, 3:58am UTC](https://www.ruby-forum.com/t/trouble-setting-up-debugger-ruby-debug-in-rails-2-0/124541 "2008-02-06T03:58:44Z")

</div>

So I’m a newbie, trying to get better with the testing and debugging. Upgraded to Rails 2.0 and decided to use the ruby-debug gem. Installed gem successfully… gem install ruby-debug Successfully installed ruby-debu…

---

## [Great Free Web Utilities For Google Groups](https://www.ruby-forum.com/t/great-free-web-utilities-for-google-groups/128238)

<div class="topic-metadata">

**Author:** [@Mario\_Feonands](https://www.ruby-forum.com/u/Mario_Feonands)\
**Replies:** 0\
**Last updated:** [February 6, 2008, 3:15am UTC](https://www.ruby-forum.com/t/great-free-web-utilities-for-google-groups/128238 "2008-02-06T03:15:19Z")

</div>

This is a free web utility site. Here are some of the features: Free image hosting Free file hosting Free secure messenger Free file zipper Free URL redirector (like tinyurl) Free screenshot grabber http://puxz.com T…

---

## [Require: command not found](https://www.ruby-forum.com/t/require-command-not-found/128229)

<div class="topic-metadata">

**Author:** [@Ruby\_start](https://www.ruby-forum.com/u/Ruby_start)\
**Replies:** 0\
**Last updated:** [February 6, 2008, 1:29am UTC](https://www.ruby-forum.com/t/require-command-not-found/128229 "2008-02-06T01:29:10Z")

</div>

I installed Cygwin(linux like system) into my window XP pc, and runs a ruby program. It failed returning the error msgs: require: command not found. any librabry i am missing downloaded from Cygwin? or anything else?

---

## [Migrating Application to New Server](https://www.ruby-forum.com/t/migrating-application-to-new-server/128078)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 1\
**Last updated:** [February 6, 2008, 1:12am UTC](https://www.ruby-forum.com/t/migrating-application-to-new-server/128078 "2008-02-06T01:12:08Z")

</div>

Hi- As some of you might have already read, my server died and I now need to migrate all of my files for my app onto a new server. Please tell me there is an easy way to do this?? I guess the app itself should run wh…

---

## [Trying to get uuidtools working](https://www.ruby-forum.com/t/trying-to-get-uuidtools-working/128226)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 0\
**Last updated:** [February 6, 2008, 12:48am UTC](https://www.ruby-forum.com/t/trying-to-get-uuidtools-working/128226 "2008-02-06T00:48:59Z")

</div>

Hello- This is a potentially obvious problem. I’m trying to generate a uuid in one of my models. I poked around and found the uuidtools gem (is there a better way to generate a uuid?). Here’s the code I’m currently us…

---

## [Question about caching](https://www.ruby-forum.com/t/question-about-caching/127415)

<div class="topic-metadata">

**Author:** [@eggman2001](https://www.ruby-forum.com/u/eggman2001)\
**Replies:** 1\
**Last updated:** [February 6, 2008, 12:25am UTC](https://www.ruby-forum.com/t/question-about-caching/127415 "2008-02-06T00:25:42Z")

</div>

I have in environment.rb: config.action\_controller.page\_cache\_directory = RAILS\_ROOT + “/public/ cache” The following rules in lighttpd.conf: url.rewrite += ( “^/$” =\> “/cache/index.html” ) url.rewrite += ( “^(\[^.\]+…

---

## [NoMethodError: nil object with Autotest/ZenTest](https://www.ruby-forum.com/t/nomethoderror-nil-object-with-autotest-zentest/127892)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 1\
**Last updated:** [February 6, 2008, 12:23am UTC](https://www.ruby-forum.com/t/nomethoderror-nil-object-with-autotest-zentest/127892 "2008-02-06T00:23:21Z")

</div>

Hello, I’m attempting to get started with ZenTest and Autotest, but I haven’t had any luck getting it to run even the simplest test so far. I created a fresh Rails app, made sure the latest ZenTest gem (3.9.1) was i…

---

## [Asset IDs not changing in development environment?](https://www.ruby-forum.com/t/asset-ids-not-changing-in-development-environment/128220)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [February 6, 2008, 12:07am UTC](https://www.ruby-forum.com/t/asset-ids-not-changing-in-development-environment/128220 "2008-02-06T00:07:27Z")

</div>

Perhaps I’m completely missing something, but… It seems like ActionView::Helpers::AssetTagHelper#compute\_public\_path keeps a cache of all public paths along with the appended asset id. However, this means that applica…

---

## [Testing with external web services](https://www.ruby-forum.com/t/testing-with-external-web-services/128221)

<div class="topic-metadata">

**Author:** [@gawk007](https://www.ruby-forum.com/u/gawk007)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 11:43pm UTC](https://www.ruby-forum.com/t/testing-with-external-web-services/128221 "2008-02-05T23:43:52Z")

</div>

I’m working on a new Rails project that has to integrate with an existing legacy billing system. The integration involves a read only web service to check authentication for the new site. What I need to check is if th…

---

## [New Rails site to create a reservation system for your own site](https://www.ruby-forum.com/t/new-rails-site-to-create-a-reservation-system-for-your-own-site/128164)

<div class="topic-metadata">

**Author:** [@fjan](https://www.ruby-forum.com/u/fjan)\
**Replies:** 2\
**Last updated:** [February 5, 2008, 11:26pm UTC](https://www.ruby-forum.com/t/new-rails-site-to-create-a-reservation-system-for-your-own-site/128164 "2008-02-05T23:26:11Z")

</div>

Hi All, My first RoR project just went live. It’s a free (ad supported) service that let’s you quickly create a reservation system to integrate into your own site. So if you are building something that needs a reserv…

---

## [How to make data from the db into an array](https://www.ruby-forum.com/t/how-to-make-data-from-the-db-into-an-array/128219)

<div class="topic-metadata">

**Author:** [@dezer85](https://www.ruby-forum.com/u/dezer85)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 11:24pm UTC](https://www.ruby-forum.com/t/how-to-make-data-from-the-db-into-an-array/128219 "2008-02-05T23:24:09Z")

</div>

As the title says i need to make a db field into an array the db field is of the type text and could for an example look like this: Blues, Elektronisk, Jazz, Klassisk, Metal, Rock and i can get it by typing @spec.musi…

---

## [Web2py](https://www.ruby-forum.com/t/web2py/128120)

<div class="topic-metadata">

**Author:** [@Massimo\_Di\_Pierro](https://www.ruby-forum.com/u/Massimo_Di_Pierro)\
**Replies:** 1\
**Last updated:** [February 5, 2008, 10:43pm UTC](https://www.ruby-forum.com/t/web2py/128120 "2008-02-05T22:43:46Z")

</div>

I apologize in advance but I thought some of the rails users may be interested in this… I just released web2py 1.20 www.web2py.com You can see 5 min tutorial here http://www.youtube.com/watch?v=VBjja6N6IYk and …

---

## [Yeni Eklenen Filmler](https://www.ruby-forum.com/t/yeni-eklenen-filmler/128211)

<div class="topic-metadata">

**Author:** [@www.Bitmezbusevda.c](https://www.ruby-forum.com/u/www.Bitmezbusevda.c)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 9:48pm UTC](https://www.ruby-forum.com/t/yeni-eklenen-filmler/128211 "2008-02-05T21:48:12Z")

</div>

WwW.Bitmezbusevda.Com http://www.Bitmezbusevda.Com Yeni Filmler EklenmiÅŸtir 60 Saniye http://www.bitmezbusevda.com/forum/showthread.php/60-saniye-tr-dublaj-2342.html Gizli Deney http://www.bitmezbusevda.com/forum/s…

---

## [Functional Test has error when testing controller updates\_attribute of its parrent](https://www.ruby-forum.com/t/functional-test-has-error-when-testing-controller-updates-attribute-of-its-parrent/128201)

<div class="topic-metadata">

**Author:** [@NickCB](https://www.ruby-forum.com/u/NickCB)\
**Replies:** 1\
**Last updated:** [February 5, 2008, 9:21pm UTC](https://www.ruby-forum.com/t/functional-test-has-error-when-testing-controller-updates-attribute-of-its-parrent/128201 "2008-02-05T21:21:34Z")

</div>

I am working in Rails 2.0 and I have the following functional test. class VotesControllerTest \< ActionController::TestCase def test\_should\_create\_vote assert\_difference(‘Vote.count’) do post :create, {:vote =\> {:vote…

---

## [Default value on a column w/ a sequence - Postgres](https://www.ruby-forum.com/t/default-value-on-a-column-w-a-sequence-postgres/128176)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 1\
**Last updated:** [February 5, 2008, 9:12pm UTC](https://www.ruby-forum.com/t/default-value-on-a-column-w-a-sequence-postgres/128176 "2008-02-05T21:12:27Z")

</div>

I recently modified the customer\_number field in my Users table in a migration: remove\_column :users, :customer\_number execute “CREATE SEQUENCE user\_customer\_number\_seq MINVALUE 10000;” execute "ALTER TABLE users ADD…

---

## [How can my model reference a helper?](https://www.ruby-forum.com/t/how-can-my-model-reference-a-helper/128199)

<div class="topic-metadata">

**Author:** [@carpeliam](https://www.ruby-forum.com/u/carpeliam)\
**Replies:** 5\
**Last updated:** [February 5, 2008, 9:09pm UTC](https://www.ruby-forum.com/t/how-can-my-model-reference-a-helper/128199 "2008-02-05T21:09:40Z")

</div>

I know, I know, they’re not allowed to. But here’s my problem. I’ve got a really simple model with two fields, name and price, which I want to show in a form select drop-down. “collection\_select” takes a ‘text\_method’…

---

## [Selenium, Rails and rcov -- a solution and a question](https://www.ruby-forum.com/t/selenium-rails-and-rcov-a-solution-and-a-question/128202)

<div class="topic-metadata">

**Author:** [@kpd](https://www.ruby-forum.com/u/kpd)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 9:06pm UTC](https://www.ruby-forum.com/t/selenium-rails-and-rcov-a-solution-and-a-question/128202 "2008-02-05T21:06:46Z")

</div>

Hi there, We’ve been using rcov to generate coverage reports of our Selenium specs, which is really nifty. We use this rake task: namespace :selenium do desc “Measure coverage of selenium specs” task :coverage do Fi…

---

## [HELP! debugger broken](https://www.ruby-forum.com/t/help-debugger-broken/128200)

<div class="topic-metadata">

**Author:** [@scottd72](https://www.ruby-forum.com/u/scottd72)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 8:52pm UTC](https://www.ruby-forum.com/t/help-debugger-broken/128200 "2008-02-05T20:52:14Z")

</div>

This is really killing me!!! I reinstalled everything below from scratch Linux Puppy 3.00 Ruby 1.8.6 Rails 2.0.2 ruby-debug 0.10.0 mongrel 1.1.3 mysql 5.0 added “debugger” to a line in a controllor started mongr…

---

## [Going Insane.... Getting "Type Mismatch Error" on Create & Update](https://www.ruby-forum.com/t/going-insane-getting-type-mismatch-error-on-create-update/128123)

<div class="topic-metadata">

**Author:** [@Chad](https://www.ruby-forum.com/u/Chad)\
**Replies:** 5\
**Last updated:** [February 5, 2008, 8:35pm UTC](https://www.ruby-forum.com/t/going-insane-getting-type-mismatch-error-on-create-update/128123 "2008-02-05T20:35:25Z")

</div>

Hello, I am really pulling my hair out on this one and so would desperately appreciate any help. The application I am building has Schools and SchoolZones, both are in a HABTM relationship. On the School view there…

---

## [CB - Yasa DÄ±ÅŸÄ± Notalar Full AlbÃ¼m 2008](https://www.ruby-forum.com/t/cb-yasa-da-aya-notalar-full-alba-m-2008/128197)

<div class="topic-metadata">

**Author:** [@www.Bitmezbusevda.c](https://www.ruby-forum.com/u/www.Bitmezbusevda.c)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 8:31pm UTC](https://www.ruby-forum.com/t/cb-yasa-da-aya-notalar-full-alba-m-2008/128197 "2008-02-05T20:31:51Z")

</div>

WwW.BitmezBusevda.Com http://www.BitmezBusevda.Com CB - Yasa DÄ±ÅŸÄ± Notalar http://www.bitmezbusevda.com/forum/showthread.php/cb-yasa-disi-notalar-2331.html?p=3157#post3157

---

## [Noob db:migrate question](https://www.ruby-forum.com/t/noob-db-migrate-question/128135)

<div class="topic-metadata">

**Author:** [@rogwei](https://www.ruby-forum.com/u/rogwei)\
**Replies:** 3\
**Last updated:** [February 5, 2008, 7:53pm UTC](https://www.ruby-forum.com/t/noob-db-migrate-question/128135 "2008-02-05T19:53:22Z")

</div>

I am using RadRails and reading through the Dummies book. I have created a db (company) and a model (Employee). I edited the 001\_create\_employees.rb script by copy and paste from the book. When I use Rake Tasks (db:mi…

---

## [Apache auth with ruby and REMOTE\_USER variable](https://www.ruby-forum.com/t/apache-auth-with-ruby-and-remote-user-variable/128146)

<div class="topic-metadata">

**Author:** [@KTU](https://www.ruby-forum.com/u/KTU)\
**Replies:** 1\
**Last updated:** [February 5, 2008, 7:23pm UTC](https://www.ruby-forum.com/t/apache-auth-with-ruby-and-remote-user-variable/128146 "2008-02-05T19:23:47Z")

</div>

Hi I am using apache to authenticate on ruby application. Now how I can print out value for REMOTE\_USER variable once authentication is done ?

---

## [RESTful Routes](https://www.ruby-forum.com/t/restful-routes/123208)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [February 5, 2008, 6:38pm UTC](https://www.ruby-forum.com/t/restful-routes/123208 "2008-02-05T18:38:59Z")

</div>

I have purchased the peepcode tutorial on RESTful and I have to say it is brilliant, one thing it does not answer is this question though. I have been experimenting with rails on nothing serious and managed to setup a…

---

## [Learning RoR](https://www.ruby-forum.com/t/learning-ror/126276)

<div class="topic-metadata">

**Author:** [@zok](https://www.ruby-forum.com/u/zok)\
**Replies:** 38\
**Last updated:** [February 5, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/learning-ror/126276 "2008-02-05T18:30:42Z")

</div>

Hi, I’d like to learn how to write web applications with Ruby on Rails, but I don’t know how to start with. Can you give me some names of books or some good links (really starting with the basics)? How can I run suc…

---

## [Any tutorials on how to use a calender plugin?](https://www.ruby-forum.com/t/any-tutorials-on-how-to-use-a-calender-plugin/128189)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 6:18pm UTC](https://www.ruby-forum.com/t/any-tutorials-on-how-to-use-a-calender-plugin/128189 "2008-02-05T18:18:54Z")

</div>

hey folks does anyone know where to look for a good tutorial about using calendars in ralis?

---

## [Mail not sending](https://www.ruby-forum.com/t/mail-not-sending/128106)

<div class="topic-metadata">

**Author:** [@Glen](https://www.ruby-forum.com/u/Glen)\
**Replies:** 2\
**Last updated:** [February 5, 2008, 6:00pm UTC](https://www.ruby-forum.com/t/mail-not-sending/128106 "2008-02-05T18:00:34Z")

</div>

I am having trouble with one of my notifications. For some reason it doesn’t seem to even try and send. I have notifications in other locations and they send just fine. Here is the code that should call the notifica…

---

## [PDF as Image?](https://www.ruby-forum.com/t/pdf-as-image/128185)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 5:55pm UTC](https://www.ruby-forum.com/t/pdf-as-image/128185 "2008-02-05T17:55:14Z")

</div>

Hi- Anyone know if you can load a PDF as an image, or is there a way to display PDF’s in Rails? Thanks!

---

## [Refocus on text\_field](https://www.ruby-forum.com/t/refocus-on-text-field/128181)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 5:30pm UTC](https://www.ruby-forum.com/t/refocus-on-text-field/128181 "2008-02-05T17:30:17Z")

</div>

I have this textfield that appears as a drop down section whithin a form when a link is clicked - so it is it’s own partial. The idea is that a value can be entered within that field and then added to a list, but I ne…

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

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