# Rails

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

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

---

## [Controlling when an application is open?](https://www.ruby-forum.com/t/controlling-when-an-application-is-open/106390)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 1\
**Last updated:** [June 10, 2007, 2:55pm UTC](https://www.ruby-forum.com/t/controlling-when-an-application-is-open/106390 "2007-06-10T14:55:20Z")

</div>

I’m trying to figure out how to limit the dates an application runs. I have a table with “from” and “to” columns. What I would like is for my application to check these dates when it first starts up, and perform act…

---

## [Oracle multiple reload of model data using production web se](https://www.ruby-forum.com/t/oracle-multiple-reload-of-model-data-using-production-web-se/106434)

<div class="topic-metadata">

**Author:** [@dmcclean](https://www.ruby-forum.com/u/dmcclean)\
**Replies:** 0\
**Last updated:** [June 10, 2007, 2:31pm UTC](https://www.ruby-forum.com/t/oracle-multiple-reload-of-model-data-using-production-web-se/106434 "2007-06-10T14:31:18Z")

</div>

When doing inserts into a HABTM model, I am seeing the meta data query being generated with every insert: \[4;36;1mitems\_releases Columns (0.020000) \[0m \[0;1m select column\_name as name, data\_type as sql\_type, data…

---

## [Radio twitter](https://www.ruby-forum.com/t/radio-twitter/106410)

<div class="topic-metadata">

**Author:** [@jean\_pereira](https://www.ruby-forum.com/u/jean_pereira)\
**Replies:** 2\
**Last updated:** [June 10, 2007, 2:14pm UTC](https://www.ruby-forum.com/t/radio-twitter/106410 "2007-06-10T14:14:31Z")

</div>

It’s me again asking for help. I like twitter a lot and I want to create radio twitter, which would be twittervision but on audio with the best messages. A raw example is here: mp3travel.com - mp3travel Resources and…

---

## [Exception Notifier help](https://www.ruby-forum.com/t/exception-notifier-help/106419)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 1\
**Last updated:** [June 10, 2007, 1:33pm UTC](https://www.ruby-forum.com/t/exception-notifier-help/106419 "2007-06-10T13:33:09Z")

</div>

Hi, I am not able to get this working. I did everything that was given in readme: Included exception notifiable in App controller - include ExceptionNotifiable Addded receiving email IDs in environment.rb - Excepti…

---

## [Error with rails+debian+fcgi](https://www.ruby-forum.com/t/error-with-rails-debian-fcgi/106426)

<div class="topic-metadata">

**Author:** [@jhagemeier](https://www.ruby-forum.com/u/jhagemeier)\
**Replies:** 0\
**Last updated:** [June 10, 2007, 8:32am UTC](https://www.ruby-forum.com/t/error-with-rails-debian-fcgi/106426 "2007-06-10T08:32:39Z")

</div>

Hello, I can’t figure out why my cgi/fcgi doesn’t work with the way I’ve installed rails. I have a brand new rails app and run dispatch.cgi, and I get a long backtrace, seemingly about being unable to detect rails v…

---

## [Page view count](https://www.ruby-forum.com/t/page-view-count/106373)

<div class="topic-metadata">

**Author:** [@Tyche](https://www.ruby-forum.com/u/Tyche)\
**Replies:** 2\
**Last updated:** [June 10, 2007, 7:24am UTC](https://www.ruby-forum.com/t/page-view-count/106373 "2007-06-10T07:24:37Z")

</div>

Hi, I am new to RoR and and web designing. I want to display page view count on my home page. How do I do that? Many thanks, Tyche

---

## [NoMethodError caused by gettext](https://www.ruby-forum.com/t/nomethoderror-caused-by-gettext/106418)

<div class="topic-metadata">

**Author:** [@duzuike](https://www.ruby-forum.com/u/duzuike)\
**Replies:** 0\
**Last updated:** [June 10, 2007, 6:28am UTC](https://www.ruby-forum.com/t/nomethoderror-caused-by-gettext/106418 "2007-06-10T06:28:34Z")

</div>

Hi, My application has been working very good befor I use gettext. After I install the gettext gem and run ‘rake updatepo’, the ‘error\_messages\_for’ helper can’t works. When rails needs to show some database field…

---

## [Using variable in :path\_prefix](https://www.ruby-forum.com/t/using-variable-in-path-prefix/106413)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 0\
**Last updated:** [June 10, 2007, 3:33am UTC](https://www.ruby-forum.com/t/using-variable-in-path-prefix/106413 "2007-06-10T03:33:23Z")

</div>

Hi all, I have a couple of restful controller. I use path\_prefix to add a string to the path. I have a club controller and model and it’s the club id I want in the :path\_prefix in my routes I have: map.resources :c…

---

## [How I SVN in multiple plugins?](https://www.ruby-forum.com/t/how-i-svn-in-multiple-plugins/106407)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [June 10, 2007, 3:23am UTC](https://www.ruby-forum.com/t/how-i-svn-in-multiple-plugins/106407 "2007-06-10T03:23:22Z")

</div>

People, I’ve bumped into a small problem with using SVN to get my plugins. The first plugin I get is active\_scaffold. I use this syntax: svn propset svn:externals “active\_scaffold http://activescaffold.googlecode.co…

---

## ["The name 'Friendship' is reserved by Ruby on Rails." messag](https://www.ruby-forum.com/t/the-name-friendship-is-reserved-by-ruby-on-rails-messag/106391)

<div class="topic-metadata">

**Author:** [@victor](https://www.ruby-forum.com/u/victor)\
**Replies:** 1\
**Last updated:** [June 10, 2007, 3:21am UTC](https://www.ruby-forum.com/t/the-name-friendship-is-reserved-by-ruby-on-rails-messag/106391 "2007-06-10T03:21:21Z")

</div>

Hi, I am new to Rails. I am using Rails 1.8.5 on win xp. When I try to generate scaffold, using ruby script/generate scaffold Friendship I got the message: “… dependency model The name ‘Friendship’ is reserved by…

---

## [What is the best for to do reports in Rails?](https://www.ruby-forum.com/t/what-is-the-best-for-to-do-reports-in-rails/106381)

<div class="topic-metadata">

**Author:** [@helderam](https://www.ruby-forum.com/u/helderam)\
**Replies:** 5\
**Last updated:** [June 10, 2007, 3:16am UTC](https://www.ruby-forum.com/t/what-is-the-best-for-to-do-reports-in-rails/106381 "2007-06-10T03:16:21Z")

</div>

Hello, Whats best to do reports in rails: A) ruport: http://rubyreports.org/ B) PDF:Writer : http://rubyforge.org/projects/ruby-pdf/ C) … Thanks any help. Helder

---

## [Rake test tasks only work with --trace](https://www.ruby-forum.com/t/rake-test-tasks-only-work-with-trace/106403)

<div class="topic-metadata">

**Author:** [@jmckible](https://www.ruby-forum.com/u/jmckible)\
**Replies:** 1\
**Last updated:** [June 10, 2007, 2:33am UTC](https://www.ruby-forum.com/t/rake-test-tasks-only-work-with-trace/106403 "2007-06-10T02:33:11Z")

</div>

So this has left me completely confused. I’m trying to get the test suite going on an existing app, but things going a little crazy. In the application directory if I do ‘rake’ or ‘rake test’ I get: rake aborted! Lo…

---

## [\[ANN\] the.meet.mkt - a market-based online dating system](https://www.ruby-forum.com/t/ann-the-meet-mkt-a-market-based-online-dating-system/106408)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 10, 2007, 2:05am UTC](https://www.ruby-forum.com/t/ann-the-meet-mkt-a-market-based-online-dating-system/106408 "2007-06-10T02:05:09Z")

</div>

Hey guys, just a short note about a new experimental online dating site that we just launched at: http://www.themeetmkt.com It’s basically a market-based system in which a girl sets a fixed number of messages that sh…

---

## [Restful urls and has\_permission?](https://www.ruby-forum.com/t/restful-urls-and-has-permission/106346)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 14\
**Last updated:** [June 10, 2007, 12:43am UTC](https://www.ruby-forum.com/t/restful-urls-and-has-permission/106346 "2007-06-10T00:43:02Z")

</div>

hey all, I’m using simple\_access\_control this way: \<%= link\_to ‘list’, :controller=\>‘profiles’,:action=\>‘list’ if has\_permission?(‘admin’)%\> and now that I’m using restful path it doesn’t seem to work anymore: \<%= …

---

## [Resources and HABTM how](https://www.ruby-forum.com/t/resources-and-habtm-how/106405)

<div class="topic-metadata">

**Author:** [@martinevans](https://www.ruby-forum.com/u/martinevans)\
**Replies:** 0\
**Last updated:** [June 10, 2007, 12:28am UTC](https://www.ruby-forum.com/t/resources-and-habtm-how/106405 "2007-06-10T00:28:10Z")

</div>

Can someone please explain how to impliment rest resources with HABTM thanks Martin

---

## [Legacy and MVC faq](https://www.ruby-forum.com/t/legacy-and-mvc-faq/106402)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 0\
**Last updated:** [June 9, 2007, 11:44pm UTC](https://www.ruby-forum.com/t/legacy-and-mvc-faq/106402 "2007-06-09T23:44:58Z")

</div>

What’s meant by a “model Client”? Is this an object? One shot modifications are the kind of modification that you do model per model or private key per private key. For example, let’s suppose that your legacy databas…

---

## [Media Temple gs Rmagick...again](https://www.ruby-forum.com/t/media-temple-gs-rmagick-again/106401)

<div class="topic-metadata">

**Author:** [@fozbaca](https://www.ruby-forum.com/u/fozbaca)\
**Replies:** 0\
**Last updated:** [June 9, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/media-temple-gs-rmagick-again/106401 "2007-06-09T22:04:33Z")

</div>

Hello. I’ve been working for quite some time on getting rmagick installed on media temple gs. I’ve gotten the rmagick linux version installed through ssh, but the ruby gem fails. The linux version gives me an error …

---

## [Create 2 fk referencing the same table](https://www.ruby-forum.com/t/create-2-fk-referencing-the-same-table/106379)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [June 9, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/create-2-fk-referencing-the-same-table/106379 "2007-06-09T19:28:56Z")

</div>

Hi everyone! I have a problem with defining 2 fk referencing the same table. I have a Program table and a Team table. The Program should have an away team and a home team fk. From my understanding, “the fk column shou…

---

## [Strange error - bug in RoR?](https://www.ruby-forum.com/t/strange-error-bug-in-ror/106357)

<div class="topic-metadata">

**Author:** [@rhaus](https://www.ruby-forum.com/u/rhaus)\
**Replies:** 5\
**Last updated:** [June 9, 2007, 7:03pm UTC](https://www.ruby-forum.com/t/strange-error-bug-in-ror/106357 "2007-06-09T19:03:24Z")

</div>

I have gerated a scaffold\_resource for “news” like so: script/generate scaffold\_resource news I have also added a route to routes.rb map.resources :news I have an application-wide layout that contains a menu with th…

---

## [Cron and rails](https://www.ruby-forum.com/t/cron-and-rails/106384)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 8\
**Last updated:** [June 9, 2007, 5:42pm UTC](https://www.ruby-forum.com/t/cron-and-rails/106384 "2007-06-09T17:42:18Z")

</div>

Hi, i’ve a little problem. i’ve to run a method every 5 minutes with cron, but i don’t know what and where i’ve to write it. The method is written, but to run it ? i know that i’ve to use the script/runner (does it ta…

---

## [What wrong with this route](https://www.ruby-forum.com/t/what-wrong-with-this-route/106385)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 0\
**Last updated:** [June 9, 2007, 3:01pm UTC](https://www.ruby-forum.com/t/what-wrong-with-this-route/106385 "2007-06-09T15:01:45Z")

</div>

Anyone any suggestions why this route is not working when placed in routes.rb? map.resources :news, :singular =\> :news\_instance, :collection =\> {:upcoming =\> :get} itreturns this error message when you go t /news/rou…

---

## [Flash.now and functional testing](https://www.ruby-forum.com/t/flash-now-and-functional-testing/106376)

<div class="topic-metadata">

**Author:** [@nuno](https://www.ruby-forum.com/u/nuno)\
**Replies:** 0\
**Last updated:** [June 9, 2007, 10:53am UTC](https://www.ruby-forum.com/t/flash-now-and-functional-testing/106376 "2007-06-09T10:53:53Z")

</div>

Hi, I can’t find a solution to make assertion againt flash\[\] because the content is cleared at the end of controller execution… I use flash.now for every notice or error messaging because without .now the messages are…

---

## [New migration method is not dry](https://www.ruby-forum.com/t/new-migration-method-is-not-dry/106284)

<div class="topic-metadata">

**Author:** [@arjackson](https://www.ruby-forum.com/u/arjackson)\
**Replies:** 2\
**Last updated:** [June 9, 2007, 5:55am UTC](https://www.ruby-forum.com/t/new-migration-method-is-not-dry/106284 "2007-06-09T05:55:03Z")

</div>

I’m confused why the move was made to made to rake plugin\_migration. If I have a bunch of apps that use the same engine, now if I change the engine schema I need to make sure I add the migrations to each app, with pl…

---

## [Any tutorials on how to do multiple row (data grid like) for](https://www.ruby-forum.com/t/any-tutorials-on-how-to-do-multiple-row-data-grid-like-for/106177)

<div class="topic-metadata">

**Author:** [@Chris\_Johnston](https://www.ruby-forum.com/u/Chris_Johnston)\
**Replies:** 3\
**Last updated:** [June 9, 2007, 5:08am UTC](https://www.ruby-forum.com/t/any-tutorials-on-how-to-do-multiple-row-data-grid-like-for/106177 "2007-06-09T05:08:02Z")

</div>

Hello, I am trying to create a multiple row / data grid like input form and am not sure how to proceed. I am wondering if there are any good tutorials on how to do something like this. To be more exact in what I am…

---

## [Help with submitting a form by clicking on a link](https://www.ruby-forum.com/t/help-with-submitting-a-form-by-clicking-on-a-link/106354)

<div class="topic-metadata">

**Author:** [@charlie\_caroff](https://www.ruby-forum.com/u/charlie_caroff)\
**Replies:** 3\
**Last updated:** [June 9, 2007, 1:33am UTC](https://www.ruby-forum.com/t/help-with-submitting-a-form-by-clicking-on-a-link/106354 "2007-06-09T01:33:41Z")

</div>

Hi, I have a search form that looks like this. (I posted this problem yesterday, and I got a helpful response on how to do this in javascript, but I’d like to try to do it in Ruby on Rails. I’d like to try to understa…

---

## [GFS, logs, and 50+ servers](https://www.ruby-forum.com/t/gfs-logs-and-50-servers/106298)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 5\
**Last updated:** [June 9, 2007, 1:33am UTC](https://www.ruby-forum.com/t/gfs-logs-and-50-servers/106298 "2007-06-09T01:33:41Z")

</div>

I’ve seen some talk about GFS on the list in the past. I’m currently looking at this as a potential solution to deploying Rails apps to 50+ servers. Basically to take advantage of GFS giving you a single disk/file-s…

---

## [Collecting Model Statistics](https://www.ruby-forum.com/t/collecting-model-statistics/106359)

<div class="topic-metadata">

**Author:** [@michael.j.thomas](https://www.ruby-forum.com/u/michael.j.thomas)\
**Replies:** 0\
**Last updated:** [June 9, 2007, 12:08am UTC](https://www.ruby-forum.com/t/collecting-model-statistics/106359 "2007-06-09T00:08:33Z")

</div>

I have a model hierarchy that looks like: User has many days, a day has many items. I’m trying to collect cheap (processing) statistics about the items, specifically on the count of duplicates. Ultimately I want to k…

---

## [Date of birth pulldowns?](https://www.ruby-forum.com/t/date-of-birth-pulldowns/106356)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 2\
**Last updated:** [June 8, 2007, 11:12pm UTC](https://www.ruby-forum.com/t/date-of-birth-pulldowns/106356 "2007-06-08T23:12:45Z")

</div>

I’m trying to store the birth date of individuals. Is there an easy way to allow the user to input their date of birth using pulldowns? I could create them myself, but I was wondering if RoR had a method of doing th…

---

## [Rake remote:setup - rake aborted! fingerprint b7:df:i8... do](https://www.ruby-forum.com/t/rake-remote-setup-rake-aborted-fingerprint-b7i8-do/106277)

<div class="topic-metadata">

**Author:** [@kwest](https://www.ruby-forum.com/u/kwest)\
**Replies:** 5\
**Last updated:** [June 8, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/rake-remote-setup-rake-aborted-fingerprint-b7i8-do/106277 "2007-06-08T22:29:20Z")

</div>

I have become a bit frustrated with trying to deploy my application, every time I try to deploy using rake remote:setup I get this error message: rake aborted! fingerprint b7:df:i8… does not match for mydomain.com I…

---

## [Running test Rails app under JRuby and JBoss - experiences](https://www.ruby-forum.com/t/running-test-rails-app-under-jruby-and-jboss-experiences/106316)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 1\
**Last updated:** [June 8, 2007, 10:16pm UTC](https://www.ruby-forum.com/t/running-test-rails-app-under-jruby-and-jboss-experiences/106316 "2007-06-08T22:16:19Z")

</div>

Based on this article http://blog.saush.com/?p=208 I have created a simple speed test application to see how JRuby behaves under JAVA server. I created one controller with simple method that provides actual time for v…

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

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