# Rails

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

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

---

## [Only one of six](https://www.ruby-forum.com/t/only-one-of-six/134438)

<div class="topic-metadata">

**Author:** [@edberner](https://www.ruby-forum.com/u/edberner)\
**Replies:** 4\
**Last updated:** [April 11, 2008, 5:47am UTC](https://www.ruby-forum.com/t/only-one-of-six/134438 "2008-04-11T05:47:18Z")

</div>

Why does my database only contain entries for the first player? It successfully saves all rounds for the first player but not for 2-6. Any ideas? Game Controller def create @game = Game.new(params\[:game\]) if @game.…

---

## [Sitemap for RoR](https://www.ruby-forum.com/t/sitemap-for-ror/134232)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 2\
**Last updated:** [April 11, 2008, 5:42am UTC](https://www.ruby-forum.com/t/sitemap-for-ror/134232 "2008-04-11T05:42:09Z")

</div>

Hi all is there a plugin available by which i can generate a sitemap for my site automatically… I mean when ever a page is added it will get listed in the sitemap? If you have implemented it do let me know thanks d…

---

## [Backgroundrb issues](https://www.ruby-forum.com/t/backgroundrb-issues/134365)

<div class="topic-metadata">

**Author:** [@jfaulkenberry](https://www.ruby-forum.com/u/jfaulkenberry)\
**Replies:** 2\
**Last updated:** [April 11, 2008, 3:55am UTC](https://www.ruby-forum.com/t/backgroundrb-issues/134365 "2008-04-11T03:55:17Z")

</div>

Hi there, I’m making a site that does a lot of image processing. In order to avoid timeouts while the clients image is being processed I have used backgroundrb to process the images. However, I have a few small issue…

---

## [Repeating form](https://www.ruby-forum.com/t/repeating-form/134335)

<div class="topic-metadata">

**Author:** [@martinevans](https://www.ruby-forum.com/u/martinevans)\
**Replies:** 7\
**Last updated:** [April 11, 2008, 3:27am UTC](https://www.ruby-forum.com/t/repeating-form/134335 "2008-04-11T03:27:47Z")

</div>

I have a controller that creates a new sale def new @bakery\_output = BakeryOutput.new end GET /bakery\_outputs/1;edit def edit @bakery\_output = BakeryOutput.find(params\[:id\], :include =\> \[:recipe, :customer\]) end P…

---

## [Sort\_by DESC](https://www.ruby-forum.com/t/sort-by-desc/134195)

<div class="topic-metadata">

**Author:** [@keaja](https://www.ruby-forum.com/u/keaja)\
**Replies:** 5\
**Last updated:** [April 11, 2008, 2:21am UTC](https://www.ruby-forum.com/t/sort-by-desc/134195 "2008-04-11T02:21:11Z")

</div>

I have something like this in my controller. Is it possible to have it sort\_by DESC instead of the default which i presume is ASC? @type\_1 = Type1.find(:all, :conditions =\> {:user\_id =\> @user\_id}) @type\_2 = Type2.find…

---

## [Gem error on Vista](https://www.ruby-forum.com/t/gem-error-on-vista/134363)

<div class="topic-metadata">

**Author:** [@Davo](https://www.ruby-forum.com/u/Davo)\
**Replies:** 7\
**Last updated:** [April 11, 2008, 1:58am UTC](https://www.ruby-forum.com/t/gem-error-on-vista/134363 "2008-04-11T01:58:21Z")

</div>

Hi All, I have to install a RoR development system on a new Vista notebook. When I get to ‘gem install anything’ I get the following error. c:\\ruby\>gem install mysql ERROR: While executing gem … (Gem::RemoteFetcher…

---

## [How to: use one form for updating an entry which the user specifies by.e.g., click on it](https://www.ruby-forum.com/t/how-to-use-one-form-for-updating-an-entry-which-the-user-specifies-by-e-g-click-on-it/134457)

<div class="topic-metadata">

**Author:** [@nik](https://www.ruby-forum.com/u/nik)\
**Replies:** 1\
**Last updated:** [April 11, 2008, 1:56am UTC](https://www.ruby-forum.com/t/how-to-use-one-form-for-updating-an-entry-which-the-user-specifies-by-e-g-click-on-it/134457 "2008-04-11T01:56:35Z")

</div>

Hello, thank you for paying attention to my post! So basically, I have a list of entries: \<% for x in Chore.find(:all) %\> \<%= x.title %\> \<% end %\> \<%= form\_tag :url =\> {:controller =\> ‘chore’, :action =\> ‘update’} do …

---

## [Bank integration? - any plugins available to assist in this?](https://www.ruby-forum.com/t/bank-integration-any-plugins-available-to-assist-in-this/134279)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 1\
**Last updated:** [April 11, 2008, 1:50am UTC](https://www.ruby-forum.com/t/bank-integration-any-plugins-available-to-assist-in-this/134279 "2008-04-11T01:50:10Z")

</div>

Hi, Are there any plugins/code examples for integrating from Ruby on Rails to one’s bank? In particular for a daily automated check of latest transactions (i.e. read only). Thanks

---

## [Dynamic SQL Queries](https://www.ruby-forum.com/t/dynamic-sql-queries/134229)

<div class="topic-metadata">

**Author:** [@fabiokr](https://www.ruby-forum.com/u/fabiokr)\
**Replies:** 5\
**Last updated:** [April 11, 2008, 1:19am UTC](https://www.ruby-forum.com/t/dynamic-sql-queries/134229 "2008-04-11T01:19:53Z")

</div>

Hi there, I’m starting to learn Rails, and I have a question about SQL usage. I have some fields on my view that will be used as a search form. So, I have the search parameters, but what’s the best way to use them on…

---

## [Seeding data for Rails migrations - suggestions](https://www.ruby-forum.com/t/seeding-data-for-rails-migrations-suggestions/134455)

<div class="topic-metadata">

**Author:** [@JamesKay](https://www.ruby-forum.com/u/JamesKay)\
**Replies:** 0\
**Last updated:** [April 11, 2008, 12:45am UTC](https://www.ruby-forum.com/t/seeding-data-for-rails-migrations-suggestions/134455 "2008-04-11T00:45:15Z")

</div>

In case it is of use generally, see

---

## [Polymorphic question w/r/t acts\_as\_taggable plugin use](https://www.ruby-forum.com/t/polymorphic-question-w-r-t-acts-as-taggable-plugin-use/134452)

<div class="topic-metadata">

**Author:** [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Replies:** 0\
**Last updated:** [April 10, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/polymorphic-question-w-r-t-acts-as-taggable-plugin-use/134452 "2008-04-10T23:54:23Z")

</div>

I’ve been using the acts\_as\_taggable\_on\_steroids plugin successfully for awhile with models descended directly from ActiveRecord, but just ran into something strange in a new use case where I have models that are subc…

---

## [First step for a legacy db](https://www.ruby-forum.com/t/first-step-for-a-legacy-db/134261)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 10, 2008, 11:33pm UTC](https://www.ruby-forum.com/t/first-step-for-a-legacy-db/134261 "2008-04-10T23:33:53Z")

</div>

what’s the first step for the migration of a legacy db such as: mysql\> mysql\> SHOW TABLES; ±------------------------+ | Tables\_in\_feed\_on\_feeds | ±------------------------+ | fof\_feed | | fof\_item …

---

## [Pass content of Array to helper](https://www.ruby-forum.com/t/pass-content-of-array-to-helper/134200)

<div class="topic-metadata">

**Author:** [@lasastard](https://www.ruby-forum.com/u/lasastard)\
**Replies:** 3\
**Last updated:** [April 10, 2008, 11:27pm UTC](https://www.ruby-forum.com/t/pass-content-of-array-to-helper/134200 "2008-04-10T23:27:47Z")

</div>

Hi, Ive been trying to to do the following and cant figure out how… On my page some output is generated within a helper - an array. The content of the array is listed on the page, but I want to be able to click on a …

---

## [Simple RoR problem with file\_column / rmagick](https://www.ruby-forum.com/t/simple-ror-problem-with-file-column-rmagick/126623)

<div class="topic-metadata">

**Author:** [@Aaaarg](https://www.ruby-forum.com/u/Aaaarg)\
**Replies:** 8\
**Last updated:** [April 10, 2008, 11:23pm UTC](https://www.ruby-forum.com/t/simple-ror-problem-with-file-column-rmagick/126623 "2008-04-10T23:23:48Z")

</div>

At least I suspect it’s a simple problem. I’m quite new. I have written a class to store images, and generate thumbnails for them. This works well. However I’ve been having a lot of trouble getting it to keep track of …

---

## [Issues with restful\_authentication](https://www.ruby-forum.com/t/issues-with-restful-authentication/134239)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 10, 2008, 11:12pm UTC](https://www.ruby-forum.com/t/issues-with-restful-authentication/134239 "2008-04-10T23:12:02Z")

</div>

Hiya all, Newbie to RoR but not MVC, I’ve worked extensively with Catalyst in perl, so this RoR stuff is pretty neat to me. Anyway, I’m have a heck of a time working with restful\_authentication (http://agilewebdevelo…

---

## [Were to put a method](https://www.ruby-forum.com/t/were-to-put-a-method/133838)

<div class="topic-metadata">

**Author:** [@h4lfl1ng](https://www.ruby-forum.com/u/h4lfl1ng)\
**Replies:** 4\
**Last updated:** [April 10, 2008, 10:53pm UTC](https://www.ruby-forum.com/t/were-to-put-a-method/133838 "2008-04-10T22:53:16Z")

</div>

i have this in my view, Parked at Loopia but it doesnt seem to work. im not sure what im doing wrong… it think i have the wrong syntax. i get “no block given” error on line 5 And what would be the better way to do …

---

## [Remote install of 1.2.6](https://www.ruby-forum.com/t/remote-install-of-1-2-6/134355)

<div class="topic-metadata">

**Author:** [@harry-weeds](https://www.ruby-forum.com/u/harry-weeds)\
**Replies:** 5\
**Last updated:** [April 10, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/remote-install-of-1-2-6/134355 "2008-04-10T22:11:27Z")

</div>

Hello, Any help would be much appreciated as I am a total newbie. I know this topic has come up before, but I am still struggling with it. I am trying to do a remote install of 1.2.6 because I bought a couple of boo…

---

## [Mysql connection goe away](https://www.ruby-forum.com/t/mysql-connection-goe-away/134432)

<div class="topic-metadata">

**Author:** [@slonghurst](https://www.ruby-forum.com/u/slonghurst)\
**Replies:** 4\
**Last updated:** [April 10, 2008, 9:52pm UTC](https://www.ruby-forum.com/t/mysql-connection-goe-away/134432 "2008-04-10T21:52:15Z")

</div>

We are currntly running mongrel v 1.1.4 mongrel\_cluster 1.0.5 mysql gem 2.7.5 (built from source) rails 2.0.2 ruby 1.8.6 mysql version 4.1 this is run on a remote server. We are consistently getting “ActiveRecord…

---

## [Problem with text\_field\_with\_auto\_complete Pt 2](https://www.ruby-forum.com/t/problem-with-text-field-with-auto-complete-pt-2/196639)

<div class="topic-metadata">

**Author:** [@pimeamark](https://www.ruby-forum.com/u/pimeamark)\
**Replies:** 5\
**Last updated:** [April 10, 2008, 9:47pm UTC](https://www.ruby-forum.com/t/problem-with-text-field-with-auto-complete-pt-2/196639 "2008-04-10T21:47:38Z")

</div>

Ok so I got the text field to populate a list of what I needed but I have a problem. When I select an item in Firefox, there’s 4 spaces that appear before it in the text field. In safari, nothing appears in the field …

---

## [Indexing table](https://www.ruby-forum.com/t/indexing-table/134440)

<div class="topic-metadata">

**Author:** [@rashantha](https://www.ruby-forum.com/u/rashantha)\
**Replies:** 3\
**Last updated:** [April 10, 2008, 9:29pm UTC](https://www.ruby-forum.com/t/indexing-table/134440 "2008-04-10T21:29:07Z")

</div>

i have a table of users table of organizations i am sorting users by last name and outputting the organization they belong to. there are only 1,000 records in users but it takes about 25 seconds to sort by last name…

---

## [Update view after insert](https://www.ruby-forum.com/t/update-view-after-insert/134294)

<div class="topic-metadata">

**Author:** [@jessruby](https://www.ruby-forum.com/u/jessruby)\
**Replies:** 5\
**Last updated:** [April 10, 2008, 9:14pm UTC](https://www.ruby-forum.com/t/update-view-after-insert/134294 "2008-04-10T21:14:10Z")

</div>

Hi i’m trying to update a select box with a newly created record, the problem is that to create this record i open a popup window. How can I update the select box with the record information created in the popup windo…

---

## [How to transfer object in pages?](https://www.ruby-forum.com/t/how-to-transfer-object-in-pages/134431)

<div class="topic-metadata">

**Author:** [@beexk](https://www.ruby-forum.com/u/beexk)\
**Replies:** 2\
**Last updated:** [April 10, 2008, 9:11pm UTC](https://www.ruby-forum.com/t/how-to-transfer-object-in-pages/134431 "2008-04-10T21:11:30Z")

</div>

Hi all: Could you tell me how to transfer an object from one page to another? because the object should be used in both of these two pages. for now, I just know transferring parameter via :id and select object again i…

---

## [Trouble installing ruby-debug](https://www.ruby-forum.com/t/trouble-installing-ruby-debug/134403)

<div class="topic-metadata">

**Author:** [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Replies:** 7\
**Last updated:** [April 10, 2008, 9:09pm UTC](https://www.ruby-forum.com/t/trouble-installing-ruby-debug/134403 "2008-04-10T21:09:09Z")

</div>

I have installed ruby-debug several times without any problems, but am running into one when rebuilding my system. I am typing in the following command to install it as root: gem install ruby-debug -y I keep getting …

---

## [Submitting an ajax form via javascript not rendering](https://www.ruby-forum.com/t/submitting-an-ajax-form-via-javascript-not-rendering/134348)

<div class="topic-metadata">

**Author:** [@syg6](https://www.ruby-forum.com/u/syg6)\
**Replies:** 13\
**Last updated:** [April 10, 2008, 7:49pm UTC](https://www.ruby-forum.com/t/submitting-an-ajax-form-via-javascript-not-rendering/134348 "2008-04-10T19:49:12Z")

</div>

for some reason the controller is parsing everything fine, but the return is a page instead of code execution. I have other ajax forms no listed that are also running fine on this same page. there are supposed to be …

---

## [ActiveScaffold - Search route doesn't work with REST](https://www.ruby-forum.com/t/activescaffold-search-route-doesnt-work-with-rest/126977)

<div class="topic-metadata">

**Author:** [@Sazima](https://www.ruby-forum.com/u/Sazima)\
**Replies:** 2\
**Last updated:** [April 10, 2008, 7:23pm UTC](https://www.ruby-forum.com/t/activescaffold-search-route-doesnt-work-with-rest/126977 "2008-04-10T19:23:23Z")

</div>

Another one with ActiveScaffold. Am I doing something wrong? Is my workaround correct? Cheers, Sazima What steps will reproduce the problem? Create RESTful application (script/generate scaffold user) Install/use Ac…

---

## [The sum of all fears](https://www.ruby-forum.com/t/the-sum-of-all-fears/134429)

<div class="topic-metadata">

**Author:** [@adrianod](https://www.ruby-forum.com/u/adrianod)\
**Replies:** 1\
**Last updated:** [April 10, 2008, 7:01pm UTC](https://www.ruby-forum.com/t/the-sum-of-all-fears/134429 "2008-04-10T19:01:48Z")

</div>

Hi I have several fields and I would like to know if there is someway to get the values of already typed text\_fields and get it’s sum, doing an observer field for each text\_field is gonna be kinda complicated. If ther…

---

## [Axioms](https://www.ruby-forum.com/t/axioms/134430)

<div class="topic-metadata">

**Author:** [@flyupload](https://www.ruby-forum.com/u/flyupload)\
**Replies:** 1\
**Last updated:** [April 10, 2008, 6:52pm UTC](https://www.ruby-forum.com/t/axioms/134430 "2008-04-10T18:52:21Z")

</div>

Has any tried the axiom’s upload control? If you check out this implementation I found on the internet, it only supports \< 5MB files. http://www.2muchmuzik.com/upload Any ideas on how would improve this to support \> …

---

## [Convert Flash to Image](https://www.ruby-forum.com/t/convert-flash-to-image/133814)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 2\
**Last updated:** [April 10, 2008, 6:35pm UTC](https://www.ruby-forum.com/t/convert-flash-to-image/133814 "2008-04-10T18:35:54Z")

</div>

I am currently in the process of converting a report rendered in HTML to PDF using the PDF::Writer tool. In the report is a Flash object called FushionChart which is a dynamic chart that is rendered client side by the…

---

## [Extjs Alternatives?](https://www.ruby-forum.com/t/extjs-alternatives/134408)

<div class="topic-metadata">

**Author:** [@boza](https://www.ruby-forum.com/u/boza)\
**Replies:** 5\
**Last updated:** [April 10, 2008, 6:34pm UTC](https://www.ruby-forum.com/t/extjs-alternatives/134408 "2008-04-10T18:34:37Z")

</div>

Are there any similar libraries for rails like ext js? Because there is little documentation on using ext js on rails I really don’t want to use it, instead I want to use something more compatible with rails.

---

## [Advice on testing](https://www.ruby-forum.com/t/advice-on-testing/134410)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 2\
**Last updated:** [April 10, 2008, 6:00pm UTC](https://www.ruby-forum.com/t/advice-on-testing/134410 "2008-04-10T18:00:08Z")

</div>

I’ve been programming for a long time, but never really done any serious application testing. There’s a mass of information on the web about testing: TDD vs. BDD, fixtures vs. factories/mocking etc. From my research I…

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

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