# Rails

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

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

---

## [Newbie question - HelloWorld](https://www.ruby-forum.com/t/newbie-question-helloworld/106548)

<div class="topic-metadata">

**Author:** [@DBC\_User](https://www.ruby-forum.com/u/DBC_User)\
**Replies:** 5\
**Last updated:** [June 11, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/newbie-question-helloworld/106548 "2007-06-11T21:46:30Z")

</div>

When I created a rails project as ‘HelloWorld’ and a controller as ‘HelloWorld’, ruby created control called hello\_world instead of HelloWorld. Why is that? Why is it not using the name I am providing to create? Than…

---

## [Understanding path\_prefix in restful routes](https://www.ruby-forum.com/t/understanding-path-prefix-in-restful-routes/106437)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 9:31pm UTC](https://www.ruby-forum.com/t/understanding-path-prefix-in-restful-routes/106437 "2007-06-11T21:31:24Z")

</div>

Hi all, I have a hard time understanding path\_prefix in restful routes. My urls should always start with the id of a club since my site is club oriented eg: www.clubsite.com/zero/ where zero is the club I have map.r…

---

## [Can't install rubygems - SuSE 9.3 x86\_64](https://www.ruby-forum.com/t/cant-install-rubygems-suse-9-3-x86-64/106343)

<div class="topic-metadata">

**Author:** [@Davi](https://www.ruby-forum.com/u/Davi)\
**Replies:** 13\
**Last updated:** [June 11, 2007, 9:09pm UTC](https://www.ruby-forum.com/t/cant-install-rubygems-suse-9-3-x86-64/106343 "2007-06-11T21:09:21Z")

</div>

Hi all. I can’t install rubygems. I’ve installed Ruby from Yast and downloaded rubygems from rubyforge.org/projects/rubygems. What should I do? Here the log: ruby setup.rb —\> bin \<— bin —\> lib —\> lib/rbconfig \<…

---

## [Help with Test](https://www.ruby-forum.com/t/help-with-test/106529)

<div class="topic-metadata">

**Author:** [@DBC\_User](https://www.ruby-forum.com/u/DBC_User)\
**Replies:** 6\
**Last updated:** [June 11, 2007, 8:57pm UTC](https://www.ruby-forum.com/t/help-with-test/106529 "2007-06-11T20:57:14Z")

</div>

Hi, I created a rails project named ‘Hi’. I didn’t do anything in it except Rails Hi Ruby script/generate controller hi thats it. Now I went to Test\\funcational folder and run the Hi\_controller\_test.rb and I am ge…

---

## [Resources for learning to write RESTful-CRUDy applications?](https://www.ruby-forum.com/t/resources-for-learning-to-write-restful-crudy-applications/105073)

<div class="topic-metadata">

**Author:** [@maurice-gladwell](https://www.ruby-forum.com/u/maurice-gladwell)\
**Replies:** 3\
**Last updated:** [June 11, 2007, 8:47pm UTC](https://www.ruby-forum.com/t/resources-for-learning-to-write-restful-crudy-applications/105073 "2007-06-11T20:47:33Z")

</div>

I’m looking for resources that would teach me to write Rails applications, RESTful-CRUDy style. I much prefer good exemplary programs to learn from, but could use a good, concise book as well :slight\_smile: Thanks in…

---

## [Help with paginating partials strategy](https://www.ruby-forum.com/t/help-with-paginating-partials-strategy/106372)

<div class="topic-metadata">

**Author:** [@charlie\_caroff](https://www.ruby-forum.com/u/charlie_caroff)\
**Replies:** 4\
**Last updated:** [June 11, 2007, 8:22pm UTC](https://www.ruby-forum.com/t/help-with-paginating-partials-strategy/106372 "2007-06-11T20:22:07Z")

</div>

Hi, I have a bunch of partials on a page, and I put a simple paginator in for each. When I click on page 2 of any pagination link for any partial, instead of just rerendering the partial, page 2 for all partials is r…

---

## [How best to grab multiple xml feeds in parallel](https://www.ruby-forum.com/t/how-best-to-grab-multiple-xml-feeds-in-parallel/106542)

<div class="topic-metadata">

**Author:** [@charlie\_caroff](https://www.ruby-forum.com/u/charlie_caroff)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 8:16pm UTC](https://www.ruby-forum.com/t/how-best-to-grab-multiple-xml-feeds-in-parallel/106542 "2007-06-11T20:16:06Z")

</div>

Hi, I’m trying to figure out the best way to grab a bunch of xml feeds in parallel, and put them together, and display them. Rather than grabbing them one at a time, putting them in the database, and displaying them…

---

## [Media Temple dv Deployment headache! help please!](https://www.ruby-forum.com/t/media-temple-dv-deployment-headache-help-please/106450)

<div class="topic-metadata">

**Author:** [@magic6435](https://www.ruby-forum.com/u/magic6435)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/media-temple-dv-deployment-headache-help-please/106450 "2007-06-11T19:40:59Z")

</div>

Bah humbug I’m trying to deploy my very first rails app and man if i said i didn’t understand a damn thing it would be a understatement. I found development to be a breeze but now I’m totally stuck. I have a Media tem…

---

## [JRuby and tests](https://www.ruby-forum.com/t/jruby-and-tests/106314)

<div class="topic-metadata">

**Author:** [@stevel](https://www.ruby-forum.com/u/stevel)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/jruby-and-tests/106314 "2007-06-11T19:28:57Z")

</div>

Using JRuby / ActiveRecord-JDBC / PostgreSQL 8.1 I get jruby --command rake test (in /Users/stevel/Publisher) rake aborted! Task not supported by ‘jdbc’ Is it really the case that testing is not yet supported by Ac…

---

## [Ajax and Rails](https://www.ruby-forum.com/t/ajax-and-rails/106536)

<div class="topic-metadata">

**Author:** [@turnkeytraders](https://www.ruby-forum.com/u/turnkeytraders)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 7:18pm UTC](https://www.ruby-forum.com/t/ajax-and-rails/106536 "2007-06-11T19:18:59Z")

</div>

Hello, I am working on a form to insert multiple items in different tables here is the code I have: class ClientController \< ApplicationController scaffold :client def index if params\[:letter\] cond = params\[:letter…

---

## [Ryan Bates of Railscasts.com latest guest on Coderpath](https://www.ruby-forum.com/t/ryan-bates-of-railscasts-com-latest-guest-on-coderpath/106532)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 7:01pm UTC](https://www.ruby-forum.com/t/ryan-bates-of-railscasts-com-latest-guest-on-coderpath/106532 "2007-06-11T19:01:53Z")

</div>

Just a quick note to mention that Ryan B. of Railscasts.com was my guest on the latest Coderpath Rails Screencast. http://coderpath.com/episodes/3 This series is aimed primarily at newbies because, well, I’m a newbie…

---

## [Stop previous AJAX requests?](https://www.ruby-forum.com/t/stop-previous-ajax-requests/106531)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 6:47pm UTC](https://www.ruby-forum.com/t/stop-previous-ajax-requests/106531 "2007-06-11T18:47:32Z")

</div>

I have a quick search field, where as you type it runs a search. All that I care about is the last search being run. Is it possible to kill previous AJAX requests so it can jump ahead to the last one? Thanks for your …

---

## [Need to find a bottleneck when traffic is kinda high](https://www.ruby-forum.com/t/need-to-find-a-bottleneck-when-traffic-is-kinda-high/153906)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 6:30pm UTC](https://www.ruby-forum.com/t/need-to-find-a-bottleneck-when-traffic-is-kinda-high/153906 "2007-06-11T18:30:50Z")

</div>

Hello there all, i have one page that uses periodically\_call\_remote to update about 65 divs on this page every 5 minutes or so. The page also uses a rather large background map. the server we are using has 4 cpu at 2…

---

## [Extending the Rails Recipies sortable list example to includ](https://www.ruby-forum.com/t/extending-the-rails-recipies-sortable-list-example-to-includ/106507)

<div class="topic-metadata">

**Author:** [@etikette](https://www.ruby-forum.com/u/etikette)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 6:30pm UTC](https://www.ruby-forum.com/t/extending-the-rails-recipies-sortable-list-example-to-includ/106507 "2007-06-11T18:30:50Z")

</div>

Hi all I have a site design with 3 sortable lists on the same page. i want to be able to drag my s between s if that makes sense. how can i change the example code to do this: controller: class GroceryListController…

---

## [Help with Libxml-ruby](https://www.ruby-forum.com/t/help-with-libxml-ruby/105431)

<div class="topic-metadata">

**Author:** [@Vivian\_Aranha](https://www.ruby-forum.com/u/Vivian_Aranha)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 6:13pm UTC](https://www.ruby-forum.com/t/help-with-libxml-ruby/105431 "2007-06-11T18:13:48Z")

</div>

Does anyone know how to install libxml-ruby Thanks, Vivian Aranha

---

## [Acessing new field values in validate\_on\_update](https://www.ruby-forum.com/t/acessing-new-field-values-in-validate-on-update/106355)

<div class="topic-metadata">

**Author:** [@jon](https://www.ruby-forum.com/u/jon)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 5:56pm UTC](https://www.ruby-forum.com/t/acessing-new-field-values-in-validate-on-update/106355 "2007-06-11T17:56:59Z")

</div>

Hello, How to access to old field values in validate\_on\_update method? I need to see if there is changed field’s value and if it is so, rise an error. Thank you!

---

## [Ordering find() queries by non-database properties](https://www.ruby-forum.com/t/ordering-find-queries-by-non-database-properties/106475)

<div class="topic-metadata">

**Author:** [@Tim\_Cowlishaw](https://www.ruby-forum.com/u/Tim_Cowlishaw)\
**Replies:** 5\
**Last updated:** [June 11, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/ordering-find-queries-by-non-database-properties/106475 "2007-06-11T17:54:44Z")

</div>

Hi all, I’m having a little problem with find() methods in a project I’m working on. Basically I’m working on a time management system that assigns each task a priority (an integer from 1 to 10) based on various fact…

---

## [Expect an array in webservice gives "Not supported" message](https://www.ruby-forum.com/t/expect-an-array-in-webservice-gives-not-supported-message/106490)

<div class="topic-metadata">

**Author:** [@jazzybuddy](https://www.ruby-forum.com/u/jazzybuddy)\
**Replies:** 2\
**Last updated:** [June 11, 2007, 5:37pm UTC](https://www.ruby-forum.com/t/expect-an-array-in-webservice-gives-not-supported-message/106490 "2007-06-11T17:37:35Z")

</div>

I am trying to expect an array of strings in the webservice api. It says “Typed array input fields not supported yet”. Can anybody suggest me how I can expect an array in action\_webservices. The code is as given below…

---

## [Postgres problem](https://www.ruby-forum.com/t/postgres-problem/106519)

<div class="topic-metadata">

**Author:** [@jonas](https://www.ruby-forum.com/u/jonas)\
**Replies:** 3\
**Last updated:** [June 11, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/postgres-problem/106519 "2007-06-11T17:20:23Z")

</div>

I get the following error: PGError: ERROR: syntax error at or near “default” RAD 1: SELECT \* FROM ivr\_menus ORDER BY default LIMIT 20 OFFSET 0 ^ : SELECT \* FROM ivr\_menus ORDER BY default LIMIT 20 OFFSET 0 Why? …

---

## [Rails caching code in controller?](https://www.ruby-forum.com/t/rails-caching-code-in-controller/106525)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 5:17pm UTC](https://www.ruby-forum.com/t/rails-caching-code-in-controller/106525 "2007-06-11T17:17:36Z")

</div>

I’m pretty new to both Ruby and Rails, but I’ve got the basics. I just inherited a project with a Postgres DB, Lighttpd running as web server with 3 Mongrel processes. For some reason, when I update the code in the co…

---

## [\[ANN\] WhooTube: open source Flash video streaming on Rails](https://www.ruby-forum.com/t/ann-whootube-open-source-flash-video-streaming-on-rails/106524)

<div class="topic-metadata">

**Author:** [@Roderick\_van\_Dombur](https://www.ruby-forum.com/u/Roderick_van_Dombur)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 4:58pm UTC](https://www.ruby-forum.com/t/ann-whootube-open-source-flash-video-streaming-on-rails/106524 "2007-06-11T16:58:32Z")

</div>

After the hugely successful RubyEnRails 2007 conference, Nedforce is excited to open source a proof-of-concept of its Flash video streaming solution using Ruby technology. Dubbed ‘WhooTube’, it serves as a great jumpi…

---

## [Wrapping indiv renders when rendering collection](https://www.ruby-forum.com/t/wrapping-indiv-renders-when-rendering-collection/106358)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 4:49pm UTC](https://www.ruby-forum.com/t/wrapping-indiv-renders-when-rendering-collection/106358 "2007-06-11T16:49:30Z")

</div>

I’m new to Rails - still trying to figure out the cleanest place to put things. I wrote my own in-place-editor that gives me a bit more support for things like lists. Works fine, but it requires that every item in th…

---

## [Datatypes (Mysql) in Rails Migrations](https://www.ruby-forum.com/t/datatypes-mysql-in-rails-migrations/106478)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 2\
**Last updated:** [June 11, 2007, 4:07pm UTC](https://www.ruby-forum.com/t/datatypes-mysql-in-rails-migrations/106478 "2007-06-11T16:07:11Z")

</div>

Hi I’m using integer for most of my numeric data, and this is fine, but the system I am building will convert my data structures OLTP to OLAP for reporting. This will require TONS of data to be saved. In an effort to …

---

## [TextMate theme in screencasts](https://www.ruby-forum.com/t/textmate-theme-in-screencasts/106516)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 3:46pm UTC](https://www.ruby-forum.com/t/textmate-theme-in-screencasts/106516 "2007-06-11T15:46:11Z")

</div>

Which exact theme is used in the screencasts (http:// Ruby on Rails — A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.)…

---

## [Multi level has\_many through](https://www.ruby-forum.com/t/multi-level-has-many-through/103285)

<div class="topic-metadata">

**Author:** [@jney](https://www.ruby-forum.com/u/jney)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 2:39pm UTC](https://www.ruby-forum.com/t/multi-level-has-many-through/103285 "2007-06-11T14:39:55Z")

</div>

hello, how can i use has\_many through for class further then 2 levels i have 4 classes : Product StoreEntry Store StoreShippingCountry and i try to access StoreShippingCountry from Product what i do : class Prod…

---

## [How can i write the code after send\_file command](https://www.ruby-forum.com/t/how-can-i-write-the-code-after-send-file-command/106510)

<div class="topic-metadata">

**Author:** [@mitesh](https://www.ruby-forum.com/u/mitesh)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 2:22pm UTC](https://www.ruby-forum.com/t/how-can-i-write-the-code-after-send-file-command/106510 "2007-06-11T14:22:27Z")

</div>

Hi all, How can i know whether the user has selected save,cancel,open button in the popup when send\_file file\_name is used. Example: send\_file file\_name How can i write the code after the send\_file command. Than…

---

## [Scaffold based CMS](https://www.ruby-forum.com/t/scaffold-based-cms/106513)

<div class="topic-metadata">

**Author:** [@prtscr](https://www.ruby-forum.com/u/prtscr)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 2:11pm UTC](https://www.ruby-forum.com/t/scaffold-based-cms/106513 "2007-06-11T14:11:52Z")

</div>

I’m building a very simple site for an architect. The main features are a listing of projects and a link list of partners. The way I build it is with one controller for the frontend and one for the backend. So far it’…

---

## [ActionMailer + ISP SMTP](https://www.ruby-forum.com/t/actionmailer-isp-smtp/106511)

<div class="topic-metadata">

**Author:** [@gonen](https://www.ruby-forum.com/u/gonen)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 2:03pm UTC](https://www.ruby-forum.com/t/actionmailer-isp-smtp/106511 "2007-06-11T14:03:50Z")

</div>

Hi I’m new here, and pretty much new on the rails. I’m trying to set up my application to send emails (needed for salted hash login) but i keep getting errors. i’m sure port 25 is not blocked since i’m able to send…

---

## [Multiple instances adding to the same attribute](https://www.ruby-forum.com/t/multiple-instances-adding-to-the-same-attribute/106459)

<div class="topic-metadata">

**Author:** [@mcampbell](https://www.ruby-forum.com/u/mcampbell)\
**Replies:** 8\
**Last updated:** [June 11, 2007, 1:52pm UTC](https://www.ruby-forum.com/t/multiple-instances-adding-to-the-same-attribute/106459 "2007-06-11T13:52:20Z")

</div>

Is there a possibility, when for example, counting a certain request, that a highly coincidental retrieval of information by two clients will override eachother’s contributions? Suppose you have: counter +=1 counter.…

---

## [Using '?' in routes](https://www.ruby-forum.com/t/using-in-routes/106509)

<div class="topic-metadata">

**Author:** [@Glenn\_Gore](https://www.ruby-forum.com/u/Glenn_Gore)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 1:32pm UTC](https://www.ruby-forum.com/t/using-in-routes/106509 "2007-06-11T13:32:36Z")

</div>

Hello, I am trying to get routes to work with the following: map.connect ‘:controller/:action?:x,:y’ The above route does not work as it seems to get caught up on the ‘?’. If I change the ‘?’ to any other separator c…

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

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