# Rails

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

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

---

## [Updating to Rails 2.0 what files?](https://www.ruby-forum.com/t/updating-to-rails-2-0-what-files/124191)

<div class="topic-metadata">

**Author:** [@sharkie](https://www.ruby-forum.com/u/sharkie)\
**Replies:** 2\
**Last updated:** [December 28, 2007, 2:23am UTC](https://www.ruby-forum.com/t/updating-to-rails-2-0-what-files/124191 "2007-12-28T02:23:37Z")

</div>

I updated everything in config/enviroments Is there anything else I must do to ensure Rails 2.0 is working properly?

---

## [Upload & Parse CSV](https://www.ruby-forum.com/t/upload-parse-csv/74228)

<div class="topic-metadata">

**Author:** [@ashiro](https://www.ruby-forum.com/u/ashiro)\
**Replies:** 2\
**Last updated:** [December 28, 2007, 2:23am UTC](https://www.ruby-forum.com/t/upload-parse-csv/74228 "2007-12-28T02:23:01Z")

</div>

Hi All I was hoping you could help me. I need the ability to upload a large quantity of data via CSV - via an upload form. The CSV file then needs parsing and the data entering into the relevant module. Does anyone…

---

## [How to get request object in Model?](https://www.ruby-forum.com/t/how-to-get-request-object-in-model/124361)

<div class="topic-metadata">

**Author:** [@betame342](https://www.ruby-forum.com/u/betame342)\
**Replies:** 2\
**Last updated:** [December 28, 2007, 2:06am UTC](https://www.ruby-forum.com/t/how-to-get-request-object-in-model/124361 "2007-12-28T02:06:28Z")

</div>

Hi, I would like to use request.host in before\_save inside model. Since request object is only available in controller and not available inside model, I cannot use request directly in model. Creating a parameter for…

---

## [Issues with "Connection reset" and mongrels loving memory](https://www.ruby-forum.com/t/issues-with-connection-reset-and-mongrels-loving-memory/123425)

<div class="topic-metadata">

**Author:** [@Bill\_Turner](https://www.ruby-forum.com/u/Bill_Turner)\
**Replies:** 1\
**Last updated:** [December 28, 2007, 1:56am UTC](https://www.ruby-forum.com/t/issues-with-connection-reset-and-mongrels-loving-memory/123425 "2007-12-28T01:56:08Z")

</div>

Hi folks, I’ve searched and search, but can’t seem to find solutions that work for me. I’m hoping if I include enough information I may find some help here. Here are the problems I am getting reports on: While usin…

---

## [Getting Javascript to talk to Rails](https://www.ruby-forum.com/t/getting-javascript-to-talk-to-rails/123258)

<div class="topic-metadata">

**Author:** [@serkan](https://www.ruby-forum.com/u/serkan)\
**Replies:** 12\
**Last updated:** [December 28, 2007, 1:14am UTC](https://www.ruby-forum.com/t/getting-javascript-to-talk-to-rails/123258 "2007-12-28T01:14:37Z")

</div>

Hi guys! I was wondering on how to save data from a javascript function to rails. It would great if someone could me help me out! cheers!

---

## [Qs with has\_many and belongs\_to](https://www.ruby-forum.com/t/qs-with-has-many-and-belongs-to/124319)

<div class="topic-metadata">

**Author:** [@taro](https://www.ruby-forum.com/u/taro)\
**Replies:** 4\
**Last updated:** [December 28, 2007, 1:11am UTC](https://www.ruby-forum.com/t/qs-with-has-many-and-belongs-to/124319 "2007-12-28T01:11:42Z")

</div>

I’m trying to make a discussion website, which involves using the has\_many attributes. I wanted to make sure of a few things: I want my models linked this way: (Parent) Forum -\> Board -\> Message\_thread -\> Message (Ch…

---

## [How do you handle recurring tasks](https://www.ruby-forum.com/t/how-do-you-handle-recurring-tasks/124298)

<div class="topic-metadata">

**Author:** [@gabru](https://www.ruby-forum.com/u/gabru)\
**Replies:** 9\
**Last updated:** [December 28, 2007, 12:14am UTC](https://www.ruby-forum.com/t/how-do-you-handle-recurring-tasks/124298 "2007-12-28T00:14:31Z")

</div>

i have several tasks which i need to be executed from time to time … some every 20 minutes and some only 1 time a day … you know things like e.g. clearing old sessions, deleting inactive users … how do you deal with s…

---

## [Setting up Admin controller rails 2.02](https://www.ruby-forum.com/t/setting-up-admin-controller-rails-2-02/124343)

<div class="topic-metadata">

**Author:** [@Kamau\_Osaze](https://www.ruby-forum.com/u/Kamau_Osaze)\
**Replies:** 2\
**Last updated:** [December 27, 2007, 11:21pm UTC](https://www.ruby-forum.com/t/setting-up-admin-controller-rails-2-02/124343 "2007-12-27T23:21:34Z")

</div>

Is there an easier way to set up and admin controller in rails other than Rolling with Rails 2.0 - The First Full Tutorial - Part 1 | AkitaOnRails.com? This seems like way too much work. Please help if you can. Your h…

---

## [Rfacebook Q&A with Duane Morin - Connect At College rfacebook Sighting](https://www.ruby-forum.com/t/rfacebook-q-a-with-duane-morin-connect-at-college-rfacebook-sighting/124356)

<div class="topic-metadata">

**Author:** [@gerald\_b](https://www.ruby-forum.com/u/gerald_b)\
**Replies:** 0\
**Last updated:** [December 27, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/rfacebook-q-a-with-duane-morin-connect-at-college-rfacebook-sighting/124356 "2007-12-27T22:52:55Z")

</div>

Hello, Thanks to Duane M. - the Rubyist behind the Connect At College Facebook app - the 2nd rfacebook Sightings posting is now online. On tips, tricks or advice for developers getting started with Facebook developm…

---

## [Rails default app not loading](https://www.ruby-forum.com/t/rails-default-app-not-loading/124127)

<div class="topic-metadata">

**Author:** [@lillyanka](https://www.ruby-forum.com/u/lillyanka)\
**Replies:** 5\
**Last updated:** [December 27, 2007, 10:25pm UTC](https://www.ruby-forum.com/t/rails-default-app-not-loading/124127 "2007-12-27T22:25:21Z")

</div>

Hi! I was wondering if someone could maybe help me out. I’m just starting to learn Rails, and I’m doing this tutorial: The thing is, I started doing it at work, and it worked fine, but when I got home and tried to do…

---

## [Re: Valentina Database Now Supports Ruby on Rails on Mac OS X](https://www.ruby-forum.com/t/re-valentina-database-now-supports-ruby-on-rails-on-mac-os-x/123275)

<div class="topic-metadata">

**Author:** [@Ruslan\_Z](https://www.ruby-forum.com/u/Ruslan_Z)\
**Replies:** 1\
**Last updated:** [December 27, 2007, 9:36pm UTC](https://www.ruby-forum.com/t/re-valentina-database-now-supports-ruby-on-rails-on-mac-os-x/123275 "2007-12-27T21:36:04Z")

</div>

Hi Peter, Hi Greg, Hi All, Thank you, Peter, for your comments about Valentina database. :slight\_smile: Sorry it have take so long from us to move Valentina to Ruby world. And actually we have yet need do few import…

---

## [Overriding or changing HTML generated by date\_select?](https://www.ruby-forum.com/t/overriding-or-changing-html-generated-by-date-select/124211)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [December 27, 2007, 7:29pm UTC](https://www.ruby-forum.com/t/overriding-or-changing-html-generated-by-date-select/124211 "2007-12-27T19:29:38Z")

</div>

Hi, I’m looking for a way to customize the HTML forms generated by date\_select. I’m especially keen on replacing the year and possibly day input by a simple text field, since honestly, I find listboxes for years to b…

---

## [How to update to 1.2.6](https://www.ruby-forum.com/t/how-to-update-to-1-2-6/124335)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [December 27, 2007, 7:26pm UTC](https://www.ruby-forum.com/t/how-to-update-to-1-2-6/124335 "2007-12-27T19:26:42Z")

</div>

I’m afraid to tell it gem update rails because I think that would probably install 2.0.2 and I only want to go from 1.2.3 to 1.2.6 How can I update rails (Linux) to 1.2.6 ? Craig

---

## [How can i add a confirmation dialog to a submit\_tag?](https://www.ruby-forum.com/t/how-can-i-add-a-confirmation-dialog-to-a-submit-tag/113767)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 3\
**Last updated:** [December 27, 2007, 7:20pm UTC](https://www.ruby-forum.com/t/how-can-i-add-a-confirmation-dialog-to-a-submit-tag/113767 "2007-12-27T19:20:14Z")

</div>

When i use button\_to or link\_to, i can easily request a confirmation dialog with (for example) \<%= button\_to “Delete this story”, { :controller =\> “story”, :action =\> “delete”, :id =\> @story.id }, :confirm =\> “Delete…

---

## [How to Prefixing a controller path in a route](https://www.ruby-forum.com/t/how-to-prefixing-a-controller-path-in-a-route/124333)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 1\
**Last updated:** [December 27, 2007, 7:09pm UTC](https://www.ruby-forum.com/t/how-to-prefixing-a-controller-path-in-a-route/124333 "2007-12-27T19:09:06Z")

</div>

Hi, I’ve been playing with routes and with Jamis B.'s plugin for host based routing (http://svn.jamisbuck.org/rails-plugins/routing\_tricks/). Here’s what I have in routes.rb: 1 map.connect ‘’, :conditions =\> { :ho…

---

## [Format.json](https://www.ruby-forum.com/t/format-json/122412)

<div class="topic-metadata">

**Author:** [@ratnavel](https://www.ruby-forum.com/u/ratnavel)\
**Replies:** 1\
**Last updated:** [December 27, 2007, 6:55pm UTC](https://www.ruby-forum.com/t/format-json/122412 "2007-12-27T18:55:34Z")

</div>

Hi did anyone used format.json before… If so pls, do let me know how to use it…

---

## [Silent Validation Failures](https://www.ruby-forum.com/t/silent-validation-failures/124330)

<div class="topic-metadata">

**Author:** [@tatyree](https://www.ruby-forum.com/u/tatyree)\
**Replies:** 0\
**Last updated:** [December 27, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/silent-validation-failures/124330 "2007-12-27T18:40:51Z")

</div>

Hello, I’m having trouble with after\_validation\_on\_create causing my validations to fail silently. I’ve got a restful\_authentication based user model that requires a number of things from the user: email, dob, gende…

---

## [ActiveRecord + has\_and\_belongs\_to\_many: My own little problem ;)](https://www.ruby-forum.com/t/activerecord-has-and-belongs-to-many-my-own-little-problem/124295)

<div class="topic-metadata">

**Author:** [@Javier\_Q](https://www.ruby-forum.com/u/Javier_Q)\
**Replies:** 2\
**Last updated:** [December 27, 2007, 6:22pm UTC](https://www.ruby-forum.com/t/activerecord-has-and-belongs-to-many-my-own-little-problem/124295 "2007-12-27T18:22:35Z")

</div>

The models: class Search \< ActiveRecord::Base has\_and\_belongs\_to\_many :dcresults class Dcresult \< ActiveRecord::Base has\_and\_belongs\_to\_many :searches The code: @links = Array.new @titles = Array.new #build searc…

---

## [Rails and Javascript - don't mess with the client](https://www.ruby-forum.com/t/rails-and-javascript-dont-mess-with-the-client/123756)

<div class="topic-metadata">

**Author:** [@Stefan\_Klein](https://www.ruby-forum.com/u/Stefan_Klein)\
**Replies:** 19\
**Last updated:** [December 27, 2007, 5:25pm UTC](https://www.ruby-forum.com/t/rails-and-javascript-dont-mess-with-the-client/123756 "2007-12-27T17:25:27Z")

</div>

I am new to the list and Rails (and Ruby, for that matter) and whilst I was a bit skeptical due to the hype it’s causing, I am starting to really like it and there seems to be a really active and friendly community be…

---

## [Problem with rails 2.0](https://www.ruby-forum.com/t/problem-with-rails-2-0/124318)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 5\
**Last updated:** [December 27, 2007, 5:17pm UTC](https://www.ruby-forum.com/t/problem-with-rails-2-0/124318 "2007-12-27T17:17:14Z")

</div>

When I run rails “–version” I get this: rails --version /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:379:in report\_activate\_error': Could not find RubyGem activeresource (= 2.0.2) (Gem::LoadError) from /usr/lib/ruby/site\_rub…

---

## [Question about ACL](https://www.ruby-forum.com/t/question-about-acl/124253)

<div class="topic-metadata">

**Author:** [@ellils](https://www.ruby-forum.com/u/ellils)\
**Replies:** 3\
**Last updated:** [December 27, 2007, 4:59pm UTC](https://www.ruby-forum.com/t/question-about-acl/124253 "2007-12-27T16:59:40Z")

</div>

Hi there, I am pretty new to the ruby on rails world, having decided to learn something new other than PHP. One of the most important libraries that I was searching for in Ruby On Rails, however, seem to be missing… …

---

## [Please help - I have couple of doubts](https://www.ruby-forum.com/t/please-help-i-have-couple-of-doubts/124296)

<div class="topic-metadata">

**Author:** [@atulxxx](https://www.ruby-forum.com/u/atulxxx)\
**Replies:** 4\
**Last updated:** [December 27, 2007, 4:09pm UTC](https://www.ruby-forum.com/t/please-help-i-have-couple-of-doubts/124296 "2007-12-27T16:09:40Z")

</div>

Hello, I have following doubts and have spent many days trying to crack them without luck, please help : I have a form with pure text fields at the top and a table with multiple rows with data derived from many obje…

---

## [Howto replace the " char?](https://www.ruby-forum.com/t/howto-replace-the-char/124310)

<div class="topic-metadata">

**Author:** [@markthomas](https://www.ruby-forum.com/u/markthomas)\
**Replies:** 10\
**Last updated:** [December 27, 2007, 3:47pm UTC](https://www.ruby-forum.com/t/howto-replace-the-char/124310 "2007-12-27T15:47:51Z")

</div>

I want to delete the " char from the text: This is “the Text”. I want it to be: This is the Text.

---

## [Acts\_as\_taggable - Rails 2.0 - no such file to load](https://www.ruby-forum.com/t/acts-as-taggable-rails-2-0-no-such-file-to-load/124239)

<div class="topic-metadata">

**Author:** [@annaanna](https://www.ruby-forum.com/u/annaanna)\
**Replies:** 2\
**Last updated:** [December 27, 2007, 3:23pm UTC](https://www.ruby-forum.com/t/acts-as-taggable-rails-2-0-no-such-file-to-load/124239 "2007-12-27T15:23:40Z")

</div>

After upgrading to Rails 2.0.2, acts\_as\_taggable is not working. Under Rails 1.2.6, acts\_as\_taggable worked fantastic. I upgraded to Rails 2.0.2 and receive the following error when Mongrel starts up---- ruby/lib/rub…

---

## [Weird template behaviour](https://www.ruby-forum.com/t/weird-template-behaviour/124297)

<div class="topic-metadata">

**Author:** [@atd](https://www.ruby-forum.com/u/atd)\
**Replies:** 0\
**Last updated:** [December 27, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/weird-template-behaviour/124297 "2007-12-27T14:05:06Z")

</div>

I have searched for this problem, but I can’t find anything. It is a bit frustrating I have upgraded my application to Rails 2.0 I wish to use the new template system, so I move index.rhtml to index.html.erb, and \_fe…

---

## [\[ANN\] Open Sourced Ruby on Rails 2.0 Book (german)](https://www.ruby-forum.com/t/ann-open-sourced-ruby-on-rails-2-0-book-german/123856)

<div class="topic-metadata">

**Author:** [@derkaan](https://www.ruby-forum.com/u/derkaan)\
**Replies:** 2\
**Last updated:** [December 27, 2007, 10:42am UTC](https://www.ruby-forum.com/t/ann-open-sourced-ruby-on-rails-2-0-book-german/123856 "2007-12-27T10:42:54Z")

</div>

Hi, rubyonrails.de published an open sourced Ruby on Rails 2.0 book. It’s currently only in german, but we hope that it will also be translated into english. If someone is able and have time to do this: send me an em…

---

## [Hey guys.. i need a feedback on a website i wrote in rails](https://www.ruby-forum.com/t/hey-guys-i-need-a-feedback-on-a-website-i-wrote-in-rails/123895)

<div class="topic-metadata">

**Author:** [@shmueli](https://www.ruby-forum.com/u/shmueli)\
**Replies:** 10\
**Last updated:** [December 27, 2007, 10:01am UTC](https://www.ruby-forum.com/t/hey-guys-i-need-a-feedback-on-a-website-i-wrote-in-rails/123895 "2007-12-27T10:01:36Z")

</div>

could you please check out http://urlazy.com, and comment on this post what do you think about it ? i really appreciate it. Samuel.

---

## [Reward / Sponsoring: Fix the Rails params parser (for deeply nested params)](https://www.ruby-forum.com/t/reward-sponsoring-fix-the-rails-params-parser-for-deeply-nested-params/124279)

<div class="topic-metadata">

**Author:** [@beYou\_media\_S\_Rafae](https://www.ruby-forum.com/u/beYou_media_S_Rafae)\
**Replies:** 0\
**Last updated:** [December 27, 2007, 9:33am UTC](https://www.ruby-forum.com/t/reward-sponsoring-fix-the-rails-params-parser-for-deeply-nested-params/124279 "2007-12-27T09:33:12Z")

</div>

Hi everybody, may be, somebody has enough know how and is quite agile with the rails core, so that he / she can help us. As we are stuck and quite desperate with the problem for more then several days now (refer this…

---

## [DB rows: Is create same as](https://www.ruby-forum.com/t/db-rows-is-create-same-as/124233)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 2\
**Last updated:** [December 27, 2007, 9:16am UTC](https://www.ruby-forum.com/t/db-rows-is-create-same-as/124233 "2007-12-27T09:16:51Z")

</div>

Hi guys, A question about creating rows and some scaffolding issues. At the same time I could describe how I’m doing my stuff, just in case I’m doing something wrong. I have two models. Users: class User \< ActiveRe…

---

## [Migration prefix problem](https://www.ruby-forum.com/t/migration-prefix-problem/124262)

<div class="topic-metadata">

**Author:** [@clouder](https://www.ruby-forum.com/u/clouder)\
**Replies:** 1\
**Last updated:** [December 27, 2007, 9:16am UTC](https://www.ruby-forum.com/t/migration-prefix-problem/124262 "2007-12-27T09:16:50Z")

</div>

I’m using Windows XP SP2, Ruby 1.8.6 patch 111, Rails 1.2.3 When ever I run $ruby script/generate model someModel or $ruby script/generate migration someMigration I get migration files that are always prefixed with 00…

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

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