# Rails

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

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

---

## [FlowPlayerLP not playing video](https://www.ruby-forum.com/t/flowplayerlp-not-playing-video/152279)

<div class="topic-metadata">

**Author:** [@mrbless](https://www.ruby-forum.com/u/mrbless)\
**Replies:** 0\
**Last updated:** [November 1, 2008, 6:24am UTC](https://www.ruby-forum.com/t/flowplayerlp-not-playing-video/152279 "2008-11-01T06:24:52Z")

</div>

I know this is not the right place to raise this question. But I am left with no option because I have done googling but could not found the solution that resolve my problem. When i use flowplayerlight or flowplayerda…

---

## [Express my idea](https://www.ruby-forum.com/t/express-my-idea/152278)

<div class="topic-metadata">

**Author:** [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Replies:** 0\
**Last updated:** [November 1, 2008, 6:14am UTC](https://www.ruby-forum.com/t/express-my-idea/152278 "2008-11-01T06:14:56Z")

</div>

this is a marvelous forum which i ever had,i like this very muchthanx for all of you

---

## [Get data from a table](https://www.ruby-forum.com/t/get-data-from-a-table/152271)

<div class="topic-metadata">

**Author:** [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Replies:** 1\
**Last updated:** [November 1, 2008, 6:12am UTC](https://www.ruby-forum.com/t/get-data-from-a-table/152271 "2008-11-01T06:12:01Z")

</div>

can anyone tell me,how can retrieve data from a specific modelwhen i pass an id. as an example there’s table called agent\_detail,it includes id, name, address so i wanna get name and address from that table which w…

---

## [Retrieving a data according to a given name](https://www.ruby-forum.com/t/retrieving-a-data-according-to-a-given-name/152274)

<div class="topic-metadata">

**Author:** [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Replies:** 5\
**Last updated:** [November 1, 2008, 6:05am UTC](https://www.ruby-forum.com/t/retrieving-a-data-according-to-a-given-name/152274 "2008-11-01T06:05:34Z")

</div>

i have a table called reply which has id, name, addressi wanna retrieve address when a given name, so can anyone tell how can i do it. i can retrieve data using modelname.find(anyid),but i can’t do it for any name

---

## [Upload a image code?](https://www.ruby-forum.com/t/upload-a-image-code/196832)

<div class="topic-metadata">

**Author:** [@xxmithila](https://www.ruby-forum.com/u/xxmithila)\
**Replies:** 0\
**Last updated:** [November 1, 2008, 4:15am UTC](https://www.ruby-forum.com/t/upload-a-image-code/196832 "2008-11-01T04:15:41Z")

</div>

pls tellme way to upload a file to data base or relevant example code without using any plugin like act\_as\_attachment xxmithila

---

## [Retrive data from table](https://www.ruby-forum.com/t/retrive-data-from-table/152188)

<div class="topic-metadata">

**Author:** [@xxmithila](https://www.ruby-forum.com/u/xxmithila)\
**Replies:** 4\
**Last updated:** [November 1, 2008, 2:07am UTC](https://www.ruby-forum.com/t/retrive-data-from-table/152188 "2008-11-01T02:07:03Z")

</div>

hi… how can I retrive data from a specific row of table by giving two or more properties of that row? examlpe I want to get data which ID = 23 and NAME = “xx” like thankx

---

## [Looking for a somewhat old quote](https://www.ruby-forum.com/t/looking-for-a-somewhat-old-quote/152259)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 2\
**Last updated:** [November 1, 2008, 1:03am UTC](https://www.ruby-forum.com/t/looking-for-a-somewhat-old-quote/152259 "2008-11-01T01:03:21Z")

</div>

In the early Rails days a few renowed people rewrote a Java webapp in Rails, and they did it in a fraction of the time and with less lines of code than lines of XML config files. That was about four years ago or somet…

---

## [Running commands like ar\_send mail from a HTTP request](https://www.ruby-forum.com/t/running-commands-like-ar-send-mail-from-a-http-request/152262)

<div class="topic-metadata">

**Author:** [@eriwright](https://www.ruby-forum.com/u/eriwright)\
**Replies:** 0\
**Last updated:** [November 1, 2008, 12:12am UTC](https://www.ruby-forum.com/t/running-commands-like-ar-send-mail-from-a-http-request/152262 "2008-11-01T00:12:29Z")

</div>

Hi I am new to rails so I apologize if this question seems silly. I have set up ar\_mailer in my app and its working great. the problem is I will be running my app on a shared hosting plan where I don’t have access …

---

## [Loading fixtures and counter\_cache](https://www.ruby-forum.com/t/loading-fixtures-and-counter-cache/152263)

<div class="topic-metadata">

**Author:** [@Omid\_A](https://www.ruby-forum.com/u/Omid_A)\
**Replies:** 0\
**Last updated:** [November 1, 2008, 12:12am UTC](https://www.ruby-forum.com/t/loading-fixtures-and-counter-cache/152263 "2008-11-01T00:12:29Z")

</div>

Hi everyone, Does anybody know who is responsible for updating \*\_count columns (via :counter\_cache) when creating the db and loading fixtures? In my case, the \*\_count elements remain zero! Thanks, Omid

---

## [Odd IRB behavior w/ InstantRails](https://www.ruby-forum.com/t/odd-irb-behavior-w-instantrails/152260)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 11:14pm UTC](https://www.ruby-forum.com/t/odd-irb-behavior-w-instantrails/152260 "2008-10-31T23:14:29Z")

</div>

Hey guys, I was trying to play around with Win32::Service using Win32Utils (http://win32utils.rubyforge.org/). I got it to work on my local machine (Ruby 1.8.6 without rails, Windows XP), however, I wanted to run the …

---

## [Filtering records using a \<select\> control](https://www.ruby-forum.com/t/filtering-records-using-a-select-control/152206)

<div class="topic-metadata">

**Author:** [@jhernandez](https://www.ruby-forum.com/u/jhernandez)\
**Replies:** 1\
**Last updated:** [October 31, 2008, 10:43pm UTC](https://www.ruby-forum.com/t/filtering-records-using-a-select-control/152206 "2008-10-31T22:43:32Z")

</div>

I have recently been working on a simple list action and view that will allow a user to filter the objects that are selected by changing a category value in a control. In this case, the resources being listed are res…

---

## [Formatting of Date on Remote-Server](https://www.ruby-forum.com/t/formatting-of-date-on-remote-server/152251)

<div class="topic-metadata">

**Author:** [@panatura](https://www.ruby-forum.com/u/panatura)\
**Replies:** 3\
**Last updated:** [October 31, 2008, 8:42pm UTC](https://www.ruby-forum.com/t/formatting-of-date-on-remote-server/152251 "2008-10-31T20:42:10Z")

</div>

Hi there, let’s first introduce myself as a new member :wink: My Name is Mario. I’m from Germany and producing the site www.panatura.de. As I just released the site these days I found an error in different date forma…

---

## [Form.text\_area, how do you empty its contents?](https://www.ruby-forum.com/t/form-text-area-how-do-you-empty-its-contents/152239)

<div class="topic-metadata">

**Author:** [@tyanlion](https://www.ruby-forum.com/u/tyanlion)\
**Replies:** 5\
**Last updated:** [October 31, 2008, 8:25pm UTC](https://www.ruby-forum.com/t/form-text-area-how-do-you-empty-its-contents/152239 "2008-10-31T20:25:12Z")

</div>

Hi, after i click submit and refresh the parital(with page.replace\_html) with the remote\_form\_for, the \<%= form.text\_area :body, :rows =\> 10, :cols =\> 40 %\> still contains the previous text. how do i totally remove th…

---

## [Rails 2.1: invalid date automatically convertion](https://www.ruby-forum.com/t/rails-2-1-invalid-date-automatically-convertion/140384)

<div class="topic-metadata">

**Author:** [@makoto\_kuwata](https://www.ruby-forum.com/u/makoto_kuwata)\
**Replies:** 2\
**Last updated:** [October 31, 2008, 6:48pm UTC](https://www.ruby-forum.com/t/rails-2-1-invalid-date-automatically-convertion/140384 "2008-10-31T18:48:41Z")

</div>

Hi all, Rails 2.1 seems to converts the following parameters {‘birth(1i)’=‘1990’, ‘birth(2i)’=\>‘2’, ‘birth(3i)’=\>‘31’} into date ‘1990-03-02’ automatically. Is it able to inhibit this convertion? – makoto kuata

---

## [Resetting the template or class cache in Rails 2.2.0](https://www.ruby-forum.com/t/resetting-the-template-or-class-cache-in-rails-2-2-0/152221)

<div class="topic-metadata">

**Author:** [@mlangenberg](https://www.ruby-forum.com/u/mlangenberg)\
**Replies:** 7\
**Last updated:** [October 31, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/resetting-the-template-or-class-cache-in-rails-2-2-0/152221 "2008-10-31T18:41:27Z")

</div>

While testing the Rails 2.2.0 release I soon knew I had a problem: I’m relying on the fact that an ERB template is recompiled if the modification time of the file has been updated. I work on a multisite Rails app, whi…

---

## [Please help me! Error generate scaffold](https://www.ruby-forum.com/t/please-help-me-error-generate-scaffold/127883)

<div class="topic-metadata">

**Author:** [@sumo](https://www.ruby-forum.com/u/sumo)\
**Replies:** 5\
**Last updated:** [October 31, 2008, 5:52pm UTC](https://www.ruby-forum.com/t/please-help-me-error-generate-scaffold/127883 "2008-10-31T17:52:45Z")

</div>

I’m learning about Ruby on Rails. Please help me. Althougth I do step-by-step with books(config data, generate model, add data field in db/migrate/file.rb) but i can’t generate with scaffold or error. When run comman…

---

## [Books for Beginners](https://www.ruby-forum.com/t/books-for-beginners/76568)

<div class="topic-metadata">

**Author:** [@joviyach](https://www.ruby-forum.com/u/joviyach)\
**Replies:** 5\
**Last updated:** [October 31, 2008, 5:50pm UTC](https://www.ruby-forum.com/t/books-for-beginners/76568 "2008-10-31T17:50:59Z")

</div>

I have experience in PHP/MySQL, but absolutely no experience at all in Ruby (and Rails) and would love to get a few quality books aimed at absolutley newbies. Any suggestions? Thanks, Jim

---

## [Beginners question regarding scaffold setup](https://www.ruby-forum.com/t/beginners-question-regarding-scaffold-setup/130741)

<div class="topic-metadata">

**Author:** [@drsharp](https://www.ruby-forum.com/u/drsharp)\
**Replies:** 4\
**Last updated:** [October 31, 2008, 5:48pm UTC](https://www.ruby-forum.com/t/beginners-question-regarding-scaffold-setup/130741 "2008-10-31T17:48:01Z")

</div>

Hi, I’m trying to build my first rails app but I’m a little confused. From reading various bits of documentation, I was led to believe that the url the user types would mirror the controller/action setup. For example…

---

## [Abysmal Rails and Ruby 1.8.6\_p287 performance on x86\_64 Linux](https://www.ruby-forum.com/t/abysmal-rails-and-ruby-1-8-6-p287-performance-on-x86-64-linux/152236)

<div class="topic-metadata">

**Author:** [@Lionel\_B](https://www.ruby-forum.com/u/Lionel_B)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 4:56pm UTC](https://www.ruby-forum.com/t/abysmal-rails-and-ruby-1-8-6-p287-performance-on-x86-64-linux/152236 "2008-10-31T16:56:20Z")

</div>

Hi, I’m wondering if it’s a known problem but recently I had to revert a production server from 1.8.6\_p287 to 1.8.6\_p114 because the performance was abysmal. ./script/runner took nearly 40s to load the Rails environm…

---

## [Version\_fu and text fields](https://www.ruby-forum.com/t/version-fu-and-text-fields/152233)

<div class="topic-metadata">

**Author:** [@tansaku](https://www.ruby-forum.com/u/tansaku)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 4:45pm UTC](https://www.ruby-forum.com/t/version-fu-and-text-fields/152233 "2008-10-31T16:45:46Z")

</div>

I’m having trouble with version\_fu and text fields. I’m posting to the version\_fu wiki: but here as well in case anyone can help - or can later benefit from the cross-linking if we solve the problem: Issue 2: wron…

---

## [Link\_to submit form value 2](https://www.ruby-forum.com/t/link-to-submit-form-value-2/152211)

<div class="topic-metadata">

**Author:** [@qwerty73](https://www.ruby-forum.com/u/qwerty73)\
**Replies:** 6\
**Last updated:** [October 31, 2008, 4:19pm UTC](https://www.ruby-forum.com/t/link-to-submit-form-value-2/152211 "2008-10-31T16:19:48Z")

</div>

Hi to all, I’d like to pass with a link to values inside some form. I’ve read in other posts that it’s possible if i include the forms inside a html ... So here it's my code of the view : Titolo di studio …

---

## [Production and development mode](https://www.ruby-forum.com/t/production-and-development-mode/152215)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 4\
**Last updated:** [October 31, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/production-and-development-mode/152215 "2008-10-31T16:15:52Z")

</div>

Hi I would like to know the basic difference in running an application in development mode and production mode like ./script/server and ./script/server RAILS\_ENV=production Thanks in advance Sijo

---

## [2 apps with 1 one database](https://www.ruby-forum.com/t/2-apps-with-1-one-database/152177)

<div class="topic-metadata">

**Author:** [@jef](https://www.ruby-forum.com/u/jef)\
**Replies:** 7\
**Last updated:** [October 31, 2008, 3:59pm UTC](https://www.ruby-forum.com/t/2-apps-with-1-one-database/152177 "2008-10-31T15:59:26Z")

</div>

Hi; I am developping a web app and I’ve wrote some admin code (parsing web site, sending massmail etc…) which don’t need to be deployed. So I would like this code to be part of a second developement app. But there’s …

---

## [Polymorphic join, object.destroy issue](https://www.ruby-forum.com/t/polymorphic-join-object-destroy-issue/152223)

<div class="topic-metadata">

**Author:** [@railsdog](https://www.ruby-forum.com/u/railsdog)\
**Replies:** 1\
**Last updated:** [October 31, 2008, 3:55pm UTC](https://www.ruby-forum.com/t/polymorphic-join-object-destroy-issue/152223 "2008-10-31T15:55:13Z")

</div>

My generic routine looks like this: def update\_linked\_poly\_side(base\_side, ids, poly\_side) get back the current linked items, and the base part of the polymorphic field names, like ‘appllinkable’ linked, poly\_base = se…

---

## [Changing from Rails1.2.5 to Rails2.1 and also to latest Ruby](https://www.ruby-forum.com/t/changing-from-rails1-2-5-to-rails2-1-and-also-to-latest-ruby/152225)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 1\
**Last updated:** [October 31, 2008, 3:44pm UTC](https://www.ruby-forum.com/t/changing-from-rails1-2-5-to-rails2-1-and-also-to-latest-ruby/152225 "2008-10-31T15:44:44Z")

</div>

Hi I am using rails 1.2.5 for my application…Now the company has a plan to shift to the latest version …So could you please what ever things to be noted ?My ruby version is 1.8.6 Also can I shift to rails 2.0.1 and…

---

## [Error while installing juggernaut gem](https://www.ruby-forum.com/t/error-while-installing-juggernaut-gem/152227)

<div class="topic-metadata">

**Author:** [@sreejithms99](https://www.ruby-forum.com/u/sreejithms99)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 3:43pm UTC](https://www.ruby-forum.com/t/error-while-installing-juggernaut-gem/152227 "2008-10-31T15:43:59Z")

</div>

Hi, I have tried to install juggernaut gem using the command gem install juggernaut and got the following error D:\\Sreejith\\Ruby1\\ruby\>gem install juggernaut Building native extensions. This could take a while… ER…

---

## [Interesting Topics in Email](https://www.ruby-forum.com/t/interesting-topics-in-email/152170)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 4\
**Last updated:** [October 31, 2008, 3:00pm UTC](https://www.ruby-forum.com/t/interesting-topics-in-email/152170 "2008-10-31T15:00:08Z")

</div>

I have a dream email system that I’d like to set-up. Well, actually, I’ve already set it up, but I’ve got a few questions to ask and there’s also some limitations that I’d like to work through. I think that this topi…

---

## [Hi Everyone](https://www.ruby-forum.com/t/hi-everyone/152224)

<div class="topic-metadata">

**Author:** [@hema\_mca](https://www.ruby-forum.com/u/hema_mca)\
**Replies:** 0\
**Last updated:** [October 31, 2008, 2:06pm UTC](https://www.ruby-forum.com/t/hi-everyone/152224 "2008-10-31T14:06:05Z")

</div>

I need to generate the Excel Sheet through the Ruby On Rails.I have to create the excel sheet with the database fields as headers and the data in the sheet I installed the required gems… gem install spreadsheet-exc…

---

## [About test database](https://www.ruby-forum.com/t/about-test-database/152158)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 5\
**Last updated:** [October 31, 2008, 1:00pm UTC](https://www.ruby-forum.com/t/about-test-database/152158 "2008-10-31T13:00:22Z")

</div>

i have a conclusion to make sure,that is : when testing codes, only the fixtures data are stored in the test database table after running the test and the model saved during runing test method is not stored in the te…

---

## [Introducing testing in the middle of development, advice?](https://www.ruby-forum.com/t/introducing-testing-in-the-middle-of-development-advice/152217)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 1\
**Last updated:** [October 31, 2008, 12:57pm UTC](https://www.ruby-forum.com/t/introducing-testing-in-the-middle-of-development-advice/152217 "2008-10-31T12:57:26Z")

</div>

Hi, I want to get into testing. I really do. However I find it problematic to jump over testing when I know my rails code is not perfect. I’m not a ror expert yet so most of my energy is spent in development. I have…

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

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