# Rails

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

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

---

## [Web development testing survey](https://www.ruby-forum.com/t/web-development-testing-survey/176090)

<div class="topic-metadata">

**Author:** [@Drogomir](https://www.ruby-forum.com/u/Drogomir)\
**Replies:** 0\
**Last updated:** [September 24, 2009, 5:28pm UTC](https://www.ruby-forum.com/t/web-development-testing-survey/176090 "2009-09-24T17:28:59Z")

</div>

Hi, I would like to know what is the situation of automated testing in web development. I’ve created a survey and I would like you to help me and fill it in. It’s focused on testing, but if you don’t test, your voice…

---

## [Migrating from rails 2.1.0 to rails 2.3.3](https://www.ruby-forum.com/t/migrating-from-rails-2-1-0-to-rails-2-3-3/176087)

<div class="topic-metadata">

**Author:** [@san2821](https://www.ruby-forum.com/u/san2821)\
**Replies:** 1\
**Last updated:** [September 24, 2009, 5:20pm UTC](https://www.ruby-forum.com/t/migrating-from-rails-2-1-0-to-rails-2-3-3/176087 "2009-09-24T17:20:12Z")

</div>

Hi All, I wanted to migrate project from rails 2.1.0 to rails 2.3.3 so, i changed version in environment file but it shows me memcached-client error. http://funonrails.wordpress.com/2009/09/24/migrating-project-from…

---

## [Rails 2.3.4 and Erubis 2.6.5, Speedup?](https://www.ruby-forum.com/t/rails-2-3-4-and-erubis-2-6-5-speedup/176089)

<div class="topic-metadata">

**Author:** [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Replies:** 0\
**Last updated:** [September 24, 2009, 4:43pm UTC](https://www.ruby-forum.com/t/rails-2-3-4-and-erubis-2-6-5-speedup/176089 "2009-09-24T16:43:18Z")

</div>

I am running Rails 2.3.4 with Phusion (AKA mod\_rails) and Apache2 and need some significant speedup in rendering. E.g. a common operation takes several seconds (View: 2973, DB: 74). Googling turned up several posts…

---

## [Sphinx Chinese failed](https://www.ruby-forum.com/t/sphinx-chinese-failed/176086)

<div class="topic-metadata">

**Author:** [@artchrst](https://www.ruby-forum.com/u/artchrst)\
**Replies:** 0\
**Last updated:** [September 24, 2009, 3:58pm UTC](https://www.ruby-forum.com/t/sphinx-chinese-failed/176086 "2009-09-24T15:58:28Z")

</div>

I tried to use ultrasphinx and sphinx to search my content. It works. However, when I changed the configure (/config/ultrasphinz/development.base) to chinese charset, it has the following errors when i run the “rake …

---

## [Changing the path for map.resources](https://www.ruby-forum.com/t/changing-the-path-for-map-resources/175610)

<div class="topic-metadata">

**Author:** [@steve\_bell](https://www.ruby-forum.com/u/steve_bell)\
**Replies:** 4\
**Last updated:** [September 24, 2009, 3:46pm UTC](https://www.ruby-forum.com/t/changing-the-path-for-map-resources/175610 "2009-09-24T15:46:31Z")

</div>

Hi there, just starting to get my head around routes but have a problem that I can’t google my way out of. I have a restful resource that’s mapped as: map.resources :terms which gives me localhost/terms, however I w…

---

## [Prototype link\_to\_function](https://www.ruby-forum.com/t/prototype-link-to-function/176082)

<div class="topic-metadata">

**Author:** [@vladk](https://www.ruby-forum.com/u/vladk)\
**Replies:** 0\
**Last updated:** [September 24, 2009, 3:07pm UTC](https://www.ruby-forum.com/t/prototype-link-to-function/176082 "2009-09-24T15:07:32Z")

</div>

hi everybody! i\`m trying to apply this function(prototype): \<%= link\_to\_function “reply”, “$(‘main-comment-form’) .hide() .appendTo(‘comment-#{comment.id} .form-placeholder’) //problem is here probably .fadeToggle(6…

---

## [Stripe Rails Comments?](https://www.ruby-forum.com/t/stripe-rails-comments/176062)

<div class="topic-metadata">

**Author:** [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Replies:** 1\
**Last updated:** [September 24, 2009, 2:52pm UTC](https://www.ruby-forum.com/t/stripe-rails-comments/176062 "2009-09-24T14:52:04Z")

</div>

how to stripe rails comments ? I have searched google, but i could not get proper module. Please anyone help me how to do this ? Regards S.Vellingiri.

---

## [ActiveRecord::StatementInvalid (invalid date) with Oracle](https://www.ruby-forum.com/t/activerecord-statementinvalid-invalid-date-with-oracle/175488)

<div class="topic-metadata">

**Author:** [@rheenen](https://www.ruby-forum.com/u/rheenen)\
**Replies:** 9\
**Last updated:** [September 24, 2009, 2:31pm UTC](https://www.ruby-forum.com/t/activerecord-statementinvalid-invalid-date-with-oracle/175488 "2009-09-24T14:31:34Z")

</div>

Hello all. I am a novice Ruby on Rails programmer, starting my first project using a legacy Oracle 10 database. Using ‘reverse\_scaffold’ I have created the models/controllers/views for my existing Oracle tables. All …

---

## [Ordered Sets in Ruby](https://www.ruby-forum.com/t/ordered-sets-in-ruby/175794)

<div class="topic-metadata">

**Author:** [@Fidel\_V](https://www.ruby-forum.com/u/Fidel_V)\
**Replies:** 10\
**Last updated:** [September 24, 2009, 2:28pm UTC](https://www.ruby-forum.com/t/ordered-sets-in-ruby/175794 "2009-09-24T14:28:54Z")

</div>

Hi all, I am implementing a simple invoice system where I have invoiceLines, and where I want to keep the order of the lines. I have tried to google around but have not found any sample on this. Can someone give me a…

---

## [Unable to do a count on named\_scope](https://www.ruby-forum.com/t/unable-to-do-a-count-on-named-scope/176053)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 1\
**Last updated:** [September 24, 2009, 1:50pm UTC](https://www.ruby-forum.com/t/unable-to-do-a-count-on-named-scope/176053 "2009-09-24T13:50:10Z")

</div>

Hi all, I’m not sure if this is a bug, but I’m having some problem doing a count, on a named\_scope. class Claim \< ActiveRecord::Base has\_many :items belongs\_to :event before\_save :add\_pv accepts\_nested\_attributes…

---

## [Routes requirements exclude one character](https://www.ruby-forum.com/t/routes-requirements-exclude-one-character/175979)

<div class="topic-metadata">

**Author:** [@harm](https://www.ruby-forum.com/u/harm)\
**Replies:** 3\
**Last updated:** [September 24, 2009, 11:03am UTC](https://www.ruby-forum.com/t/routes-requirements-exclude-one-character/175979 "2009-09-24T11:03:08Z")

</div>

Hi! Consider the following route: map.detail “subscription\_plans/:provider/:plan”, :action =\> “detail”, :requirements =\> {:plan =\> /\[^ \]+/} I want this route to match any string without a space character. So “Telfor…

---

## [Is ActiveResource the way to go?](https://www.ruby-forum.com/t/is-activeresource-the-way-to-go/176066)

<div class="topic-metadata">

**Author:** [@makire](https://www.ruby-forum.com/u/makire)\
**Replies:** 0\
**Last updated:** [September 24, 2009, 9:53am UTC](https://www.ruby-forum.com/t/is-activeresource-the-way-to-go/176066 "2009-09-24T09:53:28Z")

</div>

Hi I am building a platform where I need to communicate between Rails instances (as well as Java applications) and I am thinking about using ActiveResource. However I run into some problems with “Not all elements res…

---

## [Connect a field with an error](https://www.ruby-forum.com/t/connect-a-field-with-an-error/176068)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 0\
**Last updated:** [September 24, 2009, 9:50am UTC](https://www.ruby-forum.com/t/connect-a-field-with-an-error/176068 "2009-09-24T09:50:29Z")

</div>

Hi, i have this in a my form for registration user \<% fields\_for “user\[location\_attributes\]”, @user.location do |location\_form| %\> \<%= location\_form.text\_field :full\_address %\> \<% end %\> the location is required. a…

---

## [Listing all the models(tables) used in a controller](https://www.ruby-forum.com/t/listing-all-the-models-tables-used-in-a-controller/176063)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [September 24, 2009, 9:19am UTC](https://www.ruby-forum.com/t/listing-all-the-models-tables-used-in-a-controller/176063 "2009-09-24T09:19:31Z")

</div>

Hi Folks, When ever action is performed in from the browser, i want to list the number of tables that are getting affected due to that action along with or without the table level constraints. Any information on this…

---

## [Call for speakers - ConFoo MontrÃ©al Ruby Tra ck](https://www.ruby-forum.com/t/call-for-speakers-confoo-montra-al-ruby-tra-ck/176064)

<div class="topic-metadata">

**Author:** [@Sylvain\_Carle](https://www.ruby-forum.com/u/Sylvain_Carle)\
**Replies:** 0\
**Last updated:** [September 24, 2009, 9:19am UTC](https://www.ruby-forum.com/t/call-for-speakers-confoo-montra-al-ruby-tra-ck/176064 "2009-09-24T09:19:30Z")

</div>

Confoo.ca is launching its call for speakers for the 2010 conference. With more than 500 attendees, Confoo.ca is one of the largest Web development conference in North America. This used to be the PHP conference but t…

---

## [How to generate password automatically using authlogic](https://www.ruby-forum.com/t/how-to-generate-password-automatically-using-authlogic/175980)

<div class="topic-metadata">

**Author:** [@thriving](https://www.ruby-forum.com/u/thriving)\
**Replies:** 1\
**Last updated:** [September 24, 2009, 4:32am UTC](https://www.ruby-forum.com/t/how-to-generate-password-automatically-using-authlogic/175980 "2009-09-24T04:32:14Z")

</div>

I have problem , i want to generate password automatically where can i manipulate :password and :confirm\_password in action create def create @user = User.new(params\[:user\]) if @user.save flash\[:notice\] = “Registrat…

---

## [Text\_field\_with\_auto\_complete passing parameters](https://www.ruby-forum.com/t/text-field-with-auto-complete-passing-parameters/176013)

<div class="topic-metadata">

**Author:** [@pimeamark](https://www.ruby-forum.com/u/pimeamark)\
**Replies:** 1\
**Last updated:** [September 24, 2009, 1:11am UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-passing-parameters/176013 "2009-09-24T01:11:40Z")

</div>

Hi, I’ve run into a problem with text\_field\_with\_auto\_complete because I can’t figure out how to just pass a parameter into the method. For example, here’s what i want to try and do: \<%= text\_field\_with\_auto\_complete …

---

## [\[ANN\] Call for papers for the Spanish Rails Conference 2009](https://www.ruby-forum.com/t/ann-call-for-papers-for-the-spanish-rails-conference-2009/176046)

<div class="topic-metadata">

**Author:** [@javier\_ramirez](https://www.ruby-forum.com/u/javier_ramirez)\
**Replies:** 0\
**Last updated:** [September 24, 2009, 12:47am UTC](https://www.ruby-forum.com/t/ann-call-for-papers-for-the-spanish-rails-conference-2009/176046 "2009-09-24T00:47:54Z")

</div>

Hi, For the fourth year in a row, we are pleased to announce this year’s edition of the Spanish Rails Conference \[1\], to be held in Madrid, Spain, on November 26th and 27th. Call for papers finishes by September 29th…

---

## [Find the gems and plugins used in Rails Application](https://www.ruby-forum.com/t/find-the-gems-and-plugins-used-in-rails-application/175734)

<div class="topic-metadata">

**Author:** [@little\_kostas](https://www.ruby-forum.com/u/little_kostas)\
**Replies:** 6\
**Last updated:** [September 24, 2009, 12:22am UTC](https://www.ruby-forum.com/t/find-the-gems-and-plugins-used-in-rails-application/175734 "2009-09-24T00:22:09Z")

</div>

Hi all!! I want to copy my Rails Application to another computer. How can i make all the gems and plug-ins used in my computer available to the other computer without having to install each one seperatly again??? Is …

---

## [FFMPEG Query](https://www.ruby-forum.com/t/ffmpeg-query/175976)

<div class="topic-metadata">

**Author:** [@salil](https://www.ruby-forum.com/u/salil)\
**Replies:** 1\
**Last updated:** [September 23, 2009, 11:55pm UTC](https://www.ruby-forum.com/t/ffmpeg-query/175976 "2009-09-23T23:55:14Z")

</div>

Hi All, I want to convert a video file which is located at the Amazon-S3 Store, through ffmpeg. How can it b possible? please help me if anyone have any idea. for ex:- is it possible to execute following command:- s…

---

## [Running App in Production Env](https://www.ruby-forum.com/t/running-app-in-production-env/176030)

<div class="topic-metadata">

**Author:** [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Replies:** 10\
**Last updated:** [September 23, 2009, 11:03pm UTC](https://www.ruby-forum.com/t/running-app-in-production-env/176030 "2009-09-23T23:03:18Z")

</div>

Hi everyone, yesterday I switched the environment on my production server from dev to prod via changing the vhost file for the Apache. I changed RailsEnv development to RailsEnv production and deployed the applica…

---

## [Problem with ActionMailer/SMTP](https://www.ruby-forum.com/t/problem-with-actionmailer-smtp/176035)

<div class="topic-metadata">

**Author:** [@PaSSS\_lo\_Geyer](https://www.ruby-forum.com/u/PaSSS_lo_Geyer)\
**Replies:** 0\
**Last updated:** [September 23, 2009, 10:03pm UTC](https://www.ruby-forum.com/t/problem-with-actionmailer-smtp/176035 "2009-09-23T22:03:25Z")

</div>

hi, i’m trying to make the user account confirmation work in my site, but i couldn’t fix this error, Processing UsersController#create (for 189.85.180.50 at 2009-09-23 16:44:30) \[POST\] Parameters: {“commit”=\>“Criar n…

---

## [Moving to another database system](https://www.ruby-forum.com/t/moving-to-another-database-system/176029)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 4\
**Last updated:** [September 23, 2009, 8:33pm UTC](https://www.ruby-forum.com/t/moving-to-another-database-system/176029 "2009-09-23T20:33:50Z")

</div>

So, I developed what I considered a mini application for my department back in June. I used SQLite3. The file is still very small - about 2.5 megs - but I’d like to move to something else which supports multiple simul…

---

## [Rake Tasks](https://www.ruby-forum.com/t/rake-tasks/169683)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 6\
**Last updated:** [September 23, 2009, 8:29pm UTC](https://www.ruby-forum.com/t/rake-tasks/169683 "2009-09-23T20:29:43Z")

</div>

Hi Everyone, I just need some further help clarifying a custom rake task I’m building and the logistics of how it should be working. I’ve created a custom rake task in libs/tasks called scraper.rake which so far just…

---

## [Authlogic administration](https://www.ruby-forum.com/t/authlogic-administration/176014)

<div class="topic-metadata">

**Author:** [@thebarge](https://www.ruby-forum.com/u/thebarge)\
**Replies:** 1\
**Last updated:** [September 23, 2009, 8:03pm UTC](https://www.ruby-forum.com/t/authlogic-administration/176014 "2009-09-23T20:03:53Z")

</div>

Whats the best way to use administration with authlogic? I have a single admin role and a limited users role. The admin section is namespaced. Is using a plugin like lockdown or declarative\_authorization a good idea …

---

## [Link\_to\_function and link\_to\_remote](https://www.ruby-forum.com/t/link-to-function-and-link-to-remote/176022)

<div class="topic-metadata">

**Author:** [@vladk](https://www.ruby-forum.com/u/vladk)\
**Replies:** 1\
**Last updated:** [September 23, 2009, 7:53pm UTC](https://www.ruby-forum.com/t/link-to-function-and-link-to-remote/176022 "2009-09-23T19:53:25Z")

</div>

Hi guys. I\`m having this kind of problem: i have the comments tree, there\`s this link\_to\_function under each one: link\_to\_function “Reply”, “$(‘comment\_parent\_id’).setValue(#{comment.id});” as you see it simply passe…

---

## [RedCloth Changing Features](https://www.ruby-forum.com/t/redcloth-changing-features/175945)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 3\
**Last updated:** [September 23, 2009, 7:45pm UTC](https://www.ruby-forum.com/t/redcloth-changing-features/175945 "2009-09-23T19:45:49Z")

</div>

Hi, I basically run a very simple RoR app which works using RedCloth’s textilizing system. I would just like to know if there is a way to edit for example the e.g making things emphisised ect. I want to basically rem…

---

## [Dreamhost launch issues. What gems are used in my rails app?](https://www.ruby-forum.com/t/dreamhost-launch-issues-what-gems-are-used-in-my-rails-app/176005)

<div class="topic-metadata">

**Author:** [@bagadoughnuts](https://www.ruby-forum.com/u/bagadoughnuts)\
**Replies:** 6\
**Last updated:** [September 23, 2009, 7:22pm UTC](https://www.ruby-forum.com/t/dreamhost-launch-issues-what-gems-are-used-in-my-rails-app/176005 "2009-09-23T19:22:50Z")

</div>

Hi guys, I made a quick app for a family member to be deployed on Dreamhost (low budget). It’s my first time deploying on DH so I’m not familiar with the restrictions. I’m having an issue where I’ve been able to get …

---

## [Mysql](https://www.ruby-forum.com/t/mysql/175946)

<div class="topic-metadata">

**Author:** [@agnathan](https://www.ruby-forum.com/u/agnathan)\
**Replies:** 3\
**Last updated:** [September 23, 2009, 7:16pm UTC](https://www.ruby-forum.com/t/mysql/175946 "2009-09-23T19:16:52Z")

</div>

hi im on ubuntu 8.0r lts, installed rails 2.3.4 ruby gem 1.3.5 mysql 5.0 when i rails myapp =\>creates an sqllite3 environment and works good when i rails myapp -d mysql have an error when run db:create Couldn’t crea…

---

## [How to use remote\_form\_tag?](https://www.ruby-forum.com/t/how-to-use-remote-form-tag/176003)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 3\
**Last updated:** [September 23, 2009, 6:30pm UTC](https://www.ruby-forum.com/t/how-to-use-remote-form-tag/176003 "2009-09-23T18:30:44Z")

</div>

I have a partial that gets rendered in response to a #link\_to\_remote call. What I want to do is to display a select box, when the user selects an item from that box, display a second select box, when the user selects…

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

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