# Rails

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

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

---

## [\[Newbie\] Require old password when changing it (Rails 3)](https://www.ruby-forum.com/t/newbie-require-old-password-when-changing-it-rails-3/195883)

<div class="topic-metadata">

**Author:** [@Anders\_P](https://www.ruby-forum.com/u/Anders_P)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 9:44pm UTC](https://www.ruby-forum.com/t/newbie-require-old-password-when-changing-it-rails-3/195883 "2010-10-01T21:44:23Z")

</div>

Hello! I’m trying to create a user update action, and I want to check so that the user has entered his correct old password before changing it. I’ve been googeling for a while but I can’t find any good tips. I’m thin…

---

## [What's your Real World Rails 3 performance like?](https://www.ruby-forum.com/t/whats-your-real-world-rails-3-performance-like/195882)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 9:42pm UTC](https://www.ruby-forum.com/t/whats-your-real-world-rails-3-performance-like/195882 "2010-10-01T21:42:03Z")

</div>

Can any of you share your upgrade stories from Rails 2.x to 3 and how it impacted performance for better or worse? Include details like web server, passenger/mongrel, rails version etc. We have a rails project that we…

---

## [Polymorphic\_path - How to Create One given a table](https://www.ruby-forum.com/t/polymorphic-path-how-to-create-one-given-a-table/195872)

<div class="topic-metadata">

**Author:** [@nobosh](https://www.ruby-forum.com/u/nobosh)\
**Replies:** 4\
**Last updated:** [October 1, 2010, 9:05pm UTC](https://www.ruby-forum.com/t/polymorphic-path-how-to-create-one-given-a-table/195872 "2010-10-01T21:05:45Z")

</div>

Hello, i have table AuditLog with fields including: audited\_id | audited\_type That results in data like: 108 | Photo 303 | Comment What I want to do is create a link to the item, so for the example above: here is …

---

## [Seeking RoR Development Shop for TOP SECRET project](https://www.ruby-forum.com/t/seeking-ror-development-shop-for-top-secret-project/195853)

<div class="topic-metadata">

**Author:** [@Timothy\_Roberts](https://www.ruby-forum.com/u/Timothy_Roberts)\
**Replies:** 5\
**Last updated:** [October 1, 2010, 6:30pm UTC](https://www.ruby-forum.com/t/seeking-ror-development-shop-for-top-secret-project/195853 "2010-10-01T18:30:37Z")

</div>

We are looking for a team of 15 full-time RoR programmers to start working on a secret project. We are only interested in shops which have the following qualifications: Located within 2 hour plan ride from Saint Lo…

---

## [STI with user and artist? Your thoughts please](https://www.ruby-forum.com/t/sti-with-user-and-artist-your-thoughts-please/195833)

<div class="topic-metadata">

**Author:** [@zurich\_by\_night](https://www.ruby-forum.com/u/zurich_by_night)\
**Replies:** 6\
**Last updated:** [October 1, 2010, 5:59pm UTC](https://www.ruby-forum.com/t/sti-with-user-and-artist-your-thoughts-please/195833 "2010-10-01T17:59:00Z")

</div>

I’ve got user and artist. The app allows users to register. And some of these registered users can sign up as an artist as well. Should user be an STI? Perhaps i can have user as an STI, member (registered users) and …

---

## [Code/application for uploading csv data to multiple tables](https://www.ruby-forum.com/t/code-application-for-uploading-csv-data-to-multiple-tables/195873)

<div class="topic-metadata">

**Author:** [@sultan](https://www.ruby-forum.com/u/sultan)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 5:58pm UTC](https://www.ruby-forum.com/t/code-application-for-uploading-csv-data-to-multiple-tables/195873 "2010-10-01T17:58:25Z")

</div>

data\_uploader is an intuitive user interface for mapping csv incoming data to multiple database tables. The code can easily be extracted and merged into an existing application. Visit www.rubysultan.com for a demo. …

---

## [Redirect\_to doesn't create history](https://www.ruby-forum.com/t/redirect-to-doesnt-create-history/195728)

<div class="topic-metadata">

**Author:** [@jdc](https://www.ruby-forum.com/u/jdc)\
**Replies:** 2\
**Last updated:** [October 1, 2010, 5:52pm UTC](https://www.ruby-forum.com/t/redirect-to-doesnt-create-history/195728 "2010-10-01T17:52:33Z")

</div>

I have a wizard type flow where on each screen clicking the “continue” button posts data to the server, then I use redirect\_to to show the main wizard page (which dynamically shows partials based on the current state)…

---

## [I18n.with\_options bloc executed TWICE](https://www.ruby-forum.com/t/i18n-with-options-bloc-executed-twice/195863)

<div class="topic-metadata">

**Author:** [@bobm](https://www.ruby-forum.com/u/bobm)\
**Replies:** 1\
**Last updated:** [October 1, 2010, 2:27pm UTC](https://www.ruby-forum.com/t/i18n-with-options-bloc-executed-twice/195863 "2010-10-01T14:27:39Z")

</div>

Hi, to avoid putting the whole locale scope on every I18n.t call I’m trying to use a scope, as stated in the doc (Active Support Core Extensions — Ruby on Rails Guides) I tried with \<%= I18n.with\_options :locale =\> :…

---

## [RE : How do i delete mongrel temp file after upload complets](https://www.ruby-forum.com/t/re-how-do-i-delete-mongrel-temp-file-after-upload-complets/195859)

<div class="topic-metadata">

**Author:** [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 1:00pm UTC](https://www.ruby-forum.com/t/re-how-do-i-delete-mongrel-temp-file-after-upload-complets/195859 "2010-10-01T13:00:21Z")

</div>

Hii all, In my rails application am uploading some large file(1 Gb),and when i go windows temp folder ,mongrel temporary files are gathering there,but i would like these files to be deleted after upload completes,eat…

---

## [I18n db backend](https://www.ruby-forum.com/t/i18n-db-backend/195858)

<div class="topic-metadata">

**Author:** [@abeansits](https://www.ruby-forum.com/u/abeansits)\
**Replies:** 1\
**Last updated:** [October 1, 2010, 12:31pm UTC](https://www.ruby-forum.com/t/i18n-db-backend/195858 "2010-10-01T12:31:45Z")

</div>

Hi! I want to use translation in my rails 2.3 project with fallbacks and I want to have some ‘translator panel’ something like tolk. Is this possible to use this two solutions together? I saw that I18n::Backends::Act…

---

## [How to use a class, put it inside a model?](https://www.ruby-forum.com/t/how-to-use-a-class-put-it-inside-a-model/195834)

<div class="topic-metadata">

**Author:** [@Lasse](https://www.ruby-forum.com/u/Lasse)\
**Replies:** 2\
**Last updated:** [October 1, 2010, 11:40am UTC](https://www.ruby-forum.com/t/how-to-use-a-class-put-it-inside-a-model/195834 "2010-10-01T11:40:15Z")

</div>

class Feeds FEEDS = %W( http://feed.kennisnet.nl/Basisonderwijs http://feed.kennisnet.nl/Voortgezetonderwijs http://wp.digischool.nl/nieuws/feed/ ) def load\_feeds @feeds\_ds = feeds.first @feeds = vopo? ? feeds.se…

---

## [Plugins Not Loading](https://www.ruby-forum.com/t/plugins-not-loading/195840)

<div class="topic-metadata">

**Author:** [@RailsPeg](https://www.ruby-forum.com/u/RailsPeg)\
**Replies:** 3\
**Last updated:** [October 1, 2010, 10:20am UTC](https://www.ruby-forum.com/t/plugins-not-loading/195840 "2010-10-01T10:20:39Z")

</div>

Hi. I’m running Rails 3.0 on Mac OS X, and I’m trying to get the acts\_as\_list, other plugins, as well as libraries running. From what I understand, rails should be loading those automatically once placed in the prop…

---

## [How do i delete mongrel temp file](https://www.ruby-forum.com/t/how-do-i-delete-mongrel-temp-file/197237)

<div class="topic-metadata">

**Author:** [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Replies:** 2\
**Last updated:** [October 1, 2010, 7:33am UTC](https://www.ruby-forum.com/t/how-do-i-delete-mongrel-temp-file/197237 "2010-10-01T07:33:57Z")

</div>

Hii all, In my rails application am uploading some large file(1 Gb),and when go windows temp folder ,mongrel temporary files are gathered there,but i want to delete ,its eating disk space … Could anyone tell me how d…

---

## [Completed 406 Not Acceptable](https://www.ruby-forum.com/t/completed-406-not-acceptable/195714)

<div class="topic-metadata">

**Author:** [@jeanluca](https://www.ruby-forum.com/u/jeanluca)\
**Replies:** 11\
**Last updated:** [September 30, 2010, 11:23pm UTC](https://www.ruby-forum.com/t/completed-406-not-acceptable/195714 "2010-09-30T23:23:31Z")

</div>

After migrating my 2.3.9 app to rails 3.0.0 I get this error: Completed 406 Not Acceptable in 513ms I also noted that processing controller doesn’t output the protocol: – Processing by Admin::PhotographersController…

---

## [Advice concerning model hierarchy and associations](https://www.ruby-forum.com/t/advice-concerning-model-hierarchy-and-associations/195456)

<div class="topic-metadata">

**Author:** [@Allison\_K](https://www.ruby-forum.com/u/Allison_K)\
**Replies:** 14\
**Last updated:** [September 30, 2010, 9:29pm UTC](https://www.ruby-forum.com/t/advice-concerning-model-hierarchy-and-associations/195456 "2010-09-30T21:29:58Z")

</div>

Hello, I’m relatively new to Rails… first post here :slight\_smile: Hope I’m not repeating an already asked question though I assume I’m not the first one looking for how to best implement such an association… Anyway,…

---

## [PostgreSQL Conference West Talks are up](https://www.ruby-forum.com/t/postgresql-conference-west-talks-are-up/195826)

<div class="topic-metadata">

**Author:** [@Joshua\_DSDrake](https://www.ruby-forum.com/u/Joshua_DSDrake)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 9:27pm UTC](https://www.ruby-forum.com/t/postgresql-conference-west-talks-are-up/195826 "2010-09-30T21:27:38Z")

</div>

Hello, The talk descriptions for the upcoming PostgreSQL Conference West are up: https://www.postgresqlconference.org/2010/west/talks There is a great talk on managing lots (10,000) ruby apps with PostgreSQL. Josh…

---

## [Is this a good STI approach?](https://www.ruby-forum.com/t/is-this-a-good-sti-approach/195810)

<div class="topic-metadata">

**Author:** [@zurich\_by\_night](https://www.ruby-forum.com/u/zurich_by_night)\
**Replies:** 5\
**Last updated:** [September 30, 2010, 9:12pm UTC](https://www.ruby-forum.com/t/is-this-a-good-sti-approach/195810 "2010-09-30T21:12:46Z")

</div>

Ive got 3 types of media. Event, photo and video. Most of these share common columns (title, description, etc). I am thinking of creating a 4th model called media. And then event, photo and video will inherit from med…

---

## [Commiting doc folder to svn](https://www.ruby-forum.com/t/commiting-doc-folder-to-svn/195787)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 5\
**Last updated:** [September 30, 2010, 9:11pm UTC](https://www.ruby-forum.com/t/commiting-doc-folder-to-svn/195787 "2010-09-30T21:11:02Z")

</div>

Hi I would like to know expert opinion on this. Should I commit folders like doc/app into svn? What is the general strategy Thanks Tom

---

## [Which flavor of Linux should I use for a Rails dev box?](https://www.ruby-forum.com/t/which-flavor-of-linux-should-i-use-for-a-rails-dev-box/195823)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 4\
**Last updated:** [September 30, 2010, 8:37pm UTC](https://www.ruby-forum.com/t/which-flavor-of-linux-should-i-use-for-a-rails-dev-box/195823 "2010-09-30T20:37:17Z")

</div>

Hey everyone, I’m looking to set up a development server for my Rails project and have a shiny new hard drive. Which version of Linux is the best to use? Or does it not really matter? Thanks in advance for any help.

---

## [Upgrade to Rails3 question](https://www.ruby-forum.com/t/upgrade-to-rails3-question/195821)

<div class="topic-metadata">

**Author:** [@arvias](https://www.ruby-forum.com/u/arvias)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 8:03pm UTC](https://www.ruby-forum.com/t/upgrade-to-rails3-question/195821 "2010-09-30T20:03:21Z")

</div>

Hi! After upgrading to Rails3 and the latest plugins, two of the plugins: delayed\_job and oauth\_plugin don’t work. They display a similar problem, I am not able to use methods they provide. In delayed\_job’s case I ca…

---

## [Ayuda con attachment\_fu](https://www.ruby-forum.com/t/ayuda-con-attachment-fu/195672)

<div class="topic-metadata">

**Author:** [@isccha](https://www.ruby-forum.com/u/isccha)\
**Replies:** 11\
**Last updated:** [September 30, 2010, 7:47pm UTC](https://www.ruby-forum.com/t/ayuda-con-attachment-fu/195672 "2010-09-30T19:47:48Z")

</div>

Con que pagina puedo instalar el plugin de attachment\_fu? como lo hago manualmente? Gracias

---

## [Multi-Talented Web Programmer](https://www.ruby-forum.com/t/multi-talented-web-programmer/195818)

<div class="topic-metadata">

**Author:** [@Elisa\_Miller-Out](https://www.ruby-forum.com/u/Elisa_Miller-Out)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 6:18pm UTC](https://www.ruby-forum.com/t/multi-talented-web-programmer/195818 "2010-09-30T18:18:35Z")

</div>

\[JOBS\] We’re looking for another web programming wizard to join our awesome team. We do a lot of Rails projects. Please send great candidates our way! Singlebrook - App developers

---

## [Rails3: ajax responds with js template text!](https://www.ruby-forum.com/t/rails3-ajax-responds-with-js-template-text/195799)

<div class="topic-metadata">

**Author:** [@desertpenguin85](https://www.ruby-forum.com/u/desertpenguin85)\
**Replies:** 6\
**Last updated:** [September 30, 2010, 5:39pm UTC](https://www.ruby-forum.com/t/rails3-ajax-responds-with-js-template-text/195799 "2010-09-30T17:39:30Z")

</div>

hey guys, I am having an issue with AJAX on rails 3. I don’t know if it’s a bug or something but definitely weird. Basically i have {model,controller,view} that work perfectly over http. I have an index action in my …

---

## [Gems installing in vendor/ruby when doing bundle update](https://www.ruby-forum.com/t/gems-installing-in-vendor-ruby-when-doing-bundle-update/195816)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 5:22pm UTC](https://www.ruby-forum.com/t/gems-installing-in-vendor-ruby-when-doing-bundle-update/195816 "2010-09-30T17:22:24Z")

</div>

Is it normal to have the following directory structure under “vendor” in Rails 3? /ruby/1.8/bin /ruby/1.8/cache /ruby/1.8/doc /ruby/1.8 /gems /ruby/1.8/specifications I removed the directory and did a bundle updat…

---

## [Using Meta Data in a database field in a View](https://www.ruby-forum.com/t/using-meta-data-in-a-database-field-in-a-view/195784)

<div class="topic-metadata">

**Author:** [@nobosh](https://www.ruby-forum.com/u/nobosh)\
**Replies:** 2\
**Last updated:** [September 30, 2010, 5:15pm UTC](https://www.ruby-forum.com/t/using-meta-data-in-a-database-field-in-a-view/195784 "2010-09-30T17:15:55Z")

</div>

Hello… Given a database with records like the following Table: AuditLog Fields: ID | USERID | TYPE | TIME | DATA id:1, userId:1, type:PHOTO, time:2008-10-15 12:00:00, data: {photo\_id:2089, photoname:“A trip to the b…

---

## [Word Track Changes](https://www.ruby-forum.com/t/word-track-changes/195813)

<div class="topic-metadata">

**Author:** [@sclarke](https://www.ruby-forum.com/u/sclarke)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 4:48pm UTC](https://www.ruby-forum.com/t/word-track-changes/195813 "2010-09-30T16:48:50Z")

</div>

Hey all, Is anyone aware of a library to identify the use of track changes in Microsoft Word documents? Many thanks

---

## [Help required](https://www.ruby-forum.com/t/help-required/195802)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 1\
**Last updated:** [September 30, 2010, 4:25pm UTC](https://www.ruby-forum.com/t/help-required/195802 "2010-09-30T16:25:47Z")

</div>

Dear all Actually I would like to know how to send the picture name in the xml response fox example picture = Picture.find(params\[:id\]) Here i need to send the picture.id in the xml response… Please tell me that how…

---

## [Fresh\_when/stale? usage](https://www.ruby-forum.com/t/fresh-when-stale-usage/195195)

<div class="topic-metadata">

**Author:** [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Replies:** 2\
**Last updated:** [September 30, 2010, 2:24pm UTC](https://www.ruby-forum.com/t/fresh-when-stale-usage/195195 "2010-09-30T14:24:58Z")

</div>

In my post\_index action, I generate different kinds of “@posts” like… def index case params\[:listing\_type\] when “all” @posts = get\_all\_post\_from\_memcached when “most\_popular” @posts = get\_all\_most\_popular\_from\_memc…

---

## [Rails 3 engines testing](https://www.ruby-forum.com/t/rails-3-engines-testing/195801)

<div class="topic-metadata">

**Author:** [@roa](https://www.ruby-forum.com/u/roa)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 11:35am UTC](https://www.ruby-forum.com/t/rails-3-engines-testing/195801 "2010-09-30T11:35:54Z")

</div>

Hi all, I was wondering how you can test Rails 3 engines. Looks like the rake test task is not available by default. So I added the following in my rake task require ‘rake/testtask’ Rake::TestTask.new do |test| tes…

---

## [Problem with multithreading on Ruby On Rail](https://www.ruby-forum.com/t/problem-with-multithreading-on-ruby-on-rail/195795)

<div class="topic-metadata">

**Author:** [@yann](https://www.ruby-forum.com/u/yann)\
**Replies:** 4\
**Last updated:** [September 30, 2010, 11:35am UTC](https://www.ruby-forum.com/t/problem-with-multithreading-on-ruby-on-rail/195795 "2010-09-30T11:35:47Z")

</div>

Hi, first of all, sorry for my english. to start, here my config : Server linux : ubuntu 8.4 Rails : 2.3.4 Ruby : 1.8.7 (2010-06-23 patchlevel 299) \[x86\_64-linux\] I wanted to test the charge capacity of my server, …

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

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