# Rails

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

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

---

## [Safari 2.0.4 display of raise is incorrect](https://www.ruby-forum.com/t/safari-2-0-4-display-of-raise-is-incorrect/89810)

<div class="topic-metadata">

**Author:** [@pht](https://www.ruby-forum.com/u/pht)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 9:31pm UTC](https://www.ruby-forum.com/t/safari-2-0-4-display-of-raise-is-incorrect/89810 "2007-03-22T21:31:26Z")

</div>

Using Mac G4 Quicksilver 867mhz Mac OS X 10.4.8 Ruby 1.8.5 and Rails 1.2.2 I’m new to RoR so I cannot quite understand why Safari displays a raise action this way RuntimeError in Admin contactsController#set\_contact…

---

## [First Day issue](https://www.ruby-forum.com/t/first-day-issue/89806)

<div class="topic-metadata">

**Author:** [@ReDD](https://www.ruby-forum.com/u/ReDD)\
**Replies:** 3\
**Last updated:** [March 22, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/first-day-issue/89806 "2007-03-22T21:28:25Z")

</div>

I’ll start off saying I don’t know much at all about RoR…today is my first day attempting. I have been going through this tutorial (but I’m doing it on linux) and get this when i try to view the /recipe/new page li…

---

## [Java for a Ruby/Rails user](https://www.ruby-forum.com/t/java-for-a-ruby-rails-user/89793)

<div class="topic-metadata">

**Author:** [@avdi](https://www.ruby-forum.com/u/avdi)\
**Replies:** 3\
**Last updated:** [March 22, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/java-for-a-ruby-rails-user/89793 "2007-03-22T20:42:19Z")

</div>

OK, so I have been given an internal project, which will most likely be done in Java. I don’t want this to turn into a Java/Ruby argument; I do a lot of development in Ruby, and I’m very familiar with it’s benefits. …

---

## [Some questions about developing plugins and sharing with SVN](https://www.ruby-forum.com/t/some-questions-about-developing-plugins-and-sharing-with-svn/89799)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 8:40pm UTC](https://www.ruby-forum.com/t/some-questions-about-developing-plugins-and-sharing-with-svn/89799 "2007-03-22T20:40:23Z")

</div>

Hi all I have made a small custom FormBuilder. So far I have the code stored in a test Rails project in the application\_helper.rb file. Now I read the short book “Extending Rails beyond the Core” that gave me some g…

---

## [Railsmachine? Good?](https://www.ruby-forum.com/t/railsmachine-good/89312)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 10\
**Last updated:** [March 22, 2007, 8:16pm UTC](https://www.ruby-forum.com/t/railsmachine-good/89312 "2007-03-22T20:16:12Z")

</div>

Hi: What does the community think about railsmachine as a service? Their service looks pretty good. Anyone had any good/bad experience? Mike

---

## [Basecamp Style multi-scoped database = cracked code!](https://www.ruby-forum.com/t/basecamp-style-multi-scoped-database-cracked-code/89769)

<div class="topic-metadata">

**Author:** [@ntk](https://www.ruby-forum.com/u/ntk)\
**Replies:** 1\
**Last updated:** [March 22, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/basecamp-style-multi-scoped-database-cracked-code/89769 "2007-03-22T19:53:07Z")

</div>

I’m the pesky guy that keeps posting questions aimed at understanding how to operate a web based business application that is able to serve (scope) many distinct users sharing a common monolithic database. I’ve fina…

---

## [Make free calls across the globe](https://www.ruby-forum.com/t/make-free-calls-across-the-globe/89796)

<div class="topic-metadata">

**Author:** [@prati](https://www.ruby-forum.com/u/prati)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 7:52pm UTC](https://www.ruby-forum.com/t/make-free-calls-across-the-globe/89796 "2007-03-22T19:52:07Z")

</div>

Here is an amazing offer:-Download the software and Call any phone anywhere Free! - http://surl.in/HLGB7238206SVRAKSX-g

---

## [Date field translation on the GUI](https://www.ruby-forum.com/t/date-field-translation-on-the-gui/89700)

<div class="topic-metadata">

**Author:** [@hvenkata](https://www.ruby-forum.com/u/hvenkata)\
**Replies:** 1\
**Last updated:** [March 22, 2007, 7:48pm UTC](https://www.ruby-forum.com/t/date-field-translation-on-the-gui/89700 "2007-03-22T19:48:06Z")

</div>

date\_select(object\_name, method, options = {}) When the date\_select method is it returns a select tags. The days tag is always set to 31 days. Is there a way to make the month and days tag relative. For example whe…

---

## [Creating new folders under rails\_root](https://www.ruby-forum.com/t/creating-new-folders-under-rails-root/89763)

<div class="topic-metadata">

**Author:** [@Amy\_Hult](https://www.ruby-forum.com/u/Amy_Hult)\
**Replies:** 1\
**Last updated:** [March 22, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/creating-new-folders-under-rails-root/89763 "2007-03-22T19:31:47Z")

</div>

Hi: Is there any “best practice” regarding folder creation under rails root. i.e -apps -config -db -myScripts (myFolder) I have some background jobs/scripts/programs that I like to have it under i.e. “myScripts” …

---

## [Filter parameter, is there a bug?](https://www.ruby-forum.com/t/filter-parameter-is-there-a-bug/89124)

<div class="topic-metadata">

**Author:** [@jin](https://www.ruby-forum.com/u/jin)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 7:13pm UTC](https://www.ruby-forum.com/t/filter-parameter-is-there-a-bug/89124 "2007-03-22T19:13:42Z")

</div>

hi, i’m doing a filter parameters on some parameters (password, personal data like name, surname, etc), it works quite good, when it gets the request in the log there’s \[FILTERED\], but some lines after in the sql quer…

---

## [Ruby on Rails equivalent of filepart](https://www.ruby-forum.com/t/ruby-on-rails-equivalent-of-filepart/89789)

<div class="topic-metadata">

**Author:** [@siddharthdawara](https://www.ruby-forum.com/u/siddharthdawara)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 7:00pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-equivalent-of-filepart/89789 "2007-03-22T19:00:10Z")

</div>

I posted in the Ruby forum by mistake :frowning: This is actually in Rails. I’m looking for a Ruby equivalent of Java’s Jakarta HTTP FilePart. I basically need to send out a post request that contains an uploaded file…

---

## [Mysterious message in Rails output at launch](https://www.ruby-forum.com/t/mysterious-message-in-rails-output-at-launch/89780)

<div class="topic-metadata">

**Author:** [@jmay](https://www.ruby-forum.com/u/jmay)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 6:46pm UTC](https://www.ruby-forum.com/t/mysterious-message-in-rails-output-at-launch/89780 "2007-03-22T18:46:35Z")

</div>

For the last couple of days, the following message has started showing up on stdout (not in the .log file) at startup when I run script/ console, or start mongrel in my development environment, or run a Rails unit t…

---

## [Multiple rails versions + mysql error](https://www.ruby-forum.com/t/multiple-rails-versions-mysql-error/89772)

<div class="topic-metadata">

**Author:** [@magic\_hat](https://www.ruby-forum.com/u/magic_hat)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 6:32pm UTC](https://www.ruby-forum.com/t/multiple-rails-versions-mysql-error/89772 "2007-03-22T18:32:34Z")

</div>

I’m running rails 1.2.2 and mysql 5 on my linux server. I recently had to install the rails 1.1.6 gem to run an app that requires it, and now I’m getting “Mysql::Error: Lost connection to MySQL server during query” on…

---

## [Link\_to with callbacks?](https://www.ruby-forum.com/t/link-to-with-callbacks/89777)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 6:25pm UTC](https://www.ruby-forum.com/t/link-to-with-callbacks/89777 "2007-03-22T18:25:33Z")

</div>

I’ve got an image link that’s currently using link\_to\_remote. The link calls a method that creates a file and completes with render :nothing =\> true. I’m using the :loading and :complete callbacks on link\_to\_remote…

---

## [Can't dump anonymous class? Need help please!](https://www.ruby-forum.com/t/cant-dump-anonymous-class-need-help-please/89775)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/cant-dump-anonymous-class-need-help-please/89775 "2007-03-22T18:05:02Z")

</div>

I am trying to Marshal.dump and object and I am getting this error: can’t dump anonymous class #Class:0x2fadbb8 I wrote a very simple class that plugs into my rails app. Whenever I try to store an object of it in the …

---

## [\[ANN\] Working With Rails - New features released today](https://www.ruby-forum.com/t/ann-working-with-rails-new-features-released-today/89771)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 5:49pm UTC](https://www.ruby-forum.com/t/ann-working-with-rails-new-features-released-today/89771 "2007-03-22T17:49:23Z")

</div>

We have just launched a whole bunch of new features at Working With Rails. http://www.workingwithrails.com Gain exposure for your site, promote your group; let the world know what you’re doing with Rails. Give the ne…

---

## [Getting undefined method time\_select](https://www.ruby-forum.com/t/getting-undefined-method-time-select/89757)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [March 22, 2007, 5:36pm UTC](https://www.ruby-forum.com/t/getting-undefined-method-time-select/89757 "2007-03-22T17:36:02Z")

</div>

Is this a rails version issue? Any suggestions for alternative? ActionView::TemplateError (undefined method \`time\_select’ for #\<#Class:0xb790c54c:0xb790c524\>) on line #14 of app/views/admin/ \_taskform.rhtml: 11: …

---

## [How does Basecamp 'scope' distinct users in a monolithic dat](https://www.ruby-forum.com/t/how-does-basecamp-scope-distinct-users-in-a-monolithic-dat/89662)

<div class="topic-metadata">

**Author:** [@bravedave](https://www.ruby-forum.com/u/bravedave)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 5:19pm UTC](https://www.ruby-forum.com/t/how-does-basecamp-scope-distinct-users-in-a-monolithic-dat/89662 "2007-03-22T17:19:59Z")

</div>

I’m hoping to find someone who realizes the implications of this design strategy. I am attempting to build an application that access a common monolithic database but each user has a ‘scope’ so they only see their dat…

---

## [Email errors to yourself or better alternative?](https://www.ruby-forum.com/t/email-errors-to-yourself-or-better-alternative/89768)

<div class="topic-metadata">

**Author:** [@Gabe\_Lerner](https://www.ruby-forum.com/u/Gabe_Lerner)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 5:12pm UTC](https://www.ruby-forum.com/t/email-errors-to-yourself-or-better-alternative/89768 "2007-03-22T17:12:56Z")

</div>

I am about to go into production with my rails app and would like some sort of error monitoring. In my previous apps (ASP.NET), I have just caught all errors globally, emailed them to myself, and redirected the user …

---

## [Problems select correct records from 2 tables](https://www.ruby-forum.com/t/problems-select-correct-records-from-2-tables/89736)

<div class="topic-metadata">

**Author:** [@webdevotion](https://www.ruby-forum.com/u/webdevotion)\
**Replies:** 6\
**Last updated:** [March 22, 2007, 5:06pm UTC](https://www.ruby-forum.com/t/problems-select-correct-records-from-2-tables/89736 "2007-03-22T17:06:14Z")

</div>

Hello, I have 2 tables: news and comments. news has many comments and comment belongs to article On the show action I want to show all the comments that belong to a news item, excluding the ones that are not approved…

---

## [Detecting when a record is saved](https://www.ruby-forum.com/t/detecting-when-a-record-is-saved/89419)

<div class="topic-metadata">

**Author:** [@chris\_finch](https://www.ruby-forum.com/u/chris_finch)\
**Replies:** 4\
**Last updated:** [March 22, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/detecting-when-a-record-is-saved/89419 "2007-03-22T16:38:52Z")

</div>

Hi all, I have wrote a RoR app that analyzes results in a mysql database. Data is input to the database with a java GUI. Is it possible to automatically detect when new data is saved into the DB and then do something…

---

## [Newbie having problem with search function](https://www.ruby-forum.com/t/newbie-having-problem-with-search-function/89610)

<div class="topic-metadata">

**Author:** [@billy\_am](https://www.ruby-forum.com/u/billy_am)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 4:33pm UTC](https://www.ruby-forum.com/t/newbie-having-problem-with-search-function/89610 "2007-03-22T16:33:51Z")

</div>

Hi Guys , I am a newbie to rails so forgive me if this has been answered before. I am currently doing an inventory management project on RoR and got 3 tables , goods , customers and staff. I used scaffold …

---

## [Inconsistent Invalid Argument Error](https://www.ruby-forum.com/t/inconsistent-invalid-argument-error/89755)

<div class="topic-metadata">

**Author:** [@jason](https://www.ruby-forum.com/u/jason)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 3:48pm UTC](https://www.ruby-forum.com/t/inconsistent-invalid-argument-error/89755 "2007-03-22T15:48:38Z")

</div>

I have a view with a table that contains sortable links as headings. Here is the code used to create these sortable links in the application\_helper: module ApplicationHelper def sort\_link\_helper(text, param) key = p…

---

## [How do I add an extra parameter to a REST action?](https://www.ruby-forum.com/t/how-do-i-add-an-extra-parameter-to-a-rest-action/89648)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 3:32pm UTC](https://www.ruby-forum.com/t/how-do-i-add-an-extra-parameter-to-a-rest-action/89648 "2007-03-22T15:32:40Z")

</div>

In routes.rb: map.resources :games I can do something like this: games\_path(:sport =\> ‘hockey’) which results in a path like “/games?sport=hockey”. Awesome. But elsewhere I have a similar situation where I want to …

---

## [Exposing directories in rails app](https://www.ruby-forum.com/t/exposing-directories-in-rails-app/89707)

<div class="topic-metadata">

**Author:** [@steveybaby](https://www.ruby-forum.com/u/steveybaby)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 3:30pm UTC](https://www.ruby-forum.com/t/exposing-directories-in-rails-app/89707 "2007-03-22T15:30:06Z")

</div>

Hi, Is it possible to expose a directory within a rails app where the standard rails routing is not applied? ie example.com/ and example.com/foo would use the standard rails routes defined in routes.rb, but example.c…

---

## [How to trim my view? using different models? simple im sure](https://www.ruby-forum.com/t/how-to-trim-my-view-using-different-models-simple-im-sure/89754)

<div class="topic-metadata">

**Author:** [@mixplate](https://www.ruby-forum.com/u/mixplate)\
**Replies:** 1\
**Last updated:** [March 22, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/how-to-trim-my-view-using-different-models-simple-im-sure/89754 "2007-03-22T15:16:56Z")

</div>

hi, i have a view page that display a little information about my models. basically i have 4 different models and all four have some fields in common like timestamp, description, and category. right now i have 4 diff…

---

## [Remote\_form\_for validation](https://www.ruby-forum.com/t/remote-form-for-validation/89391)

<div class="topic-metadata">

**Author:** [@jko170](https://www.ruby-forum.com/u/jko170)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 2:41pm UTC](https://www.ruby-forum.com/t/remote-form-for-validation/89391 "2007-03-22T14:41:32Z")

</div>

If I’m using remote\_form\_for, how would I get the model validations to render just like on a non-ajax form?

---

## [\[ANN\] Videos from Conferencia Rails 2006](https://www.ruby-forum.com/t/ann-videos-from-conferencia-rails-2006/89750)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 2:20pm UTC](https://www.ruby-forum.com/t/ann-videos-from-conferencia-rails-2006/89750 "2007-03-22T14:20:28Z")

</div>

Just a quick note to let you know videos of talks in the last Conferencia Rails 2006 are available here: http://2006.conferenciarails.org/ Those were sessions in the main room. Language is Spanish except for the tele…

---

## [Build an app with Ruby on Rails resources](https://www.ruby-forum.com/t/build-an-app-with-ruby-on-rails-resources/89748)

<div class="topic-metadata">

**Author:** [@ariejan](https://www.ruby-forum.com/u/ariejan)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 2:03pm UTC](https://www.ruby-forum.com/t/build-an-app-with-ruby-on-rails-resources/89748 "2007-03-22T14:03:27Z")

</div>

I’ve written a small tutorial explaining how rails resources can be put to use as building blocks for a more complex application. The tutorial is a step-by-step instruction on how to generate resources and put them to…

---

## [MySQL gem](https://www.ruby-forum.com/t/mysql-gem/89743)

<div class="topic-metadata">

**Author:** [@Aaron\_K](https://www.ruby-forum.com/u/Aaron_K)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 1:43pm UTC](https://www.ruby-forum.com/t/mysql-gem/89743 "2007-03-22T13:43:48Z")

</div>

Where is the 2.7.3 and greater version of the MySQL gem for non-Windows installs? It seems to be developed by the guy who has tmtm.org I checked his site at MySQL/Ruby, and the latest version is 2.7.3, but there is n…

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

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